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

Responsive images and image linking #4163

Closed
2 tasks
trenzterra opened this issue Dec 25, 2017 · 3 comments
Closed
2 tasks

Responsive images and image linking #4163

trenzterra opened this issue Dec 25, 2017 · 3 comments
Labels
[Feature] Blocks Overall functionality of blocks

Comments

@trenzterra
Copy link

Issue Overview

In Gutenberg, when inserting an image block, there does not seem to have an option to link to the original media file, as with the classic editor.

A more concerning problem is that Gutenberg does not seem to work at all with responsive images and srcset as implemented in WordPress 4.4. A post created with Gutenberg will always load the full size image regardless of viewport size.

Expected Behavior

Gutenberg should implement an option to link to original media file or attachment page, as per the classic editor. Currently, the gallery block does this.

In addition, responsive images should work as per the classic editor.

Current Behavior

Possible Solution

Screenshots / Video

Related Issues and/or PRs

Todos

  • Tests
  • Documentation
@Soean Soean added the [Feature] Blocks Overall functionality of blocks label Dec 29, 2017
@mtias
Copy link
Member

mtias commented Jan 3, 2018

See #869 for responsive images.

@noisysocks
Copy link
Member

noisysocks commented Mar 26, 2018

#4898 implemented this.

@hvianna
Copy link

hvianna commented Apr 23, 2018

I see this has been closed a while ago, but couldn't find any further mention of the option to link the image to the original media file or attachment page. Does anyone care to comment on whether this is a planned feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks
Projects
None yet
Development

No branches or pull requests

5 participants