Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter arzurchris

    (@arzurchris)

    Hi again Anton,

    Also, on the same page, I have a w=150 calculated for an image that have both width and height specified at 50. I thought about the Retina requirement but it would be only double not triple the size right?

    <img class="rounded" src="https://cdn.planetarium-phuket.com/cdn-cgi/imagedelivery/-SA7y4jT0nEat160RjR3XA/planetarium-phuket.com/2016/02/agent-2.jpg/w=150" width="50" height="50" alt="Victoria">

    Victoria

    Kind regards,

    Chris

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi Chris,

    The auto resize populates the image srcset attributes with all possible image sizes to work on all screen sizes (essentially, this should pass all the Google PageSpeed Insights audits). Initially I tried to have it auto adjust the images, but that wasn’t working well and caused double loading.

    Regarding the 150px width. I can add an option to use the smallest of the two sizes (the dimensions from the image filename vs the width on the img element). Will that help?

    Best regards,
    Anton

    Plugin Author Anton Vanyukov

    (@vanyukov)

    Hi @arzurchris,

    I have added a “Use img width size” option that fixes this problem. I’ll mark this as resolved. But please feel free to re-open or create a new thread if you have any other question.

    Best regards,
    Anton

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Maximum size requested with background-image’ is closed to new replies.