Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task to eagerly generate ingredients pictures thumbnails #2342

Merged
merged 2 commits into from May 30, 2022

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented May 30, 2022

What is this pull request for?

This allows to eagerly generate picture thumbnails for all picture ingredients.

In order to only eagerly generate only a subset of ingredients you can pass ELEMENTS=element_name1,element_name2
to the alchemy:generate:ingredient_picture_thumbnails rake task.

Checklist

This allows to eagerly generate picture thumbnails for all picture ingredients.
In order to only eagerly generate only a subset of ingredients you can pass ELEMENTS=element_name1,element_name2
to the alchemy:generate:ingredient_picture_thumbnails rake task.
@tvdeyen tvdeyen requested a review from a team May 30, 2022 10:12
Copy link
Contributor

@mamhoff mamhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful! Thank you!

@tvdeyen tvdeyen enabled auto-merge May 30, 2022 10:16
@tvdeyen tvdeyen merged commit fad93d5 into AlchemyCMS:main May 30, 2022
@tvdeyen tvdeyen deleted the pre-generate-thumbs-ingredients branch May 30, 2022 10:26
tvdeyen added a commit that referenced this pull request May 30, 2022
Add task to eagerly generate ingredients pictures thumbnails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants