Results 1 to 4 of 4

Thread: Storing Image in Database

  1. #1
    Join Date
    Mar 2005
    Posts
    163
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Storing Image in Database

    Normally I would say don't do it, but this is a slightly different senario

    The images are going to be uploaded by people who register (4 images per registration, ~10-20 registration per day), but also, every other day the images, toether with the rest of the registration info, will be be downloaded onto desktop by the client, the table will be imported into access (on his PC) and the SQL Db table online will be cleared.

    It would be easier to store the image in the database right, expect that the image will vary in size, from 1-4 mb each., which chews up time to process.

    So database or filesystem?

  2. #2
    Join Date
    Feb 2004
    Posts
    4,901
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    FileSystem

    Providing its all being stored/dispayed in a web app - if the image then gets shown in a desktop app, I would use database.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. #3
    Join Date
    Mar 2005
    Posts
    163
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Warren Ashcroft
    FileSystem

    Providing its all being stored/dispayed in a web app - if the image then gets shown in a desktop app, I would use database.
    Nah, once its uploaded by the member, the info desn;t get shown again online, its straight to desktop. Thanks!

  4. #4
    Join Date
    Feb 2004
    Posts
    4,901
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by jaimalchohan
    Nah, once its uploaded by the member, the info desn;t get shown again online, its straight to desktop. Thanks!
    Oh right, just noticed you had said this in the first post...

    If its all desktop, database would be fine, however data download times would be a little lengthy.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Database Backup
    By andyj in forum MSSQL
    Replies: 2
    Last Post: 23rd March 2006, 09:30 AM
  2. PHP: Image validation/anti leech
    By E_G in forum Code Sharing
    Replies: 0
    Last Post: 14th March 2006, 03:29 PM
  3. Image Hot-Linking
    By Space Cowboy in forum Web Applications and Scripts
    Replies: 3
    Last Post: 24th October 2005, 12:19 PM
  4. Image Locations using Front Page
    By bmcdonagh in forum Website and Graphic Design
    Replies: 6
    Last Post: 11th July 2005, 09:48 PM
  5. Checkout this image gallery
    By terraqueotenaz in forum Web Applications and Scripts
    Replies: 2
    Last Post: 12th June 2005, 10:25 PM

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
  •