Correctly orienting photos in feature description
Hi,
I've got a point feature class with photos as attachments.
I use a feature long description to display the photo as a thumbnail in the map tip and the attribute list in the side panel. The georeferenced photos in my feature class have a mixture of portrait and landscape orientation, but currently they only display in landscape orientation until they are opened in a separate browser tab.
How can I display my thumbnails with the original photo orientation?
I've tried modifying every CSS I can find, including the correct custom (all verified in browser) with: img { image-orientation: from-image; }
No luck. That said, I'm not your best CSS guy so really I'm just plonking this text in.
This is my feature description structure: <div>
<a href="my map service"><img src="my map service" alt="Image" height="200" width="300"/></a>
</div>
Can I do anything here in html?
Has anyone solved this already?
Leon.
0
-
You could try using percentages instead of hard coding your height and width? And if you have photos in multiple orientations, you could just set one of the properties, e.g., height=50% 0 -
A very good suggestion, but no luck unfortunately. 0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer