This branch will allow PDFs to be uploaded. Fixes issue
It has been necessary to change the original image format to large, as original actually edits the original, rather than making a copy called original which was expected. This image format is currently not used anywhere, so is not a problem currently.
However, if the large format is used in future, pictures uploaded before this change will fail to load the "large" format. I will look to fix this with a migration in the future.
[x] Enable pdf upload
[ ] Migration to create large format of all existing images
This branch will allow PDFs to be uploaded. Fixes issue
It has been necessary to change the
original
image format tolarge
, asoriginal
actually edits the original, rather than making a copy calledoriginal
which was expected. This image format is currently not used anywhere, so is not a problem currently.However, if the large format is used in future, pictures uploaded before this change will fail to load the "large" format. I will look to fix this with a migration in the future.