• Resolved Bence

    (@charybdis)


    Hi,
    is it possible with the plugin to resize images on the fly for different viewports? Different visitors have different devices (laptop, mobile phone, tablet) each with its own screen resolution. Can the plugin detect the viewport size, then resize all images on the fly for exactly that size which is suitable for the visitor’s viewport?

    For example if the original image is 1024×768 px, but the visitor’s viewport is 540×200 px, then can the plugin resize that image on the fly only for that visitor, to make it 540 px wide, so that it perfectly adapts to the viewport?

    If not, do you consider this feature on your roadmap?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Yes, it’s actually a good suggestion , I think it’s technically possible , but however I have some doubts about it:

    1. image resize on the fly requires considerable amount of CPU resources , many shared hosting provider won’t allow it, this will probably deny 90% of user to use it

    2. if you resize it as image optimization from remote server , then it will take too long to process , as result, instead of accelerate the speed, it just slows down , a lot.

    3. if you meant to pre-generate it like image optimization does on remote server, then if you have considerable amount of images, in order to fit all kinds of screen sizes , your disk usage will probably be like tenfold or even more

    this may not be a problem for a VPS or dedi user, but for many on small shared hosting plan , it is.

    Best regards,

    Thread Starter Bence

    (@charybdis)

    There are services which already offer this feature, for example ShortPixel Adaptive Images, Smush, or Cloudflare image resizing.

    These services actually slow down the webpage, instead of accelerating it? I also thought about it, and you are right that this takes time, so I don’t know if it really helps to speed up a website, or is it just a marketing tactic?

    Anyway, because there are already such services, you could consider this feature. The quic.cloud service could do the resizing very quickly in the cloud, if you have very powerful servers, then quic.cloud could do it almost instantly (you could charge for this extra resizing feature). Would it speed up the webpage?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I am not sure , but it could be good feature for QC

    I will pass this suggestion to our devs and for further assessment

    Best regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Resize images on the fly for different viewports’ is closed to new replies.