Can't add an image gallery to a classic block

  • Author
    Posts
  • #3301387

    I use the classic image gallery in my posts. For my needs, classic image galleries work better than the new block editor galleries. I do that by creating a “Classic” block, then creating an image gallery in that classic block. Correct me if I’m wrong, but the ability to do that was removed a couple of weeks ago. Now when you create a classic block, there is no longer a way to add an image gallery to a classic block. I’ve uploaded a screenshot to my media gallery to show where I believe the “+” sign used to be to the left of the “paragraph” menu but is now missing.

    I’m a relatively new wordpress user and I’m not completely clear on the classic/block editor situation, so maybe I’m recalling incorrectly. Or am I correct and the ability to add an image gallery to a classic block was indeed recently removed? If so, how can I add an image gallery to a classic block?

    The blog I need help with is rodrigospacecraft.com.

    #3301482

    fstat
    Staff

    Hi there,

    Can you please take a bigger screenshot showing the whole block so I can better understand what’s the issue? It looks like the block is not rendering correctly on your end. This is how it should look (I have highlighted the image/gallery button):

    #3301536

    I have that image button you’re referring to, but, correct if I’m wrong, that just inserts individual images. It doesn’t create a gallery.

    Am I crazy or was the button to create a gallery that used to be to the left of the paragraph menu in your picture removed recently?

    I have a number of galleries on my site, but I’m quite certain I’ve only used classic blocks in the block editor to create them. Starting a couple of weeks ago, I seemingly can no longer do so.

    #3301645

    Hi rodrigospacecraft,

    I have that image button you’re referring to, but, correct if I’m wrong, that just inserts individual images. It doesn’t create a gallery.

    I’ve done some testing and you’re right — the add media button in the classic block no longer supports the option to select multiple images, only individual images one at a time.

    Starting a couple of weeks ago, I seemingly can no longer do so.

    We spoke to our developers and it looks like a code change made on our end has affected the ability to select multiple images when using the classic block. It’s something they are now aware of but I’m afraid I’m unable to give you any timescales.

    In the meantime, the gallery block can be used as a workaround.

    Appreciate you reporting this and we’ll keep you updated with any news.

    #3301751

    Thanks, but that’s a slightly different problem than the problem I’m reporting. There used to be a button to the left of the “Paragraph” menu to set the type of the block. After creating the classic block, I would set the type to “gallery”, then edit the gallery to add images. If you look at any existing classic gallery block, you’ll see it’s still possible to add images to it that way. The problem is it isn’t possible to create the classic gallery block in the first place.

    So,
    a) I can’t confirm whether the function of the Image button has changed in the way you described because I’ve never used that to add a gallery.
    b) If you can simply restore the ability to set the type of the classic block to gallery, then the problem of adding images to it will be solved.

    Thank you for the suggestion to use new block galleries as a workaround, but there are serious problems with those new galleries, which is why I only use classic galleries. I’ll start a new thread on that.

    #3301770

    To see how gallery creation is supposed to work, see your video on this subject:
    https://en.support.wordpress.com/gallery/

    #3301820

    supernovia
    Staff

    Thanks. Right now those galleries only work within the classic editor, not within a classic block.

    We have a request filed on that here:
    https://github.com/Automattic/wp-calypso/issues/32348

    For now, if you want to insert a classic gallery, can you go ahead and switch to the classic editor?

    #3301839

    Thanks, but, if I’m not mistaken, that problem report you’ve linked to is the slightly different problem that you found, not the one I reported :). Watch this video and you’ll see the problem:

    https://en.support.wordpress.com/gallery/

    Notice how in the video there is a “+” menu next to the “paragraph” menu? That menu is now missing in classic blocks. That’s the problem I’m reporting.

    I’ve tried switching to the classic editor, but that breaks existing pages and doesn’t work the same as a classic block.

    #3301841

    Also, just for reference, here’s the report I posted on problems with new galleries: https://en.forums.wordpress.com/topic/problems-with-new-galleries/

    #3301848

    One other thing, and I apologize for repeating this, but it might be important. Editing of existing galleries in a classic block works fine. I can edit a gallery in a classic block that was created last month prior to this bug. I can add to it, rearrange it, modify it etc. just fine. The only problem is creating the gallery in the classic block in the first place.

    #3301898

    supernovia
    Staff

    Sorry for the confusion. It is related though. If it helps, there are sort of two flavors of Classic: wp-admin and Calypso.

    The classic block uses wp-admin’s version of classic. The editor in the video is Calypso.

    As I understand it, our version of the classic block (which is the old wp-admin editor) now uses Calypso’s tools for media insertion (you can read about that here if you’d like). It still uses the wp-admin media button though instead of the Calypso plus sign. Still, in the past you could insert more than one image and thus create a gallery. But right now something in the integration is broken; you can only select one image at a time, hence the bug we mentioned earlier.

    I did notice, though, that you might be able to just use the “Jetpack Tiled Gallery” block. Instead of inserting a classic block, look for Gallery and you’ll find it there. You can select more than one image, and you can also select a gallery style. Want to try that?

    • This reply was modified 3 months by  supernovia. Reason: clarifying
    #3302020

    Thanks, but when I tried the “Jetpack Tiled Gallery”, that inserted the new kind of gallery instead of a classic gallery block. (I’m assuming “new” is the right term for a non-classic gallery.) New galleries have all the problems I outlined here:

    https://en.forums.wordpress.com/topic/problems-with-new-galleries/

    I’m feeling really stuck here. I can’t create classic galleries and new galleries have problems that make them unusable.

    #3302903

    Hi rodrigospacecraft,

    when I tried the “Jetpack Tiled Gallery”, that inserted the new kind of gallery instead of a classic gallery block.

    Once a Jetpack Tiled Gallery block has been inserted, you can click on the pencil icon and choose from several layout options under Styles on the right — these are the only styles available for this block type though. Tiled Mosaic appears to be the closest match to what is already being used in the Photography section of your site.

    I’m feeling really stuck here. I can’t create classic galleries

    As @supernovia mentioned above, this issue is something our developers are aware of but an alternative gallery block will need to used in the meantime :)

    #3303595

    I’m sorry, I must not have expressed myself properly. It’s not the style of the gallery that I object to. The problem is Jetpack installs this newfangled kind of gallery, not the classic galleries that I created using classic blocks a month ago (which can no longer be created). These two kinds of galleries differ in how the page loads, how they appear, and how they can be edited.

    Is there a better pair of terms to describe these two kinds of gallery than “new” and “classic”?

    In any case the problem is classic galleries can no longer be created and new galleries are, for the reasons I detailed in the other thread, IMHO unusable. For that reason, there doesn’t currently seem to be a way to create a usable gallery.

    #3303603

    I think the source of my frustration is the unfortunate timing here. I signed up for wordpress specifically to create gallery pages like this but almost immediately after my payment cleared, that feature was taken away :). It feels a little bit of like a bait and switch. I know the story is more complex than that, but I wanted to share the source of my frustration.

    I also fully understand that there we are in an inevitable transition period during which new galleries are not as capable as classic galleries, but it seems like it should be a high priority to keep classic galleries supported during this transition period.

    #3303640

    These two kinds of galleries differ in how the page loads, how they appear, and how they can be edited.

    Yes, this has been a frustrating change for you. We understand. Could you send me a link to an old classic-style gallery and a new one? Then I can take a closer look at their performance. One thing to consider is making sure you’re images are optimized and not full resolution. There are some tips on this guide:
    https://en.support.wordpress.com/media/image-optimization/

    Is there a better pair of terms to describe these two kinds of gallery than “new” and “classic”?

    We generally use “classic” when referencing the original, /wp-admin/ dashboard. This is the dark, black/white interface. Calypso came next, and now the block-style Gutenberg editor. To sort out any confusion you can always send along a link from the page you’re on when editing the galleries. That link will tell us which editor version you are using.

    Looking at the most recent comment in the report, the issue has been prioritized. Feel free to follow along directly for updates from the Github report.

    #3303696

    As I mentioned above, I supplied details on the shortcomings of new galleries here:
    https://en.forums.wordpress.com/topic/problems-with-new-galleries/

    It would be great if that problem with new galleries could be fixed, but I’d be equally happy if the ability to create classic galleries was fixed, since classic galleries work great.

    Regarding the issue of fixing creation of classic galleries, are you referring to this report?
    https://github.com/Automattic/wp-calypso/issues/32348

    Just a reminder, as I mentioned above, that is a slightly different problem than the one I’m reporting, although I understand it is related.

    #3316838

    Is there any news on this? I reported this in April, but the problem started weeks before that, so it’s been about 2 months now that it hasn’t been possible to create a usable photo blog page. That seems like a long time to go with a key feature not working.

    #3316892

    Hi rodrigospacecraft,

    I’ve double checked the bug report and while our developers have pinpointed what is causing the behaviour, there isn’t a fix just yet. It is the queue to be worked on but that’s the only news I have — I wish I had more to share but I don’t at the moment.

    Thanks for bearing with us though.

The topic ‘Can't add an image gallery to a classic block’ is closed to new replies.