The functionality is in filebrowser-safe
(https://github.com/stephenmcd/filebrowser-safe/blob/master/filebrowser_safe).

My first thought is use the filebrowser_pre_upload or
filebrowser_post_upload signal
(https://github.com/stephenmcd/filebrowser-safe/blob/master/filebrowser_safe/views.py).
These signals are not currently documented but I don't think they're
likely to be deleted any time soon.

On 11/04/2016 10:12 AM, Valeriia Sytchenko wrote:
> I want to add additional functionality to image uploader.
>
> Now I'm building a shop with Cartridge/ Mezzanine. 
> When editing Product, admin could add image using media library. When
> admin select file from local PC, it uploads to MEDIA ROOT without any
> changes. 
> I need to add resizing and putting watermark on it, so that after
> pushing "upload" button, all selected images will be resized,
> watermaark will be put and then uploaded to MR folder. 
>
> The problem is that I've searched via both of packages and haven't
> found where those functions related to Media library live.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Mezzanine Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to