Hi,
Has there been any consideration for including the width and height html attributes in the img tags when displaying sized images (thumbs and default sized image)?
Am working on a project that needs this for the thumbs. If I could get the width and height, I suppose I could insert them into the img tag. I see that you can get the width and height of full, and default sized images, but I do not see a way to get the thumb dimensions.
I suppose you could get them directly from the theme options based on what the user has set for sizing, but it may be above my skill set to get the short size length when the setting is no crop, sized, because you do not know the short side length of a "sized" image...
Any ideas - Thanks!
Comments
printAlbumThumbImage and printImageThumb;
I did some cross-theme testing after seeing your response and apparently it is working with zenpage theme album images (I think because this theme uses the custumalbumthumb function?).
But this is what I am seeing using the default theme using the two functions above:
1) height and width are not present on album or image thumbs when sizing, no crop is enabled.
2) when crop is enabled, height and width are present on image thumbs, but not album thumbs.
Glad to hear that this is supposed to work and normal functionality!
Oh, and currently testing on 1.3.1.1 [5816].