[Resolved] 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.
I first changed the:
$display .= ‘<div class=”photo”>’.get_the_post_thumbnail($testimonial->ID, array(100, 100)).'</div>’;
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”
and all the other images are
<img class=”attachment-autoxauto wp-post-image “width=”150″ height=”150”
How can I eliminate this hard code?
Please and thank you’s all around
- The topic ‘[Resolved] Strange Image re-sizing issue.’ is closed to new replies.