This topic is locked

Image files on local drive in subdirectories

2/12/2009 2:51:02 PM
PHPRunner General questions
F
ftoth author

Hi,
I have a large number of images to display which are located on the local hard drive in multiple subdirectories. The MySQL database field contains the filename in its column such as filename.jpg . The visual editor is set to store images in Photo: "Edit as" settings -upload folder to files/

Due to the large number of files I need to display I have the following : files/subdirectory_1/filename.jpg

files/subdirectory_2/anotherpicture.jpg , and so on. Each subdirectory has many picturefiles in it, and there are hundreds of

subdirectories. If I do inline edit and choose browse I can pick the file location manually and enter it, however there are too many files to add and is impractical.

I need to be able to tell automatically where the picture file is to be found. I do not know how to do this. I thought of adding an extra column to the MYSQL database with the name of the subdirectory but do not know how to make PHPRunner read this and

go to the correct folder where the picturefile is.

Any help is appreciated. Thank you.

J
Jane 2/13/2009

Hi,
unfortunately it's impossible to select directory for Browse button.

This directory is dependent on browser settings.

U
uday 7/14/2009

Due to the large number of files I need to display I have the following : files/subdirectory_1/filename.jpg

files/subdirectory_2/anotherpicture.jpg , and so on. Each subdirectory has many picturefiles in it, and there are hundreds of

subdirectories.


Hi as per above discussion, I also want to read & Display all images in list but my all images in same Folder rather than multiple folder.

lets say files/subdirectory_1/filename1.jpg , files/subdirectory_1/filename2.jpg ....so on . so how can I do it , Where to edit code & What need to edit? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=42706&image=1&table=forumreplies' class='bbc_emoticon' alt=':rolleyes:' />

J
Jane 7/14/2009

Hi,
juse use files/subdirectory_1/ as file path on the "Edit as" settings dialog on the Visual Editor tab.