ruby - Rails + Filepicker - how to create a thumbnail? -


i using filepicker upload , it's working quite well. need extend functionality creating thumbnails.

i not sure how it's working exactly, when upload image, url (for example https://www.filepicker.io/api/file/wenvmkjjrpoee6riw3vo).

when add parameters url, https://www.filepicker.io/api/file/wenvmkjjrpoee6riw3vo/convert?w=650, displayed image resized.

but how set resizing of image while upload? familiar paperclip, set dimensions of thumbnails , created within upload.

how works filepicker?

thanks

if understand question correctly want resize image before upload filepicker

you can use gem fastimage_resize resize picture push filepicker.

p/s: doubt filepicker uses same mechanism resize image on fly.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -