File Browser Problem on PNGs and some GIF Files

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
cryx666
Posts: 4
Joined: Sun 9. Oct 2005, 14:19

File Browser Problem on PNGs and some GIF Files

Post by cryx666 »

Hi,
this problem occurs with the new install of 1.2.5-DEV , and also with the new install of CVS from 04.10.2005.

When there is a PNG file in the list, the browser doesn't show anything after that file. (see screenshot) (also happens with some GIF Files)
I tried several PNG files and its always the same problem.

I set Imagick = 0 and GD = 1. Never had Problems with GD2 (since now).
When i set

Code: Select all

$phpwcms["imgext_disabled"]   = 'png';
the listing in the file browser works, but i also can't use PNG images in articles.

PHP_INFO shows this:
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled


SafeMode is ON.

Image

Where is the bug?

Grüße. Jahn
--------
Thanks for this cool CMS.
Pappnase

Post by Pappnase »

hello

what happens if you leave this empty!?

Code: Select all

$phpwcms["imgext_disabled"]   = 'png';
i work also with png without problems!
cryx666
Posts: 4
Joined: Sun 9. Oct 2005, 14:19

Post by cryx666 »

Pappnase wrote:hello

what happens if you leave this empty!?

Code: Select all

$phpwcms["imgext_disabled"]   = 'png';
i work also with png without problems!
Wenn ich $phpwcms["imgext_disabled"] leer lasse passiert das was auf dem screenshot zu sehen ist: es wird nichts mehr angezeigt nach der png datei.
Scheint so als ob das skript immer wenn es versucht png zu lesen bzw darzustellen abbricht, wie auf dem screenshot zu sehn wird dann auf der seite nicht mal mehr das ganz recht DIV angezeigt. Je nachdem wie die PNG datei heißt passiert das eben weiter oben in der Liste oder wenn sie z.b. zebra.png heißt eben dann erst weiter unten. Im ImageBrowser für die Artikel passiert das gleiche..

when i $phpwcms["imgext_disabled"] leave empty then happens what is shown on the screenshot, after a png file nothing is shown .
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

vielleicht funktioniert ja die PNG Unterstützung bei deinem Server nicht richtig!? oder das PNG ist in einem nicht unterstützten Farbformat !?
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
cryx666
Posts: 4
Joined: Sun 9. Oct 2005, 14:19

Post by cryx666 »

pico wrote:vielleicht funktioniert ja die PNG Unterstützung bei deinem Server nicht richtig!? oder das PNG ist in einem nicht unterstützten Farbformat !?
Nein das kann nicht sein, ich habe selber schon ein Skript geschrieben das die Funktion imagecreatefromPNG benutzt und somit eine Grafik X-mal speichert nur mit verschieden eingefügtem Text.
Am Format des PNGs kanns auch nicht liegen, ich habe pngs verschiedenster Sorte ausprobiert, gespeichert mit XnView, Fireworks oder InkScape..
Ich probiere grade selber herauszufinden woran genau es liegt und editiere den code von phpwcms etwas selber, ausserdem update ich heute abend noch auf die neueste CVS Version.
Wenn ich herausgefunden habe woran es liegt, melde ich es hier.

gruß
jahn
Post Reply