WordPress.org

Ready to get started?Download WordPress

Forums

Testimonials by Aihrus
[resolved] Strange Image re-sizing issue. (5 posts)

  1. anmaree.annarbortees
    Member
    Posted 1 year ago #

    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-25x25.jpg

    and all the other images are

    <img class="attachment-autoxauto wp-post-image "width="150" height="150"
    src="IMG_8803-150x150.jpg

    How can I eliminate this hard code?

    Please and thank you's all around

    http://wordpress.org/plugins/testimonials-widget/

  2. anmaree.annarbortees
    Member
    Posted 1 year ago #

  3. anmaree.annarbortees
    Member
    Posted 1 year ago #

    OK I have no idea what I did. But i fixed it!

  4. Michael Cannon
    Member
    Plugin Author

    Posted 1 year ago #

    You should note that I don't think you're using my plugin. No where in my code is there a class called photo.

  5. anmaree.annarbortees
    Member
    Posted 1 year ago #

    oh whoops... I was talking about gc testimonial plugin. my bad

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.