BuzzingPixel

Ansel for Craft

Ansel for EE

Treasury

Construct

Category Construct

Dashboard (open an issue here)

All Issues

My Issues

News Contact
Log in

Logged in as

Licenses Purchases Profile Change Password Billing Portal Admin
Log Out
Software
Ansel for Craft Ansel for EE Treasury Construct Category Construct
Support
Dashboard (open an issue here) All Issues My Issues
News Contact
Log in
Logged in as:
Licenses Purchases Profile Change Password Billing Portal Log Out
Dashboard All Issues My Issues
Support Dashboard
  1. Home
  2. Home
  3. Support Dashboard
  4. View Issue

Are native image manipulations still accessible from what was uploaded through an Ansel field?

#51 opened by Torch

Subscribe

Details

Complete

Public Issue

Visibility: Public
6 replies
Last reply by TJ Draper
Created 9/19/2017 7:20 PM
Updated 9/20/2017 3:35 PM
Ansel for ExpressionEngine 2.0.10
CMS Version: 3.5.11
PHP Version: 5.6.10

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!

Use Markdown for formatting

Details

Complete

Public Issue

Visibility: Public
6 replies
Last reply by TJ Draper
Created 9/19/2017 7:20 PM
Updated 9/20/2017 3:35 PM
Ansel for ExpressionEngine 2.0.10
CMS Version: 3.5.11
PHP Version: 5.6.10
Cookie Policy
Privacy Policy
Terms of Service

© 2023 BuzzingPixel, LLC. All rights reserved.