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

Photon: made the downsize filter return resulting image dimensions. #3029

Merged
merged 3 commits into from
Nov 18, 2015

Conversation

zinigor
Copy link
Member

@zinigor zinigor commented Nov 17, 2015

In order to fix #2919 we needed to return image dimensions from the filter_image_downsize function. This PR does this by returning the resulting dimensions that are sent to Photon for processing.

@zinigor zinigor added [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Feature] Photon aka "Image CDN". Feature developed in the Image CDN package and shipped in multiple plugins labels Nov 17, 2015
@zinigor zinigor added this to the 3.8.1 milestone Nov 17, 2015
@zinigor zinigor added [Status] In Progress [Status] Needs Review To request a review from Crew. Label will be renamed soon. and removed [Status] In Progress labels Nov 17, 2015
@kraftbj
Copy link
Contributor

kraftbj commented Nov 18, 2015

Tested in 2011, 2015, 2016. 💛

@dereksmart
Copy link
Member

This works well in all of our local tests. It looks good, fixes an old 2011 theme issue, and makes post thumbnails responsive with 4.4. Let's get it into beta with a broader audience.

dereksmart added a commit that referenced this pull request Nov 18, 2015
Photon: made the downsize filter return resulting image dimensions.
@dereksmart dereksmart merged commit e4c30b8 into master Nov 18, 2015
@dereksmart dereksmart removed the [Status] Needs Review To request a review from Crew. Label will be renamed soon. label Nov 18, 2015
@dereksmart dereksmart deleted the add/photon-image-dimensions branch November 18, 2015 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Photon aka "Image CDN". Feature developed in the Image CDN package and shipped in multiple plugins [Type] Enhancement Changes to an existing feature — removing, adding, or changing parts of it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Photon: srcset support for post thumbnails
3 participants