• When I create a gallery in 2.5, if I change a the link to an individual image before I ‘add gallery to post/page’ it never stays.

    Does anyone know if editing media.php would help this along?
    Cheers!

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    All that “Add gallery” does is to stick the [gallery] code into your post. What displays is controlled entirely by the media library settings and such.

    Just hit the save button before you add the gallery.

    Thread Starter osones

    (@osones)

    I have tried that but it still doesn’t work – I’ve even turned off all the plugins that correspond to the gallery.

    Would there be anything else that might knock the saved library settings out?

    I’m having the same problem. Any solutions yet?

    I want my thumbnails to link to an outside URL. So I changed the URL in the Gallery (media manager) but it doesn’t not save even when i save.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Editing the stuff in the media manager won’t change the existing post entry. Once you insert it to the post it is fixed, you have to reinsert it to the post for that sort of change to work.

    I understand what you are saying but that is not exactly the issue.

    For instance, if I were to replace a link or even choose none. If I hide-show, and/or save and click show again… the changes are not saved.

    i think the link url field only works when you insert image into post. When you clicked save changes it won’t stay. So did anyone managed to link it properly?

    I don’t know, but I’m having the same problem.

    Hi I have the some problem, but in 2.6. When I change the settings of image in gallery, save it and show again, settings aren’t saved.

    Any idea?

    I’m not sure if this is the solution guys, but I was getting annoyed with having to insert images, and each time change them to full size, then having to change the link URL to none.

    I found the solution in another thread on here for the image size default, but for the link to be blank by default (for individual images), I just need to change some code in my wp-admin/includes/media.php file starting line 263 (in wordpress 2.6)

    'url'          => array(
    			'label'      => __('Link URL'),
    			'input'      => 'html',
    			'html'       => "
    				<input type='text' name='attachments[$post->ID][url]' value='" . __('') . "' /><br />
    				<button type='button' class='button url-$post->ID' value=''>" . __('None') . "</button>
    				<button type='button' class='button url-$post->ID' value='" . attribute_escape($file) . "'>" . __('File URL') . "</button>
    				<button type='button' class='button url-$post->ID' value='" . attribute_escape($link) . "'>" . __('Post URL') . "</button>
    				<script type='text/javascript'>
    				jQuery('button.url-$post->ID').bind('click', function(){jQuery(this).siblings('input').val(this.value);});
    				</script>\n",
    			'helps'      => __('Enter a link URL or click above for presets.'),

    If you don’t read code easily like me, all I did was remove a bit of text in the input type line to leave it looking like what I’ve posted above.

    Davebiesse, thanks for the post… I tried messing around with your suggestion, however it was not my solution…

    osones, ironboundwark any solutions?

    I’m having same issues… Even if I replace the HTML to redirect the URL and save the post, it will still go the original image and ignore my settings. I’m able to chose No URL and have it null, however I would like to have my own custom link taking the user elsewhere upon click.

    I’ve been looking around the forums here and so far I can only determine that this is a bug.

    Any help would be greatly appreciated… Thanks!

    Oh yeah, I’m running wp 2.6.1
    and both IE & FF share issue…

    i have the same problem i cant edit my galleries, its not saving my changes.

    I am also having the exact same issue… has no one found a solution yet? Very frustrating!

    jefffonwordpress

    (@jefffonwordpress)

    I am having the same problem with WP 2.6.

    If this is a bug, anyone knows plugins that does the thing – create gallery with customizable links on each thumbnails?

    This is a bad bug.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Help!! Possible to change gallery thumbnail link? 2.5’ is closed to new replies.