Aspect ratios are not added to the images anymore

Mauer Themes Support Stills Aspect ratios are not added to the images anymore

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3962
    Nico
    Participant

    Since the update to version 1.4, the aspect ratio seems to be broken. The “mauer_stills_add_aspect_ratios_to_imgs_in_the_content” function does not evaluate the “data-aspect-ratio” attribute anymore, so images that are lazy-loaded (with Jetpack) do not have a height until they are loaded. Can you have a look at this function again? The “there already is an aspect ratio data attribute” branch seems to be missing in the new code.

    This worked perfectly in 1.3.3.

    #3963
    Nico
    Participant

    … this can also be observed on the demo site (which uses Jetpack and lazy-images): http://stills.mauer.co/proj/characters-captured/

    #3964
    PatrickM
    Participant

    Indeed, I have just seen it myself. Had to do a roll-back.

    #3993
    Paul
    Keymaster

    This has been fixed in 1.4.2, please take a look: demo.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.