Welcome Guest, Not a member yet? Register   Sign In
Image Galery
#1

[eluser]R_Nelson[/eluser]
I used the nettuts+ video to make a gallery what i would like is for each picture to have its own alt text and a url connected to it and the text displayed below the picture. Im not sure if i need to use a database for this or just a text file?

can someone point me in the right direction of where to start?
#2

[eluser]BrokenLegGuy[/eluser]
If it were me I would set up a simple db table with the file name, description, and the other columns and I would use something like http://fancybox.net/ and loop through all the images (or however the tutorial told you to do it) and "whaa-bam!", sexy gallery.

Ed
#3

[eluser]R_Nelson[/eluser]
that's kinda what i got to thinking after i took a break from building the site for a few. thx
#4

[eluser]Vamsii[/eluser]
create a database with table images and then you can put all the needed fields like name, path where the image is stored,ip address of the uploader etc.
then you can use the saved values to get the url of the image( this will be good even if you change your domain ) .




Theme © iAndrew 2016 - Forum software by © MyBB