media::image alignment

1503
3
Jump to solution
12-12-2021 06:06 AM
JenMcRuer
Occasional Contributor

Hello, 

Is there a way to align (left, right) images entered into the media::image column, to override the default centred alignment?

 

Thanks.

0 Kudos
1 Solution

Accepted Solutions
FrankOuyang
Esri Contributor

I don't think this option is currently available. Please see this previous post.

View solution in original post

3 Replies
FrankOuyang
Esri Contributor

I don't think this option is currently available. Please see this previous post.

JosephKelly
New Contributor III

I was looking for solutions to aligning and resizing an embedded image when I ran across your question. I realize your question is nearly 4 months old, but I believe I have a solution for you.

Survey123 Connect supports HTML formatting in the "label" column. I used the img HTML tag, added my parameters, and it WORKED! I attached an image.

the code is as follows (provided the image file is saved in the media folder of your Surve123 project) : 

<img src="fileName_as_it_appears_in_mediaFolder" alt="Alternate Name" width="0000" heigth="0000"  style="align">

I Hope This Helps

Joseph Kelly 

rwrenner_esri
Esri Contributor

Joseph's solution above is a great workaround. Also wanted to note that the same method works in the hint column in case that's better for your formatting use case. (E.g. so the "required" star doesn't appear after the image.)

0 Kudos