I'm using 1.2.5 [4022] and before that version the size of the thumbs were included in the html-code, like img src... width="200" height="150" etc. Now this code has dissappeared. I previously asked for this information to be included so I could get my thumbs centered horizontally and vertically inside a box. Now (testing in IE7 and 8 and Firefox) this still works, but not all of the time. Sometimes the browser somehow miscalculates or isn't fast enough and some thumbs are placed halfway beneath the box. Refreshing the browser corrects this problem sometimes.
Can the code be placed back or how can I manually add this to the core?
You can see an example
hereIf the problem doesn't occur right away, just refresh the page a few times and it will probably come back.
Comments
I could not see any issue with FF3.5 and Safari 4 display.
UPDATE: I have readded width and height attribute with printSizeCustomImages() so it is also used for print...MaxSpace variants. See tonight's nightly. It is not that easy to add it for "normal" uncropped images but sbillard will surely know more.
Now I'm using 1.2.5. with that same function. Didn't change anything else.
BTW, my quick update above was invalid anway as it broke some things so it was reverted. Since we are already in feature freeze for 1.2.6 we might not get this back for that release.
To be honest, ZenPhoto works for me now as it is. I upgraded without knowing what changed, just to be sure to have the latest version. Which I suspect also to be the safest version.
I don't use cropped thumbs.
Please could you give me some help in temporarily manually adding that 'old' code Acrylian was trying, because as you can see now everything is 'out of the box'. after refreshing sometimes the thumbs jump back inside the box, but then others are wrong:
Example.
EDIT:
I've removed the lines which refer to the jumpmenu from the html and now it seems as if the thumbs are shown correctly, but I'm still testing. So perhaps the jumpmenu slows down the build of the page/css.
I'm using printImageThumb(getAnnotatedImageTitle()) to show uncropped thumbs which I want to align in the middle/centre of a square box. In an older version of ZP the actual width and height of the thumb were printed in the html-code and by using the right css I was able to achieve what I wanted. Somehow, the absence of these values makes it impossible to get it right in all browsers. Strangely enough, for instance, in Firefox on Linux it works ok, but the exact same version of Firefox on Windows not! The same for Chrome. IE 6 en 7 not, IE 8 is ok. I know I can make it work for all browsers, but than I need those width and height values. How can I get them back???
The width or height will always be the value of the size you set, depending on the the "suboption" you set.