How Would I Make A Picture Gallery? - Make a picture gallery in php
sxyloverboy
Aug 24 2005, 10:28 PM
Ok everyone i am very new to php and ive been reading some tutorials on php but somehow they dont really teach me anything usefull. just how to echo hello world and all that. I know HTML and CSS.
What i want to do is make a photography website. In this site i want to have Galleries and show the pictures in there. Now your probably thinking why dont you just do that in html.
I would want to have pictures and have that picture assigned to a category or two and then i have the list of catgory and and when i goto them php just looks for the pics which fit to that category.
Now as i said i dont really know a lot of php so if this isnt really possible please just tell me.
What would be best for me would be some example code that explains a bit how it works that i can just copy and paste and then form to my needs.
Thanks in advance, Lucas
Notice from cmatcmextra:
Topic titles are important and should be as descriptive as possible. Even more descriptive than the description field. Renamed title from How would I do this? to suit the topic better.
I have a PHP gallery on my website (here). I wrote it my self using different bits of tutorials, PHP.net and other codes I'd written in the past. It works by having a separate folder for each category and you just navigate to the relavent folder for those images. For example, I have two galleries, one at /gallery/ which has fractals and one at /tg_gallery/ for Terragen. It could easily be adapted to get folder names for galleries and create an index of all the galleries. If you like the look of it I would be happy to give you the code and help you adapt it to your needs.
You could also try a pre-made gallery such as Copper Mine (link). They always have mods and themes you can download and customise.
My site, (when I get it hosted) is also a gallery, mine is of fantasy images such as dragon and wizards etc. I wrote the scripts for it and instead of using categories I gave each image a description and added a search function. It is a bit tedious writing the descriptions, but that was the way I wanted to go so I could teach myself PHP and make something useful at the same time.
As rvalkass said, if you're new to PHP you could always use a pre-made script such as Coppermine. I have used this script, it is very good and has many options.
If you want to learn PHP then write your own script, yes it can be frustrating, but it is also very rewarding when you learn how to do it yourself.
Hm i dont really know what you coded in this site and im not trying to be harsh or anything but its a bit plain for me. i dont really know how php works but maybe i could have a php file for each image with the information on it. like where the image file is, where the thumb file is, what the title is, what the keywords are, what gallerie it belongs in ect. and then have something that scans all the files and checks where which ones belong to and creates the galleries from there. and then has a page for each image that shows the title, description and maybe even exif information.
So for a pre-made gallery cms ive tried two of the ones in fantastico. (Coppermine and 4images) and i have to say they are more oriented towards a community than a page that reflexts the works of one person.
rcalkass: i really appreciate your help and everything and if you get what i wrote above and know something like that id really be happy if you could help me.
There are many Gallery scripts available, it shouldn't be too hard to find one that suits your needs. If you don't find one you like, look at an existing gallery script and make the changes you want, check first that the original author permits this.
Just by looking on one site planet-source-code.com I found 21 gallery scripts. Try them out and see which one you like.
You could try scripts ready for download and installation like the ones in your cpanel (e.g. coppermine, gallery). There's another cool php script that's easy to install and easy to personalize (tons of cool skins) one referred it to me a few days back and right now I just installed the current version and it works fine.
Php Only Gallery
- I don't know PHP well and can't find a free script (7)
I will pay for this. More info on payment on bottom of post. Alright I know just about everything
about CSS and Ruby on Rails I know more then enough to make certain apps, but i have never been good
at PHP. I do know that this script would be fairly short though. Does anyone know how to make this
web photo gallery with PHP only. I don't want MySQL. No need for it. In my root folder I'll
make a gallery folder. Inside of that will be photography, illustrations, personal, etc. Inside of
those is where I want the script. So there wil be a script for each one, but...
Hi Dears trap17 Members we make one new php script with name Faphoto you can find more info at this
link : http://www.hotscripts.com/Detailed/64626.html We submit this script At hotscripts.com ,
for more preview we want you test it and tell us how can better write this script also this is lite
version and v1 plz post here your comment and vote us at hotscripts . i think we can write better
script when read your comments /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
alt="smile.gif" /> thanks to all trap17 php members , they help us to write this ...
I'm looking for one that has the thumbnails in frames, while you can view the real picture in
another..and auto thumbnails the files you have in a folder. Do you know any scripts like that?
Thanks in advance....
Looking for make, picture, gallery, make, picture, gallery, php
Searching Video's for make, picture, gallery, make, picture, gallery, php
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.