Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 25th, 2003, 08:54 AM
deena18 deena18 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 16 deena18 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Storing an image URGENT

hi

i have an application in java that has a text field in which you enter the path of the image and then u click on a button and it will be saved in a database.
this image will be saved as long binary data , but if i had saved already an image from the database itself and i want to display it in my application it will not appear but as i said when i add the image from the application it will appear
i kept the field of the image (OLE) and i go to the field right click---->insert object.that's how i save the image in the database but it will not appear in my application, so i don't know were the problem is ?can some one help


thankx

deena

Reply With Quote
  #2  
Old October 27th, 2003, 01:39 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 10 m 50 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
deena18,

It would be interesting to know what database you are using and what language your application is written in - In my experience with gallery type sites, it has made much more sense simply to store the location of the image as a path or url in the database and store the image elsewhere in (a separate) filesystem. If your database becomes big, it will be much more manageable and taking/restoring backups will become less of a headache to..

just some ideas,

maslaama,
Christo

Reply With Quote
  #3  
Old October 28th, 2003, 01:26 AM
deena18 deena18 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 16 deena18 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi christo

well i'm using MS Access and my application is written in java ...
i tried storing the path of the image in the field but this still did not work ...
as i said that when i enter the image through my application and then search for it(by the search button) i get the image displayed ,, but if the image was already stored in the database it self and then i want to search for it it doesn't appear ,, i don't know why???

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Storing an image URGENT


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT