Page 1 of 1

server code question, can I change image size of FILE collection (built-in collection)?

Posted: Wed Nov 06, 2013 1:19 pm
by Helsen

Hello,

I have 300 image files stored in Appery.io database, I need resize all images from 1mb to 100kb, can I run server side code to update this? any sample?


server code question, can I change image size of FILE collection (built-in collection)?

Posted: Wed Nov 06, 2013 3:15 pm
by Maryna Brodina

Hello! Working on it, I'll update.


server code question, can I change image size of FILE collection (built-in collection)?

Posted: Wed Nov 06, 2013 4:12 pm
by Kateryna Grynko

Hi Helsen,

This can be done using canvas: http://blog.liip.ch/archive/2013/05/2...


server code question, can I change image size of FILE collection (built-in collection)?

Posted: Wed Nov 06, 2013 5:30 pm
by Helsen

Thanks for quick replay, but this sample using client side script. Any way to do the same thing with only Server Code?


server code question, can I change image size of FILE collection (built-in collection)?

Posted: Thu Nov 07, 2013 10:22 am
by Maryna Brodina

Hello! No unfortunately there is no way to do it with server code, only on client side.