Jeavon / Slimsy

Effortless Responsive & Lazy Images with LazySizes and Umbraco
MIT License
72 stars 23 forks source link

The given key 'width' was not present in the dictionary #54

Closed nvisage-gf closed 1 year ago

nvisage-gf commented 1 year ago

Handle KeyNotFoundException if width is not in query string (I don't know why it would be but it has been seen) then use if we have height ok, else fall back to max width - don't throw?

e.g. RTE image.jpg?rmode=max&height=750

nvisage-gf commented 1 year ago

Sorry for not getting round to following this up; have since installed latest beta and no longer seeing exceptions (a medium v7.5 to v10 update, 1000+ nodes).

Thanks for looking into this and additional checks for latest beta