• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

images database from folder


I'm currently re building a website using php, and I seek a aolution to build a database of images from a folder.

I would need to define a folder and have an application parsing the folder and include all images in a database with image name, heigth and weight.

Anybody know how to accomplish that? Or does anybody would be able top build such application for a fee?

Stephane Beladaci
Muscle Networks, Corp.
1 Solution
check this ..

lots of free scripts availabe for image gallaries n all ...see is there any suits ur need.

and still want to create urseelf then its better you dont store image in Database instead store on the server and just store the path in the database , bcoz MySQL is not good in handling images .

And if you wann to go for devlopment Please contact me at


Hope this Helps..


musclenetworksAuthor Commented:

Using a third party application to build gallery would not allow me to integrate these gallery on my php application.

Storing the path, file name, height and weigth would be really enough. These data will be then used by my php application to build the gallery on the fly. In addition, I use a specific image protection which display image in an applet (www.artistscope.com). None existing application will allow me to integrate this.

What I plan to do is to build a database containing the varibles (image path, name, heigth, weight), and then use a dynamic php template with Dreamweaver MX.

I need an application that will parse the image folder, build a table for each sub-folder, and add data for all images found in all subfolder.

i see..

then get a devloper who can do this for U.

or even he can modify the existing free imgae galleries according to your need.

if you are intrested in devlopment... can mail me.


Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Richard QuadlingSenior Software DeveloperCommented:
You can use something like ThumbsPlus by Cerious Software www.cerious.com

I use it to create thumbnail databases. The DB can be MySQL and you can retrieve all the details about the image from the DB.

Richard QuadlingSenior Software DeveloperCommented:
And just for a laugh, did you mean width? <grin>
Look at the directory functions page in the PHP manual and you'll see functions that will give you a directory listing that you can get all the filenames from (opendir and readdir to be specific).

Then, on the image functions page in the manual you should find a function called GetImageSize that will return an array with, among other things, the dimensions of the image.
>And just for a laugh, did you mean width? <grin>

Haha I got what you said!

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now