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

Using webp format

#212 opened by Rob

Subscribe

Details

See Comments

Public Issue

Visibility: Public
2 replies
Last reply by TJ Draper
Created 2/25/2022 6:59 AM
Updated 3/3/2022 7:10 PM
Ansel for ExpressionEngine 2
CMS Version: 6.2.6
PHP Version: 7.4
MySQL Version: 10.4

Description

Is it possible to use native EE on the fly manipulations with Ansel?

Replies

  • TJ Draper

    Replied 3/3/2022 7:09 PM

    From EE's documentation, it's unclear if the manipulations would work with the {exp:file:entries} tag or not. If the on-the-fly manipulations do work with that tag, then you should be able to do it something a little like this (untested):

    {exp:channel:entries channel="my_channel"}
        {some_ansel_field}
            {exp:file:entries limit="1" file_id="{img:file_id}"}
                <img src="{url:webp}">
            {/exp:file:entries}
        {/some_ansel_field}
    {/exp:channel:entries}
    

    As I say, I have no idea if that will work, but that's the only possibility since EE's docs only list the on-the-fly manipulation as part of the native file field-type and I have no way to test at the moment.

  • TJ Draper

    Replied 3/3/2022 7:10 PM

    (Oy, I need to do something about encoding quotes in my codeblocks on this new site… 🤦‍♂️)

Use Markdown for formatting

Details

See Comments

Public Issue

Visibility: Public
2 replies
Last reply by TJ Draper
Created 2/25/2022 6:59 AM
Updated 3/3/2022 7:10 PM
Ansel for ExpressionEngine 2
CMS Version: 6.2.6
PHP Version: 7.4
MySQL Version: 10.4
Cookie Policy
Privacy Policy
Terms of Service

© 2023 BuzzingPixel, LLC. All rights reserved.