View more context

 

lerni

width & height is back on img-tag - in short chrome 79? & ff 71 will respect those values for aspect ratios on load (calculating layout) https://www.youtube.com/watch?v=4-d_SoCHeWE

I wonder what best practice now is - baseline or progressive images (jpgs)? Duno if this is even a thing with webp?

Show 1 attachment(s)
YouTube  
Mozilla Developer

YouTube Video: Do This to Improve Image Loading on Your Website

Hide attachment content
👍 (1)
CptPillow

Hi everyone. Has anyone tried using Elemental on a DataObject as Page? if so how did you change the module to work correctly

theruss

@CptPillow Yes - it took a very minute no. changes to get it to work 🙂

theruss

Protip: When looking at Elemental's code - mentally replace $page with $myDataObject 🙂

CptPillow

I need it to work on multiple different DataObjects

CptPillow

as far as I can see it needs to work on atleast 3 different DataObjects