[Resolved] using hide-on feature with lazy load

Home Forums Support [Resolved] using hide-on feature with lazy load

Home Forums Support using hide-on feature with lazy load

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1615936
    Ricardo

    Hi,

    I’m trying to understand if it’s a good idea to show different images according to the screen.

    So, if I’m on desktop I could should 3:2 images, but on mobile 1:1.

    I could use blocks with hide-on class and manage that.

    But my doubt is if, even using lazy load, it will load the 2 images or only 1.

    What do you think about it?

    Do you have any tip for this scenario?

    Thanks in advance,
    Ricardo Pons

    #1615987
    David
    Staff
    Customer Support

    Hi there,

    personally i don’t change the aspect ratio of an image for different device sizes unless i am want to show a small thumbnail image ( 150px or below ).

    Hidden Images may still make the addtional Network Request, so i would advise against this.
    If needed you can use CSS to resize the images on mobile devices.

    #1616012
    Ricardo

    Thank you for your thoughts and knowledge on this topic!

    Regards,
    Ricardo

    #1616020
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.