joshihardik / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 0 forks source link

How to change folder of stored images? #459

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using two wordpress installations on same domain with same database (all 
content doubled).
Problem:
So I update the blogs in the subfolder domain.com/blog/ and images are stored 
http://www.domain.com/blog/wp-content/themes/iphoto/timthumb.php?src=http://www.
domain.com/blog/wp-content/uploads/2013/08/picture.jpg&w=265&zc=1
Problem:
When accessing the blog in the root folder, timthumb is trying to take the 
pictures from 
http://www.domain.com/wp-content/themes/iphoto/timthumb.php?src=http://www.domai
n.com/wp-content/uploads/2013/08/picture.jpg&w=265&zc=1

How can I change this for the installation in the root to catch the images from 
subfolder /blog/ ?

Original issue reported on code.google.com by foxxxme...@googlemail.com on 1 Aug 2013 at 10:34

GoogleCodeExporter commented 8 years ago
use timthumb-config.php and the LOCAL_FILE_BASE_DIRECTORY define 

Original comment by BinaryMoon on 27 Sep 2013 at 9:23