I am trying to use lazyload
http://www.appelsiini.net/projects/lazyload on a Gallery which has been fixed at 500px height and a dynamic width scaled to the height. For lazyload to work I need to specify width and height in the <img> tag. Is there anyway for gallery to know via a placeholder in thumbTpl
http://rtfm.modx.com/display/ADDON/Gallery.Gallery.thumbTpl ahead of time what the width of the generated image is? There doesn't seem to be and I don't know how it could before the image is processed by phpthumbof but maybe someone has done this before?
Thanks