I am trying to use timthumb.php for image processing on my site. When I try to pass image url to timthumb.php using:
<img src="'.home_url().'/timthumb.php?src='.$image_attributes[0].'&w=200"/>
It returns page not found error.
$image_attributes[0]
is the absolute URL of the image.
When I logged in using any user account, it works perfectly but for non-logged in users it returns page not found error.
if I pass anything else except URl or if I remove http://
, it returns without any issue. I need to pass image URL so that I can generate thumbnails but its not working for only guest users.