Skip to main content
Question

Is it possible to set the image size of an attachment field on an exact form?


I have an exact form that outputs multiple photos with a brief description under or above each photo. I want the print out to be one photo-with-description per page, and I have accomplished this by inserting page breaks between each photo-and-description set.

The problem I'm having is that the photo size in the printout is too big and this is pushing the photo description onto the next page. Is there a way to set a specific size of these photos on my exact form?

Thanks in advance.

Juan

This topic has been closed for replies.

It is best to control the image size prior to upload.

KeithJusas
Forum|alt.badge.img+7
try creating a new formula text field (Allow some HTML tags to be inserted in the field should be checked)

"<div><img src=\""&URLRoot()&"up/"& dbid() & "/a/r"& [Record ID#] &"/eFF/v0\" height=50;width=50;></div>"


FF=file attachment field id on your table


use this new field in the EF

  • Author
  • Registered
  • August 7, 2014
Thank you! Works exactly as expected!

Can we set the field such that the user gets an error message if the file is too large?

I used a variation on this theme.   My Exact form is indenting slightly.   The <div> in the text formula field reset this, so I took it out and it worked just fine.  Thanks.

  • Registered
  • February 16, 2017

I'm trying to use this formula (with and without the <div>) and it's not working for me. :(

All that displays is a small black box with an x in the middle. Thoughts on how to fix? Thanks!