Skip to content

Enhancement: Add a "resource" parameter to allow retrieving a crop from a child resource. #10

@muzzwood

Description

@muzzwood

This would be useful for a listing page to display an image from the child resource it links to.

For example in a pdoResources tpl, you could do something like:

<a href="[[~[[+id]]]]">
    <img src="[[!ImageCropper? &resource=`[[+id]]` &image=`[[*crop_img_tpl]]` &field=`preview`]]">
</a>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions