[opencms-dev] can OpenCMS handle PNG ?

Nicolas Delsaux nicolas.delsaux at online.fr
Thu Jun 12 10:20:02 CEST 2003

On Wed, 11 Jun 2003 22:23:42 -0700 (PDT), Alin Dragota 
<alindragota at yahoo.com> wrote:

> Hi
> As I know by now ... OpenCMS can see only JPG, JPEG and GIF format.
> You need a program to translate the png format into one of those formats.
> Best regards

Yup, After a look to CmsPictureBrowser (and especially the method 
isImage(boolean filename)), I can confirm than, for now, OpenCms can only 
handle JPEG and GIF images, since the file types are hardcoded.
Since I have no time now to get involved in the development of OpenCMS, I 
suggest to the developpment team (that Thomas seems to represent very well) 
to replace the code isImage by a code using the resources types definition. 
By this mean, it could be possible to any user to define new images types, 
provided the browser can handle those types in the gallery viewer.

> Alin
> mailto: alin.dragota at schartner.net

Nicolas Delsaux
"L'important n'est pas de se libérer du corps, mais de se libérer du 
mental. Ce n'est pas le corps qui nous empètre mais l' esprit."

More information about the opencms-dev mailing list