BoldMinded acquires Ansel, support ending for all add-ons. BoldMinded acquires Ansel, support ending for all add-ons. Read More →
Support has been discontinued. Issues remain available as an archive. Support has been discontinued. Issues remain available as an archive.
Are native image manipulations still accessible from what was uploaded through an Ansel field?
#51 opened by Torch
Description
My standard way to access an image from an Ansel field:
{person_hero}{img:url}{/person_hero}
Which works fine, but when trying to access an image manipulation (my manipulation name is "cropped") it doesn't work:
{person_hero}{img:url:cropped}{/person_hero}
Also tried:
{person_hero:cropped}
Doesn't work either. Is this possible?
Replies
- TJ Draper
Replied 9/19/2017 8:52 PM, Edited 9/20/2017 3:35 PM
Hi,
Yep, definitely possible.
Per the documentation: https://buzzingpixel.com/software/ansel-ee/documentation/template-tags#tagPairVarialbes
{img:manipulation_name:url}
- Torch
Replied 9/20/2017 6:17 AM, Edited 9/20/2017 3:35 PM
I completely missed that, thanks!
- Torch
Replied 9/20/2017 6:32 AM, Edited 9/20/2017 3:35 PM
Actually, I think I'm still missing something
{person_hero manipulations="true"} {img:cropped:url} {/person_hero}
Only ouputs {img:cropped:url}
- TJ Draper
Replied 9/20/2017 1:41 PM, Edited 9/20/2017 3:35 PM
Is the manipulation set on your save directory? The manipulation would come from the save directory.
- Torch
Replied 9/20/2017 3:35 PM, Edited 9/20/2017 3:35 PM
It was not. Working now, thanks again!
- TJ Draper
Replied 9/20/2017 3:35 PM
Great! Glad we got it working!