Image size not always correct
-
Here is my code:
<?php if (z_taxonomy_image_url($category->cat_ID)) : //if there is subsection image ?> <figure class="entry-thumbnail alignleft"> <a href="<?php echo z_taxonomy_image_url($category->cat_ID, 'full'); ?>" class="fancybox"> <?php echo '<img src="' . z_taxonomy_image_url($category->cat_ID, 'thumbnail') . '" />'; ?> </a> </figure> <?php endif; //figure ?>
The problem is that recently some thumbs have begun appear in full size. I.e. most of the thumbs appear in right thumbnail-size, but few of them surprisingly appear in full size, although I checked that their sized version exist in the upload directory.
I would really appreciate any hint in that problem. Thanks in advance.
- The topic ‘Image size not always correct’ is closed to new replies.