This topic is locked

UPLOAD pictures and Thumbnails to diferent folder

12/3/2013 11:52:04 AM
PHPRunner General questions
Z
zwaenepoel author

Hi,
I'm using phprunner to build a site for my photo database.
I have a folder called 'PHOTOS', where the photos are uploaded to.
As i'm using the program to create thumbnails, they are at the same folder.
The folder has the following files (for example):
photo1.jpg

photo2.jpg

photo3.jpg

photo4.jpg

th_photo1.jpg

th_photo2.jpg

th_photo3.jpg

th_photo4.jpg
It's possible to have the photos in one folder and the thumbnails in another one?

Like this
\PHOTOS

photo1.jpg

photo2.jpg

photo3.jpg

photo4.jpg

\TH_PHOTOS

th_photo1.jpg

th_photo2.jpg

th_photo3.jpg

th_photo4.jpg
Thanks.

C
cgphp 12/3/2013

Check the "PHP expression" option in the Edit as "File/Image" window http://xlinesoft.com/phprunner/docs/edit_as_settings_file_image.htm

Z
zwaenepoel author 12/4/2013



Check the "PHP expression" option in the Edit as "File/Image" window http://xlinesoft.com/phprunner/docs/edit_as_settings_file_image.htm


It doesn't work. It still uploads thumbnails and photos to the same folder.
Any help, pleas?

Sergey Kornilov admin 12/5/2013

It does work, just in case make sure you specified correct PHP expression.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.

Z
zwaenepoel author 12/6/2013



It does work, just in case make sure you specified correct PHP expression.
If you need more help post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.


I'm saving my images in a directory on my server. I'm using a field of Varchar type, and 'compatibility mode' to upload them.
In the meantime, i uploaded my project to demo account.