Support » Fixing WordPress » Default link to media file when inserting images or gallery

Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you explain where you click to get it linked?
    When I try (in WP 5.5RC2):
    The gallery block has one sidebar option for link, affecting all images in the block.
    The image block doesn’t have any option anywhere I can see to make it a link.
    The inline image (add it in a paragraph block) has the same flow as the image block, but you can select it and click on the link icon. But there is no nice way to link it to the media file (search only finds posts). You have to already have the URL for the file.
    The shortcode block doesn’t give you any options, but you can type the gallery shortcode, with the link=file option on it.
    The Classic block has an Add Media button, which uses the old media flow, and the image has the old option for how to link the image.

    If this is a bug, please open a descriptive ticket at https://core.trac.wordpress.org/

    Thread Starter vigilant_spb

    (@vigilant_spb)

    When you insert single image, link button isn’t on the right sidebar, it’s on the top and it has “mediafile” option just like for gallery.

    Screenshot here https://ibb.co/54CsQmk
    WP 5.4.2 (hope they didn’t take it away in 5.5)

    Sorry, it’s in Russian, but first option is Mediafile. It works ok, the problem is you have to choose it manually every f time.

    It’s not a bug I guess.. There was workaround for old editor, but it doesn’t work for new one.

    I see it now (I didn’t actually insert an image on my previous test). The image block has the same link icon in the toolbar, but it defaults to a URL you type, instead of the media file or attachment.

    I think this is still a usability problem, since the old way was much easier.
    I didn’t even know this icon was there! Since the old media flow is still around for the Classic block, it makes much more sense to me to have the link chosen when the image is chosen, like the old way was. Or at least in the sidebar instead of in the toolbar.
    Please write a ticket, or it will get no attention at all.

    Thread Starter vigilant_spb

    (@vigilant_spb)

    The image block has the same link icon in the toolbar, but it defaults to a URL you type, instead of the media file or attachment.

    nope

    look https://ibb.co/0GmDvWv

    Gallery (several images block) has this option in the right sidebar, single image – on the top (the panel should be switched on, or it will pop up onclick the image – three vertical dots, right upper corner of the screen – first tick).

    This is tricky and not user friendly in my opinion, but..

    Please write a ticket, or it will get no attention at all.

    https://github.com/WordPress/gutenberg/issues/10173

    I guess it got attention but no updates for a long time

    Thread Starter vigilant_spb

    (@vigilant_spb)

    UPD https://core.trac.wordpress.org/ticket/46390

    no news for 17 month( hate updates ruining some useful features

    Still nothing?

    I finally was able to do this. My solution for gallery is here:
    https://wordpress.stackexchange.com/a/375528/165181
    Applicable to images too.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Default link to media file when inserting images or gallery’ is closed to new replies.