How do I get an Image (file attachment field) to appear on the list report of main table page?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
How do I get an Image, which is currently a field in a form as a "file attachment", to appear as a much smaller version on a list report pertaining to that table?
Photo of Priscila Cavalcante

Priscila Cavalcante

  • 192 Points 100 badge 2x thumb
  • frustrated

Posted 2 years ago

  • 0
  • 1
Photo of Matthew Neil

Matthew Neil

  • 31,698 Points 20k badge 2x thumb
Or you can just go straight to the formula text field for the image, and use something like this:

"<img height=\"80\" src=\"" & URLRoot() & "up/" & Dbid () & "/a/r" & [Record ID#] & "/e41/v0\" />"

changing the "41" to the field ID of your file attachment field.
Photo of Priscila Cavalcante

Priscila Cavalcante

  • 192 Points 100 badge 2x thumb
Hi Matthew, this worked out perfectly. However, if I update the [image] field the new field which we called [display image] does not update with the current image. Is there something that can be done automatically or manually every time a new image is uploaded so that it can be reflected in the main table page?