Strange Image re-sizing issue.
-
I am trying to re-size my client thumbnail images because when I re-sized a few of them on other a different page they became bury.
so,
I first changed the:
$display .= ‘<div class=”photo”>’.get_the_post_thumbnail($testimonial->ID, array(100, 100)).'</div>’;
to
(160,160)
and it changed the size, but the hard crop no longer works after that so i changed it to (auto, auto)
the crop looks great and the images are clear…. EXCEPT FOR ONE STUPID IMAGE.
when I inspect the element I realize that it is 25px because of the hard code
<img class=”attachment-autoxauto wp-post-image “width=”25″ height=”25”
src=”…img-e1376493327983-25×25.jpgand all the other images are
<img class=”attachment-autoxauto wp-post-image “width=”150″ height=”150”
src=”IMG_8803-150×150.jpgHow can I eliminate this hard code?
Please and thank you’s all around
- The topic ‘Strange Image re-sizing issue.’ is closed to new replies.