aspose file tools*
The moose likes I/O and Streams and the fly likes how should I organise images in a web application for fast retrieval Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "how should I organise images in a web application for fast retrieval" Watch "how should I organise images in a web application for fast retrieval" New topic
Author

how should I organise images in a web application for fast retrieval

caleb momanyi
Ranch Hand

Joined: Jun 17, 2012
Posts: 43

if I have a web application with a table user and user_images. theres a one to many relationship where a user can have many images. the images are stored in a folder on the file system and the images table in the database only stores image name, date, width and height.
a customer can select one of his many images as a profile photo.

1) how should I assign image names for easier retrieval.

2) should I store the profile photos in a different folder?

I am creating a Java EE Web Application that I intend to deploy in glassfish server
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how should I organise images in a web application for fast retrieval
 
Similar Threads
Image display problem
JSP - Image Upload
Display Images
image does not display on JSP page w/ Tomcat server
how to insert a picture in database