Be sure to checkout our newest add-on, Speedy — Advanced Caching for ExpressionEngine.

Compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field (it's in the works).

Ticket: File type image manipulation not working

Status Client Wait
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)

Nov 21, 2019

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)

Nov 27, 2019

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.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.