1

The default view of the attachMany relations, tries to show the preview of the file even for non-image files. For example in the following snapshot, october tries to show preview of the pdf files:

enter image description here

As you can see, the preview fails for pdf files. I need to fix this behavior. How can I override the HTML shown for the uploaded files?

B Faley
  • 17,120
  • 43
  • 133
  • 223

1 Answers1

2

Can you post the fields.yaml config for the form? I guess it includes

type: fileupload
mode: image

Mode image is what tells october to create thumbnails

jboka
  • 36
  • 2