Page 2 of 2
Posted: Fri 10. Mar 2006, 11:12
by agemmell
Oliver Georgi wrote:no this is not correct
Thanks Oliver.
Any idea why it would allow me to upload a 199x2 pixel GIF but cause errors with a 260x2 pixel GIF? I tried it again with a 216x2 pixel GIF and that caused an error too.
All suggestions welcome!
Posted: Fri 10. Mar 2006, 11:58
by pico
Hi
GIF != GIF - means that ther are serval different Formats a GIF can have:
Number of Colors
Animated or not
Colortable
Transparency
Dither
Interlaced
and not all supported by GD
so sometimes it helps to open the GIF in ImageReady or what you use and
store it again with Settings you know that they work.
Posted: Fri 10. Mar 2006, 12:11
by agemmell
pico wrote:Hi
so sometimes it helps to open the GIF in ImageReady or what you use and store it again with Settings you know that they work.
Thanks pico, I will try that tonight.
Posted: Fri 10. Mar 2006, 12:29
by Oliver Georgi
maybe check file sizes.
Oliver
Posted: Fri 10. Mar 2006, 15:56
by kiwix
Hi,
which version of php. Take a look at this thread
http://www.phpwcms.de/forum/viewtopic.p ... highlight=
, where i found an issue for php 4.4.1 and phpwcms.
Maybe this is your problem (for me it looks very similar).
Cheers
KiWiX
Posted: Fri 10. Mar 2006, 16:08
by agemmell
@Oliver
I don't know what you mean "check filesizes". What should I be checking for? The GIFs are tiny - around 800bytes! Is this too small??
By the way - lots of "normal sized" JPGs and GIFs work, just these really thin (2px) and long (200px and over) GIFs don't.
@kiwix
My webhosts have PHP Version 4.4.0 (Build Date Jan 1 2006 13:53:18) installed.
I will try the code change explained in that thread you link to anyway and see what happens.
Posted: Sun 12. Mar 2006, 19:05
by agemmell
I just thougth I'd post a reply to update what I did (incase anyone was wondering):
UPDATE: I've ignored the problem
Actually, I worked around the problem. The file center works fine for "normal" JPGs and GIFs but just not these thin and long GIFs. So I worked around the problem by NOT uploading these GIFs into the file center.
I didn't really need to anyway because they were part of the template. So I simply put the GIFs in the pictures folder and linked to them from the HTML img tag as normal.
So the problem isn't solved - I've just ignored it and put it off until next time