This topic is locked

Using Images across Projects but keeping dimensions

10/12/2010 8:49:56 AM
PHPRunner General questions
T
tsp003 author

Hi,
I'm quite new to PHPRunner, so forgive me if I have overcomplicated this problem.
I have a project that relies heavily on images (there's a folder of 5000 to be processed!!!), and I have been requested to produce a project that uploads these images to a maximum height/width of 200 for the thumbs and 840 for final image, This is simple enough to set up in PHPRunner, but I am really struggling with the issue of how to upload everything in the image folder with the required dimensions. It appears to me that the only way to do it is to upload each image individually, but that seems really inefficient, is there a way to upload a folder of images and have them resized at the same time????
The other issue I have found is that once an image uploaded to the server via phprunner, if you were to point a second, separate, project to that image it doesn't pick up the thumb only the full sized image and it appears the only way round it is to update and upload again, again lots of time wasting methinks. As all the text info has been uploaded via csv, i tried uploading to the image folder beforehand, and it works fine, apart from missing the thumb file thats previously been created in PHPRunner, so am getting full sized images displaying in my list view, which is really not good.
Hope that makes sense. I'm obvioulsy missing something somewhere or just must've been looking at it far too long, so if anyone has had the same issue or has any advice i'd be really grateful. Thanks. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=15456&image=1&table=forumtopics' class='bbc_emoticon' alt=':D' />

Sergey Kornilov admin 10/12/2010

I would suggest to resize all images locally use some batch image processing software like this one: http://www.rw-designer.com/picture-resize
Then upload all images to your website at once via FTP and bulk update your database via CSV. This is it.

T
tsp003 author 10/13/2010



I would suggest to resize all images locally use some batch image processing software like this one: http://www.rw-designer.com/picture-resize
Then upload all images to your website at once via FTP and bulk update your database via CSV. This is it.


Thank you, the batch resizer works brilliantly, I can see I'll be using it often.
However, the second part of the problem still remains. My client has said they only want one image folder on the server, but they have different applications that may require the images that reside there. From my tests, it is still the case that if the image is not uploaded via the PHPRunner application and already resides on the server, the application wont find or display the thumb image only the full sized one, which really messes up the list page, so am not really any further forward.
Thanks for your reply though, is much appreciated

Sergey Kornilov admin 10/13/2010

Troubleshooting on your server is required. Answered to personal email.