Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Last active December 24, 2015 22:39
Show Gist options
  • Select an option

  • Save objectivehtml/6874612 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/6874612 to your computer and use it in GitHub Desktop.
This example is for Photo Frame, but should work with anything else too.
{your_map_field id="map"}
{your_photo_field}
<img src="{photo:url}" alt="{title}" />
{/your_photo_field}
{/your_map_field}
Or...
{exp:channel:entries channel="locations"}
{exp:gmap:marker id="map" latitude="{your_lat_field}" longitude="{your_lng_field}" geocode="false"}
{your_photo_field}
<img src="{photo:url}" alt="{title}" />
{/your_photo_field}
{/exp:gmap:marker}
{/exp:channel:entries}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment