I'm using the ciii_category_archive_image(); variable, but I want this to output the full version of the image, and not the thumbnail. Is this possible? If yes, how?
I'm using the ciii_category_archive_image(); variable, but I want this to output the full version of the image, and not the thumbnail. Is this possible? If yes, how?
In term-images.php I find this code:
'<img src="<?php
echo $term[ 'image' ]; ?>" alt="<?php echo $term[ 'name' ]; ?>" />'
This cases the image src to be empty, but if I change from image to thumbnail, the thumbnail file is showing.
I noticed this text from Other Notes:
You can pass the show_description parameter to not show the term or category description, and the size parameter to specify either 'original' or 'thumbnail'.
I then tried to change from image to original, but that didn't help either.
Here's some code I'm using to show the original size image:
<?php
if ( function_exists( 'ciii_term_images' ) ) :
ciii_term_images( 'outlet', 'size=original&link_images=0&show_description=0' );
endif;
?>The code above is for a taxonomy called 'outlets'. The main thing to look at is the size=original bit in the parameters.
Hi Simon. Thank you for the feedback. I couldn't wait for your response, so I chose another plugin (Taxonomy Images) which seems to be working fine. I guess this topic is now resolved. Keep up the good work!
Hello,
I've been looking for a solution to this issue without luck.
I'm using the ciii_category_archive_image() but had the same issue as the OP. CHanged to 'thumbnail' on term-images.php and I got the thumbnail.
I want to show the original image instead of the generated thumbnail. I saw a solution you posted but don't know where should I fixed the code and how.
I hope you could help me,
Thanks
You must log in to post.