Ended up figuring both methods out using online images, not embedding the images within the tiles. This was most efficient for my case because there were ~700 points and associated images to incorporate for this project. Hopefully this will be of help to others in future searches:
- Example code to embed an online image in a tooltip (replace [ with < & ] with >):
Example code to embed an online image in a tooltip:
[img src="{{{PHOTO_HYPERLINK}}}" width="280px" /]
where {{{PHOTO_HYPERLINK}}}{{{PHOTO_HYPERLINK}}}
is a shapefile attribute field containing urls to online images and the embedded image is constrained to being 280 pixels wide
- Example code to link to an online image in a tooltip (replace [ with < & ] with >):
Example code to link to an online image in a tooltip:
View Photo in New Window
[a href="{{{PHOTO_HYPERLINK}}}" target="_blank"]View Photo in New Window[/a]
where {{{PHOTO_HYPERLINK}}}{{{PHOTO_HYPERLINK}}}
is a shapefile attribute field containing urls to online images
in the tooltip the text "View Photo in New Window" will appear, and by clicking that text the online image will be opened in a new browser tab (target="_blank")target="_blank"