oseawey / timthumb

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

.gif image problem. #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put an image url to a .gif file.

What is the expected output? What do you see instead?
Error:

Warning: imagecreatefromgif() [function.imagecreatefromgif]: 
'/home/noobowne/public_html/mgames/images/multiplayer-poker.gif' is not a valid 
GIF file in 
/home/noobowne/public_html/templates/noobownedv2/scripts/timthumb.php on line 
308

Warning: Cannot modify header information - headers already sent by (output 
started at 
/home/noobowne/public_html/templates/noobownedv2/scripts/timthumb.php:308) in 
/home/noobowne/public_html/templates/noobownedv2/scripts/timthumb.php on line 
728
Unable to open image : 
/home/noobowne/public_html/mgames/images/multiplayer-poker.gif
TimThumb version : 1.14

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

V: 1.14 on Windows 7

Is it possible for me to just to close off .gif files. And just whenever it 
detects a .gif file go to the main url that was set in src.

Original issue reported on code.google.com by cyruskaf...@gmail.com on 23 Jul 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Para resolver este problema:
Estou utilizando o jQuery e o jquery.validator para apenas aceitar no input 
file apenas .jpg, .jpeg e .png

Original comment by swpbra...@gmail.com on 28 Jul 2010 at 7:10

GoogleCodeExporter commented 9 years ago
There have been some changes to the code that may have fixed this. Please test 
the latest version and let me know if there are still problems.

Original comment by BinaryMoon on 27 Sep 2010 at 2:30