Forums » Changing Map Balloon to Square Thumbnail

RSS feed for this topic

Info

  • Posted in Plugins
  • Started 2 years ago by davecolamaria
  • 3 posts by 2 users
  • Latest reply from davecolamaria
  1. The image balloons on geolocation are showing (I believe) the thumbnail image. I'd like to change this to square thumbnail, as I've bumped up thumbnail size for use elsewhere, and it looks odd in the balloon now.

    Can I control which image the map balloons show?

    Thanks!

  2. Hey Dave,

    Open Geolocation/views/shared/map/browse.kml.php

    Then change this line:

    echo link_to_item(item_thumbnail(), array('class' => 'view-item'));

    to this:

    echo link_to_item(item_square_thumbnail(), array('class' => 'view-item'));

    Let me know if that works.

  3. As usual, just the answer I need. Looks perfect now. Thanks so much!

    (and apologies for not finding it myself...)

Topic Closed

This topic has been closed to new replies.