pauleau / timthumb

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

External image url not correct #404

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Link to external image url but the url is cutoff automatically

What version of the product are you using? On what operating system?
lastest version

Please provide any additional information below.

I am using mimbo 3 theme. I am facing the issue of timthumb not showing 
external link images. I have updated the timthumb.php to the latest version and 
have changes both allow external sites and allow all external sites to true:

if(! defined('ALLOW_EXTERNAL') )            define ('ALLOW_EXTERNAL', true);                        
if(! defined('ALLOW_ALL_EXTERNAL_SITES') )  define ('ALLOW_ALL_EXTERNAL_SITES', 
true);

Now my problem is that (even though I have updated the code and set to true), 
the thumbnails do not show. if you right click on the image, you can see that 
the src automatically trims down and the url cutoff. For example, in my 
wordpress post I have used 

<img src="http://externalsite.com/vi/dMH0bHeiRNg/default.jpg" alt="" />

But on the front page, the actual url trims down to 

http://www.mysite.com/blog/wp-content/themes/mimbo/scripts/timthumb.php?zc=1&w=1
05&h=85&src=/vi/dMH0bHeiRNg/default.jpg

It is like it is not recognizing the external image link. Please suggest what 
should I do???

Original issue reported on code.google.com by ali.nawa...@gmail.com on 18 Oct 2012 at 6:43

GoogleCodeExporter commented 9 years ago
This is an issue with the theme not TimThumb. It does not work with external 
images.

Original comment by BinaryMoon on 3 Dec 2012 at 7:44