All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Please read about the changes to BoldMinded add-on licensing.

Ticket: File type image manipulation not working

Status Resolved
Add-on / Version Simple Grids & Tables 1.2.0
Severity
EE Version 5.3.0

eHealth Ontario

Nov 21, 2019

Image manipulation natively supported by EE5 and Bloqs plugin. Using simple grid, the variables for the file field type nor image manipulations are not working.
Documentation from EE for Image Manipulation: https://docs.expressionengine.com/latest/fieldtypes/file.html#single-variable-usage
Documentation from EE for File field variables: https://docs.expressionengine.com/latest/fieldtypes/file.html#template-tags
In my example, image manipulation name is square. Files are already generated successfully. Directly creating a field in channel or bloqs are working. Only when it is within Simple Grid field type, it is not working.

{people_bloq}
    <div data-block-name="people_bloq">
        {people_entries}
            <div class="pb-2 text-center">
                <!-- Test: Simple entry (WORKING) -->
                <img src ="{people_entries_image}" alt="Picture of {people_entries_name}" class="img-thumbnail">
                <!-- Test: To get square version (NOT WORKING) -->
                <img src ="{people_entries_image:square}" alt="Picture of {people_entries_name}" class="img-thumbnail">
                <!-- Test: To construct path of the image using the built in variables (NOT WORKING) -->
                {people_entries_image}
                    <img src ="{path}_square/{file_name}" alt="Picture of {people_entries_name}" class="img-thumbnail">
                {/people_entries_image}
            </div>
        {/people_entries}
    {close:people_bloq}
    </div>
    {/close:people_bloq}
{/people_bloq}

 

#1

BoldMinded (Brian)

Thanks for reporting this. It’ll be a couple weeks before I can look into this bc it’s basically a new feature to Simple Grid.

#2

BoldMinded (Brian)

Can you actually double check your usage of image manipulations? I just tested this locally and it seems to work fine, even when the image is inside of a Simple Grid field.

#3

BoldMinded (Brian)

Hi there, just following up on this again. If I don’t hear anything back in a couple days I’ll close this ticket and assume everything is fine.

#4

BoldMinded (Brian)

Closing this ticket. I wasn’t able to replicate it and it’s been over a month with no response.

Login to reply