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

Emmanuel Belo emmanuel.belo at microgis.ch
Fri Feb 24 06:32:12 EST 2006


Thank you Frédéric,

i've done as suggested and now, the menu has:

- 400 x 300
- 800 x 600
- big
- giant

that isn't much better ,-)

eb

Frédéric Junod wrote:
> 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
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: emmanuel.belo.vcf
Type: text/x-vcard
Size: 350 bytes
Desc: not available
Url : http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060224/11b1a067/emmanuel.belo.vcf


More information about the Cartoweb-users mailing list