Change Django-Filer save image location when uploaded

63 views
Skip to first unread message

b003...@my.shu.ac.uk

unread,
Jan 15, 2014, 8:20:40 PM1/15/14
to django...@googlegroups.com
Hi,

I am wondering how to change the location when a file is uploaded. I could like for it to be within a folder called products and the thumbnails to be created within a folder within that product.

Is there any information out there on how to do this? I have done a googol search but nothing has come up

Regards

Ioan Alexandru Cucu

unread,
Jan 16, 2014, 5:52:26 PM1/16/14
to django...@googlegroups.com
Hi,

What do you understand by 'location'? Do you mean the URL by which the file is then being accessed?
If the answer is 'yes' then filer supports an UPLOAD_TO setting. You can provide your own callback that can generate whatever URL you want.

Regards
Reply all
Reply to author
Forward
0 new messages