Results 1 to 2 of 2

Thread: Where to start

  1. #1
    Join Date
    Mar 2010
    Posts
    10
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Where to start

    Hello, Thanks for all your help on my last post.

    I have a new one. I'm working on my first site and i have come to the conclusion that i need to take a different approach. I'm making an image website. I will have 1000s eventually and sitting there making each page will take me months at best. So i was sitting there thinking there has gotta be a better way and then i thought. If i could make a database where i can catalog all the images and then have a script that i embed in all my pages that pulls the image assigned to the page URL i would be done in a week or 2.

    Now i have no idea if that's possible but that would be cool. So any ideas u guys have would be great. Pointers on where to start etc.


    Thanks again and i hope everyone had a happy St Pattys

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    This is of course possible and can be entirely automated. You can either manually catalog all of them (so you can, for example, add a custom caption), or you can just have them automatically organized, linked and displayed by a script.

    What you need is a PHP image gallery, but that can take many forms.

    I suggest looking into PHP and MySQL to create a database of images. Remember: never store images in the database-- just store their filenames (and paths, if needed) for where you store them.

    You can also create an "admin" page where you can manage the captions, upload images, delete images, etc. But that will be more work.

    Personally I'd probably code this myself for extra control, but there are also many out there already that you could use. One is here:
    http://dynamicdrive.com/dynamicindex...photoalbum.htm
    That's not exactly what you want (since you said you want a separate page per photo), but the same basic techniques can be used to accomplish that also.

    Think about how you want to approach this and if you want to start with PHP and MySQL, take a look here:
    http://php-mysql-tutorial.com
    It's a good tutorial, but remember to click "view all articles" and go to the last page then start at the bottom-- they go from newest (most advanced) to oldest (beginner).
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    cyote101 (03-19-2010)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •