S3
S3 copied to clipboard
How would you use this with imagemagick?
I am trying to use imagemagick (classcraft:imagemagick) to resize files within the S3.upload callback. I tried writing a server method and calling it inside the callback but it says Imagemagick is undefined. Do you have any experience or ideas here? Thanks
Hi! I haven't tried using image magick. The issue you are stumbling with is the fact that the image is being uploaded directly to S3. Because the image does not exist in the servers memory it cannot process it. There might be a way to target the S3 image from the server but I really don't recommend doing that for image manipulation since it will take a big toll on your servers processing power. I recommend using something like my cloudinary package or building a canvas based editor on the front end before uploading.
thanks! how does your cloudinary package sync with s3? is there an example of that to look at?
I haven't tried it but I know that you can set it up via cloudinary's dashboard. :D
Marcelo Reyna
On Mon, Sep 28, 2015 at 9:20 AM, adriamooney [email protected] wrote:
thanks! how does your cloudinary package sync with s3? is there an example of that to look at?
Reply to this email directly or view it on GitHub: https://github.com/Lepozepo/S3/issues/89#issuecomment-143795025