-
Notifications
You must be signed in to change notification settings - Fork 101
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
When generating WebPs, ensure full size is generated(-scaled
for large images)
#174
Comments
I agree with this behavior, however, the opposite of this behavior was introduced here: Closing #122 Just want to make sure we are consistent with those behaviors moving forward. |
@mitogh #122 was opened based on the current implementation where all sub-sizes are only created in one version (e.g. WebP), while the original image is remaining in the original format (e.g. JPEG). But now, given we're working towards keeping JPEG available for all sizes and using WebP in addition, this may still be a relevant issue, it doesn't conflict with #122. @adamsilverstein I wonder though whether we should rephrase the purpose of this issue. It wouldn't make sense to me to create a WebP version of the |
We need the full sized web- to generate correct markup when the user selects a large image, see #152 (comment) |
-scaled
is generated and used-scaled
for large images)
I updated this ticket's title and description to more accurately describe the issue: we need to generate the "Full" sized image as a WebP in all cases (small or large image) when we are generating WebPs. For larger images this is the |
Marking this as |
Taking over this one as I think I have a good idea of how we can implement it on top of what we already have in place. :) |
If the full size image is present as part of the metadata information, make sure the image is replaced in the content with the new reference to the expected image. This fixes #174
Bug Description
After #152 "Full"" sized images inserted by users will still use the original jpeg image or (
-scaled
version for larger images) because the WebP version is not being generated. See #152 (comment).Proposal to fix:
big_image_size_threshold
), generate a-scaled.webp
fileSteps to reproduce
Expected:
.webp
filesActual
.jpg
file.Screenshots
The text was updated successfully, but these errors were encountered: