Solved

images database from folder

Posted on 2002-05-09
7
242 Views
Last Modified: 2012-06-27
Hi,

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?

Thanks!
Stephane Beladaci
President-CEO
Muscle Networks, Corp.
0
Comment
Question by:musclenetworks
7 Comments
 
LVL 4

Expert Comment

by:lokeshv
ID: 6998982
check this ..
http://www.phpresourceindex.com
http://www.hotscripts.com


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

lokesh@messiahlabs.com


Hope this Helps..

Lk

0
 

Author Comment

by:musclenetworks
ID: 6999044
Hi,

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.

Stephane
0
 
LVL 4

Expert Comment

by:lokeshv
ID: 6999100
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.


Lk




0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 40

Expert Comment

by:RQuadling
ID: 7008125
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.
0
 
LVL 40

Expert Comment

by:RQuadling
ID: 7008126
And just for a laugh, did you mean width? <grin>
0
 
LVL 1

Accepted Solution

by:
Aikema earned 50 total points
ID: 7019149
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.
0
 

Expert Comment

by:scpatterson
ID: 13149630
>And just for a laugh, did you mean width? <grin>

Haha I got what you said!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now