Closed Thread Icon

Topic awaiting preservation: Best way to display big images (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8216" title="Pages that link to Topic awaiting preservation: Best way to display big images (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Best way to display big images <span class="small">(Page 1 of 1)</span>\

 
WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 06-21-2002 18:42

I am wondering what the best way to display big images is.

Basic Information:

1) Server has no scripting, therefore, I am limited to JavaScript
2) Images are of differing sizes, all greater than 500 px per side.

I am trying to come up with a method of display that would optimally display these images. It is just not working for me though. I thought pop up, however with that method I would have to work by hand to figure out the window size for each image, which turns out to be a complete pain in the ass.

Any ideas you might have would be greatly appreciated.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 06-21-2002 18:58

not sure what you mean but there's gallery: www.gallery.sourceforge.net

sizes images automatically to your needs!

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 06-21-2002 21:40

If you open the popup at a set size, say 100x100 (smallest a popup can be i think) then set an event on the image load you can grab the document size once it's finished loading then re-size the window to suit. Maybe even mask the image loading in the 100x100 window with a little div saying "Image Loading, Please Wait..." or something like that.

I've done this before but my hard disk's a mess at the moment so... hang on I might have something for the loading bit online.... Yah, here:
http://www.whatever.net.au/~cameron/ozone/imageScript/

But that won't get the window size automagicaly. Yah, now I remember, bug's script does the auto window size hingy.. that's where I first saw it, here:
http://www.bugimus.com/gurus/image_popup/imagepopup.html


Although you'll want to keep scrollbars for images larger then the users screen resolution, which could be a little tricky as I'm not sure if ya can just switch them on and off.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 06-22-2002 04:52

WarMage: How about trying what kuckus suggested to DS in this review (it could do away with the need for a popup):
www.ozoneasylum.com/Forum6/HTML/000960.html

___________________
Emps

FAQs: Emperor

viol
Maniac (V) Inmate

From: Charles River
Insane since: May 2002

posted posted 06-24-2002 16:15

Here is the way I do it. http://www.ozoneasylum.com/Forum2/HTML/001552.html
It's javascript, I have to know the size of the thumbnail and the main picture one by one, but once you get used to it, it's really easy and quick.
This code is for a fixed size image (most of the images I have are the same size) but I have another code, a variation of this one, that I use for images of any size, when I want to show a picture not the default size.
This code won't probably be what you want, but you can take a look at the solution and, maybe, you can have some better idea.

« BackwardsOnwards »

Show Forum Drop Down Menu