Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Dat
    Dat is offline
    Regular Coder
    Join Date
    Oct 2007
    Posts
    147
    Thanks
    28
    Thanked 0 Times in 0 Posts

    Store images in Mysql or Directory

    If I were to build a gallery of stock images that may consists of more than 1000 images, would it be better to store the images in mysql or on the directory?

  • #2
    Senior Coder djm0219's Avatar
    Join Date
    Aug 2003
    Location
    Wake Forest, North Carolina
    Posts
    1,313
    Thanks
    4
    Thanked 207 Times in 204 Posts
    Directory hands down.
    Dave .... HostMonster for all of your hosting needs

  • Users who have thanked djm0219 for this post:

    Dat (11-03-2010)

  • #3
    Senior Coder
    Join Date
    Sep 2010
    Posts
    2,451
    Thanks
    17
    Thanked 275 Times in 275 Posts
    Something you can do is to give each image a property number in a database which refers to the URL of the image in a folder, and has whatever other information you need.

  • Users who have thanked DrDOS for this post:

    Dat (11-03-2010)

  • #4
    Dat
    Dat is offline
    Regular Coder
    Join Date
    Oct 2007
    Posts
    147
    Thanks
    28
    Thanked 0 Times in 0 Posts
    Alright thanks, I'll go with directory then.


  •  

    Posting Permissions

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