[Cartoweb-users] cw3.1:mapSizesActiv: howto set images dimension?

Frédéric Junod frederic.junod at camptocamp.com
Fri Feb 24 06:06:32 EST 2006


Hi, 

Try to add a label to the mapSizes:

mapSizesActive = true
mapSizesDefault = 0

mapSizes.0.label = 400x300
mapSizes.0.width = 400
mapSizes.0.height = 300

mapSizes.1.label = 800x600
mapSizes.1.width = 800
mapSizes.1.height = 600

Hope that helps ...


Fréd


Le vendredi 24 février 2006 à 11:20 +0100, Emmanuel Belo a écrit :
> Hi,
> 
> as written in the documentation 
> (http://www.cartoweb.org/doc_head/docbook/xhtml/user.images.html), i 
> wrote these lines in my projects/<myMap>/client_conf/images.ini
> 
> mapSizesActive = true
> mapSizesDefault = 0
> 
> mapSizes.0.width = 400
> mapSizes.0.height = 300
> 
> mapSizes.1.width = 800
> mapSizes.1.height = 600
> 
> these 2 sizes don't appear and i still have the 4 default mapSizes in my 
> browser(small, normal, big, giant).
> 
> If i set the mapSizesActive  to false, then the menu disappear -> i 
> think that i'm modifying the right file, reinstalling the ini files and 
> cleaning the cache ok,
> 
> Do you know where the problem is?
> 
> Best regards,
> 
> Emmanuel Belo
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users



More information about the Cartoweb-users mailing list