To kill the two last mapSizes, you should add an empty mapSize like this:

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

mapSizes.2.label =
mapSizes.2.width =
mapSizes.2.height =

big and giant disappear,

best regards,

eb

Emmanuel Belo wrote:
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
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
begin:vcard
fn:Emmanuel Belo
n:Belo;Emmanuel
org:MicroGIS SA
adr:;;ch. des Jordils 40;St-Sulpice;VD;1025;Switzerland
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ing=C3=A9nieur en g=C3=A9omatique
tel;work:+41 21 691 77 17
tel;fax:+41 21 691 77 86
x-mozilla-html:FALSE
url:http://www.microgis.ch
version:2.1
end:vcard

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to