How to make default photo gallery?

Is there a HTML code to make a photo gallery.?

  • I am making a website, but I can find a way to put a photo gallery. I want a code to put the images in the bottom of the page. When the images are clicked the enlarged image is at the top. I want the photo gallery in the content area.

  • Answer:

    Well you can make a gallery using <table> <tr> <td><a href="images/img.jpg"><img src="images/img.jpg" border="0" /></a></td> <td><a href="images/img2.jpg"><img src="images/img2.jpg" border="0" /></a></td> <td><a href="images/img3.jpg"><img src="images/img3.jpg" border="0" /></a></td> <td><a href="images/img4.jpg"><img src="images/img4.jpg" border="0" /></a></td> </tr> <tr> <td><a href="images/img5.jpg"><img src="images/img5.jpg" border="0" /></a></td> <td><a href="images/img6.jpg"><img src="images/img6.jpg" border="0" /></a></td> <td><a href="images/img7.jpg"><img src="images/img7.jpg" border="0" /></a></td> <td><a href="images/img8.jpg"><img src="images/img8.jpg" border="0" /></a></td> </tr> </table> That is a code with only HTML. But if you want to have some cool stuff when you click the image you can use javascript or flash (this is more difficult if you want to do it from scratch, but there are a lot of application that can help you create it). Is your choice

no face at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

You can do a JavaScript function: <script language="JavaScript"> function ChangeImage(image) { document.Image.src=image; } </script> <img name="Image" src="" width="600" height="600"><br> <a onclick="ChangeImage('image1')"><img src="image1" width="100" height="100"></a> <a onclick="ChangeImage('image2')"><img src="image2" width="100" height="100"></a> <a onclick="ChangeImage('image3')"><img src="image3" width="100" height="100"></a> <a onclick="ChangeImage('image4')"><img src="image4" width="100" height="100"></a>

Hyperlink would be too irrational, flash too difficult. Try javascript.

For this I would recommend using a flash application, instead of HTML. One of the easiest ways is using google's Picasa (it's free) and you can create much better layouts than HTML. Here's the gallery I use on my website: www.biohazardcreations.com/photos

kashwak

Check to see if your web host has photo gallery software. bluehost.com has three: Coppermine, Pixelpost and Zenphoto. I have used Zenphoto. results at http://www.chagalo.org/photo/index.php I have also used CoffeeCup Photo Gallery. results at http://chagalo.org/family/Pauley.html

Growl

You could do one of those using CSS, if you go to this web-site: http://www.cssplay.co.uk/menu/gallery.html#nogo and check the source code. The one you'll be interested in is all in the <div id="info"> don't forget to grab the CSS along with it. Good luck!

Stu V

just hyperlink to a seprete page or make a flash thing

isaacx3

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.