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

Caption on resized Images does not display correctly #11719

Closed
drniles99 opened this issue Nov 10, 2018 · 6 comments
Closed

Caption on resized Images does not display correctly #11719

drniles99 opened this issue Nov 10, 2018 · 6 comments
Labels
[Block] Image Affects the Image Block

Comments

@drniles99
Copy link

When you insert an image into a post, the caption that you enter displays correctly for a full sized image however if you reduce the size of the image and then enter a caption and save the post, the caption on the image shifts to the left and the text appears vertically on the screen page.

@arunsathiya
Copy link
Contributor

I can confirm this behaviour as well.

screenshot 2018-11-11 at 12 47 40

Image indicating that the caption is aligned to the center of the page, while the caption is aligned to the left, after having resized to a smaller size

But, this happens only when one's using the Image size setting under Image settings section of the block settings.

This does not happen when using the image's resize handler shown below. Video indicating this behaviour.

screen shot 2018-11-11 at 12 53 04

@drniles99
Copy link
Author

drniles99 commented Nov 11, 2018 via email

@arunsathiya
Copy link
Contributor

@drniles99 It appears the images you were trying to show us are not attached. Can you try logging into this GitHub issue on a browser to upload the images? It's possible that GitHub is not handling images from email replies properly.

But, I had a look at your test site, and this is how the page you had shared currently looks.

screenshot 2018-11-11 at 18 06 09

@drniles99
Copy link
Author

drniles99 commented Nov 11, 2018 via email

@swissspidy swissspidy added the [Block] Image Affects the Image Block label Nov 11, 2018
@paaljoachim
Copy link
Contributor

Hey @drniles99
Can you retest with the current version of the Gutenberg plugin 8.3 and let us know how it works for you today? Thanks.

@paaljoachim
Copy link
Contributor

paaljoachim commented Jan 29, 2021

Hi

I made a newer issue in 2019 #17162
which is being tracked in the WordPress 5.7 Github Project board here:
https://github.com/WordPress/gutenberg/projects/52

I will go ahead and close this issue and we will keep the other issue open.
We hope that a rework of the Image block will soon happen, as there are multiple things happening which needs to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block
Projects
None yet
Development

No branches or pull requests

4 participants