Support » Fixing WordPress » Gallery Media links to large file only

  • Hello,
    when inserting a gallery block in v5.0.3 and setting the link option to link to the media file, the link will now only link to the “large” media with 1024px width, not the original media file.

    I need the link to the original sized file as my images are already resized and compressed.

    What I figured out so far:

    The gallery created some months ago on another site with Gutenberg here did not have that issue. It links to full original size. However, If i create a sampe page with a gallery now after some updates today, I have the same Issue there too on this new sample page.

    I reinstalled WordPress for a clean new install on my page linked to make sure its no plugin issue.

    The linked -1024-px-Image can be seen in gutenberg editor already if you switch to html view.

    It does not matter which wordpress theme is used. I tried all three new twenty-themes. Since the linking is shown in gutenberg code view, it was obvious its not the theme.

    It seems some Update to Gutenberg changed the gallery linking. It worked perfect before and was compatible with Lightbox plugins, however, since all links for new created posts and pages now link to “large” size only, I can not use the gallery block as before.

    I do not know if changing the “large” size of media options is a proper solution.

    Any help and workaround for this is highly appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • En mi opinión, su problema será resuelto en el sitio de Gutenberg. مثل انواع روغن ها مانند روغن خراطین اصل

    I was unable to find a solution for now, so in case of someone finds this thread: It is a Gutenberg issue as Gutenberg puts the links to the large files when adding the gallery.

    I set the large file resolution to a value above the already resized pictures, ran some thumbnail regen plugin and added the gallery again, this workaround did the job so far.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery Media links to large file only’ is closed to new replies.