Maintain the aspect ratio of an image between a Layout Element and a Report
One way to do this is to make the Report LE that is bound to your image field invisible. Then add a new, unbound value box element, and program it like this:
ThisElement = "<IMG SRC='C:\Sesame2\" + Image + " width='100'>"
A few notes:
- Replace "Image" with the name of the Report LE that is bound to your image field (the one you made invisible above).
- Modify "C:\Sesame2\" to "C:\Sesame2\Pics\" or as needed to point to the actual location of your images, keeping in mind that your image field may or may not contain part of the path (e.g. "Pics\MyImage.jpg"), depending what your Image Path is set for in the Application Property Manager.
- Adjust the size of the image in the Report by modifying the value after "width". You could use "height" instead, but you should not use both at the same time. By only setting one, you will maintain the aspect ratio of the image.