最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Convert multiple image blocks to gallery block in Gutenberg?

programmeradmin3浏览0评论

Its easy to convert a gallery block into multiple image blocks. But how do I do the reverse?

I have several older posts with a dozen or so images sequentially. I would like to display these all in a gallery block without searching the media library one at a time to rebuild it.

Its easy to convert a gallery block into multiple image blocks. But how do I do the reverse?

I have several older posts with a dozen or so images sequentially. I would like to display these all in a gallery block without searching the media library one at a time to rebuild it.

Share Improve this question asked Oct 10, 2019 at 0:38 nichnich 132 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 0

I know this has been a while, but I found this page looking for the same answer. Once I discovered the solution, I thought I would share it here to help you or someone in the future.

Once you convert the classic to blocks, you can multi select the images, and then the convert button allows you to convert to a gallery.

I noticed mine stayed at thumbnail until I go to edit the gallery. I don't make any changes just save gallery, and then the images don't default to the thumbnail size any longer. This part may vary by user depending on how the images were initially added.

Hope this helps.

  1. Hold SHIFT and mark all individual images
  2. Scroll up to the first image
  3. Convert the Image Block to a Gallery Block

This will add all selected images into the Gallery Block.

发布评论

评论列表(0)

  1. 暂无评论