WordPress.org

Ready to get started?Download WordPress

Forums

Photon in responsive web design context (2 posts)

  1. docflo
    Member
    Posted 1 year ago #

    I am trying to use photon on a fluidly responsive website. I noticed that it determines the image size once on load. After the first load the image stays that size.
    I don't expect users to change their browser window size very often, but it could happen. Also users of mobile devices, tablets and smartphones could change the orientation of a device resulting in rescaling.
    In some contexts this can lead to the situation that a small image is downloaded from the wp cdn, but after up scaling the browser window the small image is not resized again to fit the container.
    I wonder if there is a way to re-trigger photon after resize or orientation change.

  2. docflo
    Member
    Posted 1 year ago #

    OK, this seems to be a bunch of different issues at play, I'll try to do more research and split them up.

Topic Closed

This topic has been closed to new replies.

About this Topic