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

Image Block: Changing alignment removes image resizing #23288

Closed
annezazu opened this issue Jun 18, 2020 · 4 comments
Closed

Image Block: Changing alignment removes image resizing #23288

annezazu opened this issue Jun 18, 2020 · 4 comments
Labels
[Block] Image Affects the Image Block [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

Describe the bug

After resizing an image and then setting the image size, if one chooses to change alignment on the image, the resizing is undone.

To reproduce
Steps to reproduce the behavior:

  1. Create a new post
  2. Add an image block
  3. Manually resize the image using the image controls
  4. Try resizing the image using "Image size" options under the Block Settings
  5. Set alignment in the block editor and see image return to full size

This seems to only happen the first time this alignment is given to an image. For example, after alignment is given to an image, I can change the alignment without impacting the image size.

Expected behavior

I expected the image to just be aligned properly without impacting the size of the image.

Screenshots

Video: https://cloudup.com/cEZsO5sCdk6

Editor version (please complete the following information):

  • WordPress version: 5.4.2
  • Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? Gutenberg Plugin installed
  • If the Gutenberg plugin is installed, which version is it? 8.3

Desktop (please complete the following information):

  • OS: Mac
  • Browser: Chrome
  • Version: 83.0.4103.106
@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Block] Image Affects the Image Block labels Jun 18, 2020
@bfiessinger
Copy link

Seems to be related to #23234 where you can't use image size controls in the new version of the editor.

@gsallman
Copy link

gsallman commented Jul 7, 2020

Also appears to be related to: When full-sized image is selected only the large size image is displayed #23128

@deborah86
Copy link

The image block for me is resizing when using the alignment settings. I did not manually resize the image. I just placed a new image block. The only setting I changed was the image alignment.

@jordesign
Copy link
Contributor

I can no longer recreate this in WP6.3 - so I'll close this as resolved.

@jordesign jordesign closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2023
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 [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants