Skip to content

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

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions