Photon in responsive web design context
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Photon in responsive web design context’ is closed to new replies.