AI issues displaying image from files field in HTML report

Hi there,

I have been playing around with the new AI HTML reports. I have a gallery view showing for each entity the image as a head cover. I want to have a similar view in an HTML report, and the AI does almost everything great except for the images in the files field.
If the same picture is inside a Rich Text field, the AI can display it in an HTML report without an issue. Is there a workaround? Or should I paste all my images I have for each entity in a rich text field instead of uploading into files field?

Thanks!

Hi there! It’s been a while, hope you’re well. Good quetsion. Yes, there is a workaround. You want to use the images api. Here is an example:

// the Files API
https://therightplace.fibery.io/api/files/ca41bfea-a203-4f4f-b26e-51c642913866

// link to the same files using the Images API and shrunk to a smaller size
https://therightplace.fibery.io/api/images/a/ca41bfea-a203-4f4f-b26e-51c642913866?width=160&height=100&dpr=2

Hope that helps!

Hey @bear ,

hope you are doing fine my maps-brother, interesting, let me try this workaround!

Thanks for the help :slight_smile: