HTML Code for Photo Gallery

Does someone on here know, or know a site where I could get code to make a photo gallery. What I am wanting is to have a whole group of pictures that show up small, but once you click on them, you can see a larger image of it? Would that be really complicated to do?<br />
<br />
Thanks in advance,<br />
:)<!--content-->feel free to gank the code from my site - <!-- m --><a class="postlink" href="http://www.meat-thing.com/transmothra.com/gallery.php?p=gallery/moffras/moffras1.php">http://www.meat-thing.com/transmothra.c ... ffras1.php</a><!-- m --> - it's a little complicated, and i've got better code now (with PHP) that i found at <!-- m --><a class="postlink" href="http://www.regretless.com/scripts/scripts.php#dodosgallery">http://www.regretless.com/scripts/scrip ... dosgallery</a><!-- m -->. i'll be using that code from now on, but my old code is free to gank, if it fits what you want. it pops up an image in a new window. you have to put each image in another HTML file, which means a lot of little HTML files, but it's alright. Dodo's version doesn't need that, but does pretty much the same thing.<br />
<br />
there's also the OLD old code i used to use, which puts the image in the same page as the thumbs. it's at <!-- m --><a class="postlink" href="http://www.transmothra.com/gallery/misc/">http://www.transmothra.com/gallery/misc/</a><!-- m --> but it's nowhere near as finessed as the later code.<!--content-->Can also do it in ASP - depends what your server supports/preferance<!--content-->I wasn't looking for something really complicated. I am more interested in having the photos as thumbnails, and when you click on them you can see a larger view of it in a pop up. Is that able to be done in raw HTML that you can do in Notepad. I don't have software like Photoshop or the like, so I would have to rely on raw HTML or scripts of some sort to do it I suppose. If anyone can help with that, I would appreciate it.<!--content-->If you do this in HTMl then you to create a page for each full size image and a page with all your thumb nails on.<br />
<br />
If you use ASP or whatever you only need to pages! <br />
<br />
I can help you sort it out in ASP but it really depends what your server supports!<!--content-->the most basic way of doing it would be make smaller versions of you images in say photoshop and then link them to the larger versions where they would appear on a blank background in the top left corner<br />
<br />
Nice little gif of you playing footy there,i think though that it's 182 kbytes exceeds jason's guidelins.....<br />
<br />
<br />
Originally posted by Jason <br />
The question of "acceptable signature guidelines" has always been subjective on the forums, making the job of our local Gurus difficult to judge which signatures were inappropriate. Because of these issue, I have assembled a short list of guidelines, which when compared to the guidelines of many other forums, is about as strict as Ozzy Osborne's parenting style. Please commit the below guidelines to memory before creating your signature. <br />
<br />
<br />
Signature images may be no larger than 80 pixels high x 350 pixels wide<br />
If more that one image is used, the total dimensions/pixel space used may be no larger than 80 x 350<br />
Total combined sig image file size may not exceed 35k<br />
Text may be up to 5 lines long if <b>not</b> used in conjunction with images<br />
Text may be up to 2 lines long when used in conjunction with images<br />
Signatures must be appropriate, non-distracting, and non-defamatory<br />
<br />
<br />
Conclusively, the breaking of the signature line law will result in a catapulting.<!--content-->pffft asp is not worth the time if your gonna do a simple thing like that...<br />
<br />
All you do is this:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"picname" target="_blank"><img src="picname" width="25%" height="25%"></a><br />
<a href=http://www.htmlforums.com/archive/index.php/"picname2" target="_blank"><img src="picname2" width="25%" height="25%"></a><br />
<a href=http://www.htmlforums.com/archive/index.php/"picname3" target="_blank"><img src="picname3" width="25%" height="25%"></a><br />
...<br />
<br />
<br />
Change the percentages to change the thumbnail size. when clicked a NEW WINDOW will open up to NORMAL SIZE of the picture.<br />
<br />
I have to go to work right now, but when I come back I will make you an iframe version. instead of the links opening up in a whole new window, there is a way to make them appear on a designated spot on the page (you get to pick). So as the viewer clicks, he/she only sees one page, and the pictures appearing right on it as he/she clicks. If you don't reply by the time i get back at about 6:00, I will assume you want to see how it works, and i'll start working on it. it will take me about 15 minutes.<!--content-->true that would work - but if each img is 200k just Download <!--more-->ing the whole (thumbnail) page will be incredibly slow! the isnt much code for the ASP version all you do is like the thumbnail to full_img.asp?img=IMAGENAME<br />
<br />
<br />
Response.Write "<img src='http://www.htmlforums.com/archive/index.php/img/full/" &strImg&".jpg' border='0' width='550'>"<br />
<br />
<br />
Only takes about 3 lines of ASP including the one above ...<!--content-->oh i'm sorry - i have this instinct of relating ASP or ADO with SQL immediately. i see "ASP" and i hear "SQL" - i was thinking of ASP as a whole database system and query language thats going "SELECT name=blahblahblah" --- yeah i'm not familiar with ASP but as long as you don't need a database and don't need to learn a whole new language i guess its alright - ...<br />
<br />
...and i don't believe he said anything about efficiency, only being done in "raw html"...<!--content-->As always - theres more than one way to skin a cat! (havent said that in a while)<br />
<br />
ASP depends on the server - but your version should work anywhere - just up to personal preferance - you would only need one version of each image ... and i would need a small thumbnail and a fill img!<br />
<br />
Cheers<br />
Dan<!--content-->well actually, its not THAT bad with "raw html"... i just made an example page using iframes, <!-- m --><a class="postlink" href="http://www.xdemi.com/temp/htmlforumhelp4.html">http://www.xdemi.com/temp/htmlforumhelp4.html</a><!-- m --><br />
<br />
i know for low bandwidth people the thumbnails might take longer... but after they all load, when someone clicks on a picture, the picture should load very quickly in the frame for most people, because of cookies or stuff like that (i'm not familiar with that field). with my dsl (700 kbps) connection, the thumbnails took me about 6-7 seconds, but the full pics came up immediately.<!--content-->im on DSL too - that worked well the only problem i had was the full image came over the 2nd line of imgs <br />
<br />
<!-- m --><a class="postlink" href="http://DNAowner.com">http://DNAowner.com</a><!-- m --> and click "photos" - my ASP version<!--content-->oh taht could be fixed using frames, i was just doing a sample, and for me they were all on one line.<!--content-->You might want to just install & use Gallery. It's super simple to install, and even easier to use. <br />
<br />
Gallery: Your Photos on Your Website (<!-- m --><a class="postlink" href="http://gallery.menalto.com/modules.php?op=modload&name=News&file=index">http://gallery.menalto.com/modules.php? ... file=index</a><!-- m -->)<br />
<br />
To see one of my example galleries...please visit:<br />
<br />
My Gallery (<!-- m --><a class="postlink" href="http://www.stylishsites.com/gallery/">http://www.stylishsites.com/gallery/</a><!-- m -->)<br />
<br />
Cheers,<br />
Erica<!--content-->I would use a program called ARLES IMAGE WEB PAGE CREATOR which can be found at this site. (<!-- m --><a class="postlink" href="http://www.digitaldutch.com/arles/">http://www.digitaldutch.com/arles/</a><!-- m -->) <br />
<br />
It was given away as a full product one in .net<!--content-->
 
Back
Top