ferenznetworks / timthumb

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

Timthumb not wok in Google Chrome?! #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I have a problem with image not showing in Google Chrome.

See:
http://www.usp.br/agen/

I use script timthumb.php, and the images show correctly in IE 6,7,8,
Firefox, Safari and Opera, but not show in Google Chrome.

Its a problem only with me or its a bug of timthumb?!

I use Timthumb r63, Google Chrome 2.0.172.139, Windows XP and Windows Vista.

Thanks

Original issue reported on code.google.com by george.c...@gmail.com on 20 Aug 2009 at 2:53

GoogleCodeExporter commented 8 years ago
I also have this problem. Some images work however, and I've tried to find a 
pattern 
but failed. Please, could you resolve this?
 I am using the Thesis Wordpress theme, which uses Timthumb.

Original comment by doggi...@gmail.com on 26 Sep 2009 at 1:51

GoogleCodeExporter commented 8 years ago
Apparently this is fixed by clearing the cache.

Original comment by doggi...@gmail.com on 26 Sep 2009 at 1:53

GoogleCodeExporter commented 8 years ago
Clearing the image cache did not help for me. Images are created in cache, but 
does 
not appear on web page.  Before clearing cache, some 10% of the images was 
shown, but 
i could not see any difference between those who worked and those who did not. 

All is fine in firefox, IE8 and Opera, both before and after clearing cache.  

I did not see this error before moving to new host with php5 (was php4), now 
using 
apache 1.3.37 and php 5.2.3 on a linux machine.

Any ideas?

Original comment by Pepto.Sv...@gmail.com on 1 Dec 2009 at 9:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
all works fine for me (on my own sites and the ones linked above). Is there 
somewhere
I can see this error for myself?

Original comment by BinaryMoon on 31 Dec 2009 at 5:14

GoogleCodeExporter commented 8 years ago
I use a script that has 30 thumbnail and full size images at a time appear on 
the
mainpage (wordpress) and I've been testing on Chrome for months now. Never had a
problem yet.

Cant say for sure Chrome has issues.

Original comment by anonymou...@gmail.com on 9 Jan 2010 at 3:41

GoogleCodeExporter commented 8 years ago
I am going to flag this as "not an issue". TimThumb is server based software so
should not be affected by browser. Feel free to reopen if you can give proof or
instructions for reproducing the error.

Original comment by BinaryMoon on 11 Jan 2010 at 4:30

GoogleCodeExporter commented 8 years ago
I'll jump in here since I'm having issues with Chrome as well.  Not on ALL 
thumbs, but 
some.  Please check my site: http://floatingpointmedia.com - on the homepage, 
there are featured projects at the top.  Not all of the small thumbs are 
working. Also, 
clck on the "Blog" page, and 2 thumbs near the bottom aren't showing up. 

I've tried all I can think of, but no luck - not showing up ONLY in Chrome (I'm 
on a 
mac, btw).  I've checked in all other browsers I have, and no problems.  I'm 
baffled 
since, as BinaryMoon said, it's server-side.  There has to be something in the 
src url 
of the image that Chrome doesn't like.

Any ideas out there? Another question - is this a TimThumb problem or a Chrome 
problem?

Original comment by clevercu...@gmail.com on 14 Jan 2010 at 5:28

GoogleCodeExporter commented 8 years ago
This is affecting me as well.

Timthumbs seems to be working well on other browsers, but seems to work
inconsistantly on Chrome 4.0.249.89 unknown (38071)

If you get your browser to view the image in a new tab or window when its 
working you
should see a generated thumb image.

Whats weird with chrome is sometimes an image that has not been working will 
start to
and vica versa.  And in cases where it does not show in Chrome, you can copy 
that
Thumb generation URL and paste it in another broswer and it shows without issue.

So to me its either a case of Chrome not handling the generated code right or
Timthumbs code is a bit dodgy but other browsers 'fix' the broken code.

Original comment by websites...@googlemail.com on 6 Mar 2010 at 7:54

GoogleCodeExporter commented 8 years ago
I was experiencing the same issue and thought it was browser related BUT it's 
not.
Clear the cache (Delete everything thats in the cache folder that comes with the
timthumb script) and everything will work perfectly.

Original comment by ukwelis...@gmail.com on 23 Mar 2010 at 6:19

GoogleCodeExporter commented 8 years ago
If u are using a plugin/theme that use timthumb.php in it update with the 
newest 
version http://timthumb.googlecode.com/svn/trunk/timthumb.php
(take a backup of just in case)

Thanks for the great code!

Original comment by spi...@gmail.com on 26 Apr 2010 at 8:34

GoogleCodeExporter commented 8 years ago
Same issue here, and with latest version from the google repository. Firefox 
renders 
fine, chrome fails on some. and is inconsistent. Clearing the cache directory 
does not 
work for me. This is a Chrome problem

Original comment by ake...@gmail.com on 3 May 2010 at 5:33

GoogleCodeExporter commented 8 years ago
Having the exact same issue. Works sometimes and sometimes not. Clearing the 
timthumb
cache on the server is not helping for me. Mac and Chrome 5.0.375.38 beta. 
Opening
the same url in FF works every time. 

Original comment by jonas1el...@gmail.com on 12 May 2010 at 4:42

GoogleCodeExporter commented 8 years ago
Has anyone found a solution for this?
I've realized that chrome shows thumbnails 50x50 but if you change the width 
and height to a bigger value, 
doesn't work anymore, put this url in your chrome:

http://test.frucomerci.com/wp-content/themes/rds/timthumb.php?src=/wp-
content/uploads/foto2.jpg&h=50&w=50&zc=1&q=100

then try this other one:

http://test.frucomerci.com/wp-content/themes/rds/timthumb.php?src=/wp-
content/uploads/foto2.jpg&h=300&w=710&zc=1&q=100

Just changed the values of h and w....

Original comment by frucome...@gmail.com on 24 May 2010 at 11:57

GoogleCodeExporter commented 8 years ago
Clearing the cache and updating to latest version 
http://timthumb.googlecode.com/svn/trunk/timthumb.php worked for me. Halejuah!

Original comment by steinark...@gmail.com on 31 Aug 2010 at 8:23

GoogleCodeExporter commented 8 years ago
Upgrading from 1.09 to 1.16 fixed the problem for me.

Original comment by mark...@gmail.com on 4 Oct 2010 at 4:44

GoogleCodeExporter commented 8 years ago
I found that by removing the "Content-Length" from the header produced by 
timthumb fixed the issue.

Original comment by magnam...@gmail.com on 4 Oct 2010 at 10:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Yeeeees! removing the "Content-Length" working for me too!

Original comment by vital...@gmail.com on 12 Nov 2010 at 2:41

GoogleCodeExporter commented 8 years ago
HI All,

I have read all the above problems and tried everything but all efforts were in 
vain. IE8 hails my all effort. I am using thumb.php (ver - 1.08) and also tried 
with timthumb.php (ver:1.25 & 1.19) but no image showing in IE8. The script is 
working just fine in FF & Chrome. Can any body help pls.

pranoy

Original comment by pranoy.s...@gmail.com on 1 Apr 2011 at 7:54

GoogleCodeExporter commented 8 years ago
I couldn't thank you more for "the removing the "Content-Length" answer!

It's working!!!!

Original comment by valasa...@gmail.com on 18 Apr 2011 at 8:51

GoogleCodeExporter commented 8 years ago
How do you remove the content header ?

Original comment by REDCE...@gmail.com on 25 Apr 2011 at 11:03

GoogleCodeExporter commented 8 years ago
remark this line

from

header("Content-Length: " . $fileSize);

to

//header("Content-Length: " . $fileSize);

Original comment by levindec...@gmail.com on 29 Apr 2011 at 8:57

GoogleCodeExporter commented 8 years ago
I am having the same issue. I have removed the 'content length' line, didn't 
help. Im using timthumb 1.26.

I did try changing the image size called in the script to 50x50 - this helped. 

What does this point to? a memory limit being exceeded in chrome only?

Original comment by brookwar...@gmail.com on 10 May 2011 at 10:13

GoogleCodeExporter commented 8 years ago
brookwar, you might try updating to the current version of timthumb (2.0 I 
believe)

Content length worked for me, and I am eternally grateful!!!!!

Original comment by timfl2...@gmail.com on 19 Jul 2011 at 9:18

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by Vip...@techmodi.in on 24 May 2013 at 12:32

Attachments: