rifanece / timthumb

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

External images not getting displayed. #102

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Images on external server is not getting displayed not, what can i do to fix 
this problem ?

Original issue reported on code.google.com by metallic...@gmail.com on 5 Aug 2010 at 4:37

GoogleCodeExporter commented 8 years ago
Same

Original comment by chiefvoo...@gmail.com on 7 Aug 2010 at 1:19

GoogleCodeExporter commented 8 years ago
+ imaged hosted in flicker is also not getting displayed. only images in 
wp-content/uploads are visible

Original comment by metallic...@gmail.com on 8 Aug 2010 at 7:34

GoogleCodeExporter commented 8 years ago
did you guys list the allowed external sites in the TimThumb file (almost at 
the end)

Original comment by paul.vra...@gmail.com on 11 Aug 2010 at 8:33

GoogleCodeExporter commented 8 years ago
@paul.vranken
how to do that ?

Original comment by metallic...@gmail.com on 12 Aug 2010 at 4:27

GoogleCodeExporter commented 8 years ago
We added our server to the allowed external domain list in the source.
When we tried to run the script using images from the different domain to the 
one where the script is located using the following syntax: (servername is 
changed)

http://dev.servername.com/wp-content/themes/one/thumb.php?src=http://db.serverna
me.com/images/1.png&w=242&h=120&zc=1

and get the following error:

Warning: fopen(./temp/79565336813a54078969affb71cbb14f.png) [function.fopen]: 
failed to open stream: No such file or directory in 
/home/devmobi/public_html/wp-content/themes/Aspin-3.1-1.2/thumb.php on line 590

Warning: curl_setopt(): supplied argument is not a valid File-Handle resource 
in /home/devmobi/public_html/wp-content/themes/Aspin-3.1-1.2/thumb.php on line 
598

Warning: fclose(): supplied argument is not a valid stream resource in 
/home/devmobi/public_html/wp-content/themes/Aspin-3.1-1.2/thumb.php on line 608

Warning: Cannot modify header information - headers already sent by (output 
started at 
/home/devmobi/public_html/wp-content/themes/Aspin-3.1-1.2/thumb.php:590) in 
/home/devmobi/public_html/wp-content/themes/Aspin-3.1-1.2/thumb.php on line 730

local file for http://db.androidspin.com/buildphotos/339/339-1.png can not be 
created
TimThumb version : 1.14

It works fine if we use an image on the same server.

Original comment by SimonNWa...@gmail.com on 23 Aug 2010 at 4:13

GoogleCodeExporter commented 8 years ago
I have the same issue, even if I add to config new URL - External images not 
getting displayed

Original comment by xfr...@gmail.com on 31 Aug 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Hi.

I had the exact same problem.

I solved it by making the /temp folder. 

Check if you have the right folder.

Original comment by Den...@gmail.com on 2 Sep 2010 at 12:27

GoogleCodeExporter commented 8 years ago
Make sure the /temp folder has 775 permission

Original comment by qzmf...@gmail.com on 7 Oct 2010 at 5:58

GoogleCodeExporter commented 8 years ago
@HermitofNM, 
yes the permission of temp folder in 775, i even tried 777 but no sucess in 
displaying external images, even images from flickr doesn't display

Original comment by metallic...@gmail.com on 7 Oct 2010 at 6:40

GoogleCodeExporter commented 8 years ago
If you are having issues with images displaying then please post some sample 
urls of timthumb with the image source so that I can take a look. Also note 
that some websites block external requests so simply won't work :(

Original comment by BinaryMoon on 3 Nov 2010 at 4:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm also having issues with Flickr images not showing up as thumbnails, even 
though locally hosted images work just fine. I've checked the temp folder and 
downloaded the latest version of timthumb, but no luck. Any other tips? 

Original comment by j.abeyew...@gmail.com on 18 Nov 2010 at 6:45

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i have the same problem.
hosted on same server works just fine but in external servers just give error 
and says:

"error reading file http://www.jmarior.net/wp-images/flor02.jpg from remote 
host: 
Query String : 
src=http://www.jmarior.net/wp-images/flor02.jpg&h=140&w=140&zc=1&q=90
TimThumb version : 1.19"

here are some samples:

http://wordpress.creativepartner.cl/timthumb.php?src=http://www.jmarior.net/wp-i
mages/flor02.jpg&h=140&w=140&zc=1&q=90

Original comment by wako...@gmail.com on 3 Jan 2011 at 6:29

GoogleCodeExporter commented 8 years ago
Hi, 

Tim thumb script is working fine, My issue is with absolute path and relative 
path. 

when i give relative path, i get the output. but when i use the absolute path, 
i am getting 403 forbidden error. 

I would like to use absolute path. Pleas advise

http://crizaze.com/wp-content/themes/joorang/timthumb.php?src=/wp-content/upload
s/2011/01/ami166a-e1295733091216.jpg&h=80&w=80&zc=1

Thanks!

Original comment by vimal562...@gmail.com on 31 Jan 2011 at 3:23

GoogleCodeExporter commented 8 years ago

Original comment by BinaryMoon on 6 Feb 2011 at 9:42