Bug 1050 - [Chameleon] Image_type is global to all chameleon
: [Chameleon] Image_type is global to all chameleon
Status: RESOLVED FIXED
: Chameleon
Core
: 2.2
: PC Linux
: P2 normal
: 2.2
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-05-24 15:50 by
Modified: 2005-05-27 11:36 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-05-24 15:50:25
In the Chameleon configuration file (chameleon.xml), there's a parameter to set
the output image type (png, gif, etc.). The problem is that this parameter is
global to all application using Chameleon. Could we use the mapfile parameter
when available instead of overiding it.

For example, some project using Chameleon can be in PNG24 and some in PNG. Ad we
don't want the user to overide the output format in the index.phtml everytime
since he probably already defined it in the mapfile.

As a solution, we can define a new "output format" where the output format used
will always be the one defined in th mapfile. Ex: 
<param-name>image_type</param-name>
<param-value>MAPFILE</param-value>
------- Comment #1 From 2005-05-24 16:03:33 -------
I like the idea of a new keyword to tell chameleon to take the value from the
mapfile. It could also be called "AUTO"?
------- Comment #2 From 2005-05-27 11:36:24 -------
I added support for the AUTO image type in the core and changed the default
value in chameleon.xml-dist to AUTO.

Marking as FIXED
------- Comment #3 From 2005-05-27 11:36:59 -------
Wrong button! Marking as FIXED