Archived topic
Image alignment controls not showing, images not being added to Media Library
3 replies · Started by Harry on January 4, 2022
Hello GP Team,
I wrote a post with three images, and they all are aligned left with the next paragraph running below the image, not alongside it. Instructions I've read say to check the alignment, but the block editor isn't showing any alignment options. Is this a Gutenberg issue, or the GP template, or something else?
Also, when I added the images to the post, whether by copy/paste or upload, they do not appear in the media library automatically. Are they supposed to? I'd like to set one of them as the featured image, but that function only looks in the media library for featured images. Am I doing something wrong?
Here's the post:
http://medangel.org/blog/street-medicine-removing-barriers-and-providing-care/
Thanks,
Harry
Hi Harry,
In Gutenburg environment, image block is displayed as a block, it occupies the entire horizontal space by default.
You can try add this CSS to make the image float:
.entry-content figure.wp-block-image.is-style-default {
float: left;
padding-right: 20px;
}
Also, when I added the images to the post, whether by copy/paste or upload, they do not appear in the media library automatically
Not sure I fully understand this question, if you add a image block and upload the image to the image block, the image should appear in the media library. This is a default behavior of WP, GP has no control over it.
Thanks, Ying. I'll try the image float. It was just strange to me that so many instruction sites showed image alignment in the Gutenberg menu, yet I couldn't find it.
As for the media library problem, I fixed it using directions from this site:
https://wpengine.com/resources/troubleshooting-wordpress-media-library/
I simply reset the file permissions in the upload folder as the article suggested, and it seems to have fixed the problem. I also removed a few plugins, which might have caused the problem in the first place.
Thanks again,
Harry
Glad you figured it out :)
You are welcome!