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

Limit image sizes to custom sizes defined in a filter #7

Open
franz-josef-kaiser opened this issue Jul 29, 2015 · 1 comment
Open
Assignees
Projects
Milestone

Comments

@franz-josef-kaiser
Copy link
Member

Currently the attachment gets generated in every size that is registered. This is not desired. There needs to be a filter that allows restricting the sizes – and falls back to all sizes if nothing is registered.

Use the post_thumbnail_size filter for that.

@franz-josef-kaiser
Copy link
Member Author

This should be consolidated with what was implemented for min/max attachment sizes in #14 and be merged with the images size resulting from this filter.

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

No branches or pull requests

1 participant