Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#6633 closed enhancement (duplicate)

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

Reported by: jwbats's profile jwbats Owned by:
Milestone: Priority: low
Severity: minor Version: 2.5
Component: Gallery Keywords:
Focuses: 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 (7)

#1 @jwbats
16 years ago

  • Priority changed from normal to high
  • Version set to 2.5

#2 @caesarsgrunt
16 years ago

  • Component changed from General to Administration

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

#3 @Bossy
16 years ago

    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.

#4 @azaozz
16 years ago

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

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

#5 @ryan
16 years ago

  • Component changed from Administration to Gallery
  • Owner anonymous deleted

#6 @ShaneF
16 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

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

#7 @ShaneF
16 years ago

I meant #7607.

Note: See TracTickets for help on using tickets.