Hello,
I am a new member.
I want the admin user to be able to add photos and data to my module's back end. I'm wondering if I need to write all of the code for uploading, sanitizing, converting, and resizing myself, or if the fileManager module handles it effectively enough.
Thank you for your help!
Load photos into module
-
- New Member
- Posts: 1
- Joined: Wed Feb 12, 2025 10:29 am
Load photos into module
Martin Phelps geometry dash subzero
Re: Load photos into module
Hi,
I'm not sure I fully understand your needs but you should take a look at the excellent ECB2 module (https://dev.cmsmadesimple.org/projects/ecb2) and its image-related features
+++
Benoit
I'm not sure I fully understand your needs but you should take a look at the excellent ECB2 module (https://dev.cmsmadesimple.org/projects/ecb2) and its image-related features

+++
Benoit
French CMSMS websites maker
Re: Load photos into module
Hi Martin,
FileManager will do some of that but as far as I know not the resizing or converting. It will do some of the sanitizing but you might need to add a few checks yourself.
The ECB2 module uses Dropzone to handle image imports and it does work really well. It's fairly easy to implement.
There is a plan to enable modules to share file input types, but it's not developed yet. Hopefully for the next major release.
Chris
FileManager will do some of that but as far as I know not the resizing or converting. It will do some of the sanitizing but you might need to add a few checks yourself.
The ECB2 module uses Dropzone to handle image imports and it does work really well. It's fairly easy to implement.
There is a plan to enable modules to share file input types, but it's not developed yet. Hopefully for the next major release.
Chris