tkale86 / timthumb

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

Not working with external images #297

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.use an absolute URL of an image
2.
3.

What is the expected output? What do you see instead?
The following error(s) occured:
Error reading the URL you specified from remote host.Failed writing body
OR
The following error(s) occured:
An error occured fetching image.

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

Please provide any additional information below.
It works on local images though

Original issue reported on code.google.com by eugenia....@gmail.com on 3 Dec 2011 at 10:01

GoogleCodeExporter commented 9 years ago
can you give some examples of urls that don't work please?

Original comment by BinaryMoon on 5 Dec 2011 at 10:25

GoogleCodeExporter commented 9 years ago
Here is an exemple 
http://www.magazinebio.ro/timthumb.php?src=http://sb.shopmania.org/files/product
/ro/1105/m_1104695.jpg

Original comment by eugenia....@gmail.com on 18 Dec 2011 at 8:25

GoogleCodeExporter commented 9 years ago
I tried a little troubleshooting, it seems everything works fine up to 
curl_exec. This is when it returns the error "Failed writing body". So I gave 
up curl and switched to file_get_contents. Now it works.

Original comment by eugenia....@gmail.com on 21 Dec 2011 at 10:11

GoogleCodeExporter commented 9 years ago
For me it occurs for specific images and specific width and height values.
If I change width or height value this error occurs on different from previous 
images.

Original comment by reda.s...@gmail.com on 26 Jan 2013 at 4:37

GoogleCodeExporter commented 9 years ago
Hi,
I am using this usefull class but I get the same problem:
"Error reading the URL you specified from remote host".
This is run well on my local. But when I upload, it show the error above.
Has this problem been fixed?
Thank you,

Original comment by ro...@creative-game.com on 7 May 2013 at 1:41