MYSQL - Problem with selecting images from longblog

Discussion in 'Programming' started by cyberjack, Jul 2, 2007.

  1. #1
    Hey Guys,

    I am currently running an images hosting website where images are stored in a mysql database (longblob)

    The upload works fine, but when selecting the images to show them it only works if the images are smaller than 1MB..

    Attempting to view an uploaded image bigger than 1mb just causes to break.

    Any idea how to solve this problem so i can select/download bigger images from the database?

    Example:

    http://www.onedump.com/viewupload.php?key1=b9330446908b171e9428047565bed858&key2=42de6ba91a70feb4a99b4bedee59a085&key3=9cdfe9ec6205ac20c49baa45dca07b0e

    The first file is about 1,7MB, the second only 800KB


    Julian
     
    cyberjack, Jul 2, 2007 IP
  2. Gangsta

    Gangsta Active Member

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    do not store images in database
    it's not good idea
     
    Gangsta, Jul 4, 2007 IP