Open agramian opened 9 years ago
@joffems I have the attachment upload working through the web api however I cannot figure out how to generate the thumbnail and preview versions if it is an image. Where is the code performing this post-processing to generate the extra image sizes?
The code that triggers this is a built-in processor in paperclip. The processor uses the styles defined in uploads.rb.
The paperclip details can be found on the gem's github page. https://github.com/thoughtbot/paperclip
@joffems attachments uploading is implemented with PR #73 Currently it will only allow Result attachments. Once you have finished the uploads to apply to the other objects let me know and I can update.
@joffems PR #81 has the photos replaced with open source ones as well as some fixes/improvements to attachment uploading
Documenting my task to implement uploading attachments via the version 2 web api.
I will specifically focus on uploading images and make sure that works well before worrying about other types of attachments.