Skip to content

Toggle lazy-load in the project's settings #101

@fitodic

Description

@fitodic

Greetings!
Firstly, great job developing this library!
Secondly, the documentation states that the adjust tag renders as a URL to the adjusted image as lazily as possible. This is a great feature, but have you ever considered setting the generate parameter project-wide?

To make thing clearer, here's an example. A site allows the users to upload their own images and there is a predefined set of variations that can be diplayed, e.g. only thumbnails of 300x200px and 600x400px. The process of generating these variations can be triggered after uploading the image.

In order to be backwards compatible, this setting could be set in the project's settings and the default value would remain False. Therefore, if the project does not have the variable set, it would maintain its previous functionality.

We already have a working example. I'd be happy to implement it and send you a pull request.

What are your thoughts on the matter?

Sincerely,
Filip Todic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions