I downloaded Chris’s Auto-Generating Photo Gallery and installed it on my server. I then uploaded photos and thumbs (taken with my Palm Centro. I quickly realized that my thumbs were named ***_t.jpg rather than ***-thumb.jpg I edited the php file in two places substituting _t.jpg. The collection of thumbs now appears but when I click on a thumb, I get an eternally rotating indication that it is trying to load the image but nothing happens. I uploaded the original files and sample images to another directory and it works without problems (at least in IE, not in Opera).
Here is my gallery: http://lgrossman.com/pics/palm/ (This is the one that doesn’t work.)
Here is the gallery with the unedited files http://lgrossman.com/pics/AGG/ (This is the one that works.)
Any suggestions how I broke it or what is wrong will be appreciated.
That would explain it.
Someone suggested I had too many images there. I thought I only deleted selected groups of images. I must have gotten carried away.
Meanwhile, How about a version of Auto-Generating Photo Gallery that could extract or generate thumbs from the original images. That would be smooth.
But AGPG is a much nicer presentation.
Thanks for putting up with me on this one. Is there a place to put a kudo or resolved notification.
Uploading the images really did solve the problem in IE but something is still broken in Opera.
Someone on an Opera forum suggested:
It’s actually a user bug, caused by not updating libraries. The issue
was fixed in jQuery 1.3.0, released almost a year ago.
>>> >>> Gory details:
return this == window ?
E.browser.opera && document.body["client"+c]
|| E.browser.safari && window["inner"+c]
|| document.compatMode == "CSS1Compat" &&
: this == document ?
: a == undefined ?
(this.length ? E.css(this, b) : null)
: this.css(b, a.constructor == String ? a : a + "px")
The code grabs document.body.clientHeight in Opera. All the images are
floats, so they don’t contribute to the body height. $(window).height()
thus gives 113, less padding gives image height 13, adjusting for aspect
ratio gives image width 16.
Replace js/jquery-1.2.3.pack.js with an up to date version. Or just link
to http://ajax.googleapis.com/ajax/libs/jq … ery.min.js and
save the download.
I am not sure If I should replace the old file with the new one, upload the new one as well, or upload the new one and rename it to the old name.
You must be logged in to reply to this topic.