• Resolved alederodesign

    (@alederodesign)


    Hello,
    when i see the image in browser large 300px and i want to set the image large 100% it show it blurry, because i see that it take the image from 150px.
    How to avoid this?

    Thanks a lot
    Alessandra

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @alederodesign,
    You can update the repeater template to pull another image size from your theme.

    <?php the_post_thumbnail('your-image-size'); ?>

    Make sense?

    Thread Starter alederodesign

    (@alederodesign)

    Yes it would have sense if i can add this code only form media query max-width(479px)
    In this way:

    @media screen and (max-width:479px){
    <?php the_post_thumbnail(‘300,300’); ?>
    }

    Is this possible?
    Thanks a lot

    Plugin Author Darren Cooney

    (@dcooney)

    No, thats not possible.
    WordPress adds it own responsive image code when you use the_post_thumbnail() I think you should let WP handle this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with image in responsive web design’ is closed to new replies.