Ticket #6633 (closed enhancement: duplicate)

Opened 4 years ago

Last modified 3 years ago

Image URL in galleries can't be set to link to the image directly

Reported by: jwbats Owned by:
Priority: low Milestone:
Component: Gallery Version: 2.5
Severity: minor Keywords:
Cc:

Description

When I make a gallery, I want the gallery to link to the images directly. The Image URL is set this way by default.

And yet, when the actual post is published, the images link to some sort of sub-post showing *yet another* medium thumbnail.

Only by clicking that can I view the actual image in its unmodified form.

Change History

  • Priority changed from normal to high
  • Version set to 2.5
  • Component changed from General to Administration

+1. Galleries are useless (for me) without this.

    edit media.php in the wp-includes dir:

    The line number 447 is as follows in 2.6.2:

    $link = wp_get_attachment_link($id, $size, true);

    change it to:

    $link = wp_get_attachment_link($id, $size, false);

    and it should work!


This works for me, it's just a tweak. It would be nice if this was an option by Settings.

  • Priority changed from high to low
  • Type changed from defect to enhancement
  • Severity changed from normal to minor

In 2.7 we will have gallery options that will allow this.

comment:5   ryan3 years ago

  • Owner anonymous deleted
  • Component changed from Administration to Gallery
  • Status changed from new to closed
  • Resolution set to duplicate
  • Milestone 2.7 deleted

#7606 - Have this coded in this patch. Due out for 2.8.

I meant #7607.

Note: See TracTickets for help on using tickets.