OK, if you’re bringing a picture onto the web page you are designing, you can display it life size or you can resize it by specifying height and width.
<IMG SRC=“Folder/Subfolder/Target.jpg” WIDTH=“377” HEIGHT=“71”> that kind of thing
…but! If you don’t know the original dimensions of the image, you can distort the image onscreen. How do you get an image to resize proportionally, preserving the aspect ratio? I was told to use the NATURALSIZEFLAG, but I don’t seem to have the hang of it.
The HTML in question is being calculated in FileMaker Pro, so the actual image source will be different depending on what record is the active record (i.e., calculation field defined as “…”<IMG SRC="&QMk&“Folder/Subfolder/”&FIELDNAME&".jpg"…", etc), so I don’t know the parameters of the image beforehand. Some will be square, some tall rectangles, some wide rectangles.
Disable Similes in this Post