-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Flickr embeds are low quality in the editor #60210
Comments
This is coming from core Embed block. It retrieves from If See |
|
That can't be true because if it was using |
Thanks @yansern !You are actually spot on. Please discard my previous comment. Seeing the in-code definition of the flickr embed block variation I made an incorrect assumption about the value of the The
In fact when I force type to |
The following function seems a bit problematic to me. I cannot grasp the context as to why the following would stand:
I also wonder why would we want to display the thumbnail instead of the @yansern would you have any insight on the above? |
Actually, we want to use Therefore, coming back to this line in
I'm curious to know why is flickr's type Finding out how to set flickr's type to something else ( |
I included the answer to this in this previous comment. I will re-write it below but with some additions. Why is flickr's type
|
Ah, I understand you now! Sorry about any earlier misunderstanding on this part. So this is coming from Flickr's API response. In that case, feel free to introduce a new attribute, like Since the attributes are merged in Add the necessary logic to make Once the PR is submitted to Gutenberg core, we will see what core folks feel about introducing a new attribute when they review the PR. |
PR fixing this issue was created in WordPress/gutenberg#40187 |
I just found out that this issue is a duplicate of the issue. I will close this issue as a duplicate in favor of the gutenberg issue. |
Quick summary
When you embed an image from Flickr, the image appears in the appropriate resolution on the live site. However, within the editor, the Flickr block is forced to a set of specific aspect ratios (regardless of the original image's aspect ratio), and the quality of the image is incredibly low.
Steps to reproduce
flic.kr
URL for the image.What you expected to happen
The image should appear similar to how it appears on Flickr. At the very least, the image should be high quality in the editor.
What actually happened
The image quality is incredibly low (blurry/grainy) in the editor.
Context
33212305-hc
Simple, Atomic or both?
Simple, Atomic
Theme-specific issue?
No response
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
No but the platform is still usable
Workaround details
No response
The text was updated successfully, but these errors were encountered: