m7com / timthumb

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

Moved wordpress to another directory and timthumb keeps trying to load images from the old directory. #433

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I followed these instructions -- 
http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site 
-- to move my site from http://www.example.com/blog to http://www.example.com.

Everything worked fine except all the thumbnail images for the posts show the 
"broken image" symbol because timthumb keeps trying to load them from the old 
blog directory such as this:

http://www.example.com/wp-content/themes/arthemia-premium/scripts/timthumb.php?s
rc=/blog/wp-content/uploads/2013/02/-647394004138267550.jpg&w=150&h=150&zc=1&q=1
00

Why does timthumb insist on loading images from the blog directory? How do you 
make timthumb work with the current site settings?

WP 3.4.2 and Timthumb 2.8.11

Original issue reported on code.google.com by dori...@gmail.com on 16 Feb 2013 at 7:04

GoogleCodeExporter commented 8 years ago
This is not a TimThumb issue. This comes from your theme. TimThumb can't 
control the parameters being passed to the url! You need to update the database 
data to remove the /blog/ element from the thumbnail url.

Original comment by BinaryMoon on 24 Oct 2013 at 6:46