best practice file/image upload in modules
Posted: Fri Feb 19, 2016 9:24 pm
Hi,
the new development tutorial inspired me to develop my first cmsms module. Ty for the effort to write and publish it!
Actually I'm stuck on a basic design issue: I want the admin user to upload images and data in my module backend and just asked my self, if I have to build all the code for the upload, sanitize, conversion and resizing myself, if the fileManager module does it quite well already.
Similar to this old topic: http://forum.cmsmadesimple.org/viewtopic.php?f=6&t=6249
I checked the code of the fileManager module, but couldn't find any obvious hook, so I ask for your best practice or even a tutorial, how to solve uploads in cmsms modules.
Any help is appreciated
J-C
the new development tutorial inspired me to develop my first cmsms module. Ty for the effort to write and publish it!

Actually I'm stuck on a basic design issue: I want the admin user to upload images and data in my module backend and just asked my self, if I have to build all the code for the upload, sanitize, conversion and resizing myself, if the fileManager module does it quite well already.
Similar to this old topic: http://forum.cmsmadesimple.org/viewtopic.php?f=6&t=6249
I checked the code of the fileManager module, but couldn't find any obvious hook, so I ask for your best practice or even a tutorial, how to solve uploads in cmsms modules.
Any help is appreciated
J-C