Error/warning in File Center

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
agemmell
Posts: 22
Joined: Tue 7. Mar 2006, 20:05

Post 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!
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
agemmell
Posts: 22
Joined: Tue 7. Mar 2006, 20:05

Post 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.
User avatar
Oliver Georgi
Site Admin
Posts: 9889
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

maybe check file sizes.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
kiwix
Posts: 65
Joined: Fri 25. Feb 2005, 09:40

Post 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
agemmell
Posts: 22
Joined: Tue 7. Mar 2006, 20:05

Post 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 wrote: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
@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.
agemmell
Posts: 22
Joined: Tue 7. Mar 2006, 20:05

Post 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 :D

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 ;)
Post Reply