[Map Module] Thumbnail in infowindow 0.4.10

Mozambique

Joined: 2005-11-29
Posts: 108
Posted: Wed, 2006-02-22 08:01

Once again, Thank you for a fantastic module.

Testing the 0.4.10, I noticed that thumbs in infowindow now are square (using the centered template and 200px thumbs in gallery)
Stretched thumbnails doesn't look nice, so I changed max-width:150px;max-height:200px to max-width:200px;max-height:200px.
Any reason for this modification in template, or just a result of cleaning the code?

Moz

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Wed, 2006-02-22 13:36

The reason for this modification of the templates is because of groups. For a group you may upload any picture of ANY size, which means that when the infowindow is open, it looks horrible :-)

For some reason max-width and max-height isn't working for you. If the picture is smaller than 200x200 it should look "normal" (at least it does for me) but if it's bigger than 200x200, then it would reduce it.

I'm not quite sure why you're experiencing this. I will take a look
-------------------------
The Termite :-)