I've not run into the image rotation issue you mention, but I can tell you how to add an image in EF+.
You're going to start with 4 fields
- The actual File Attachment field - called [FA] for our purposes
- A Formula URL field that results in the URL for the FA - [FA URL]
- URLRoot() & "up/" & DBid() & "/a/r" & [Record ID#] & "/e16/v0" - where 16 would be replaced with the FID of the FA field
- A Formula Rich Text field that displays the image referenced by the URL - [FA Image]
- "<div><img src=\""&[FA URL] & "\"></div>"
- A Formula Rich Text field that creates the necessary EF+ code - [EF Image]
- "<div style='text-align: left'>~i:45:80~</div>" - Where 45 would be replaced with the FID of the FA Image field
When building your EF+ document, you'll need to insert the FID for [EF Image] into the document where you want the image to appear. You'll also need to include both the FID for [FA Image] AND [EF Image] in the CLIST section of the Document Template setup, being sure to put the [EF Image] FID before the [FA Image] FID.
Now, as for re-sizing the image, that is done with the 2nd number in the formula for the [EF Image] - in this example, 80. This controls the Width and will re-size the image based on that value and will maintain the aspect ratio of the original image.
Now, with all that said, feel free to combine any of the formulas, if you're comfortable with that.
------------------------------
Blake Harrison
bharrison@datablender.io
DataBlender - Quick Base Solution Provider
Atlanta GA
404.800.1702 /
http://datablender.io/------------------------------