Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design how to avoid resizing of lazyloading gifs with repsonsive images?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #278877
    Lichtathlet
    Participant

    I’m using a grid system in which images are stretched to width: 100%, max-width: 100% to always fill up the colums. The tricky part is, I also use lazy loading and now the loading.gif is stretched to the max as well resulting in a huge, pixelated gif. Is there any way to avoid this?

    example page: https://de.personello.com?frmIs_UseMobileContainer=1

    #278880
    Beverleyh
    Participant

    Null the width and/or max-width (reset to CSS values to defaults). OR explicitly define more desirable sizes, maybe changing them to suit different screens inside media queries.

    You can use the develop toolbar to help identify the element-in-question. That’s F12 in most browsers, OR right-click the element in your browser and inspect it that way. The developer toolbar will help you identify the selectors to use in your CSS, and you can test your style edits live in the browser before applying them your live site.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design’ is closed to new topics and replies.