Media Filename Manipulation

4 views
Skip to first unread message

Desmond Nyamador

unread,
Jun 4, 2020, 12:48:03 PM6/4/20
to Django users
Hi,
I have my images uploaded to Google Cloud Storage which invokes a function to provide three variations of my image. I'd like to know how I can manipulate my image name in the template from the default say {{ foo.image.url }} that results in media/foo.jpg to media/foo_200x200.jpg
Reply all
Reply to author
Forward
0 new messages