Support » How-To and Troubleshooting » WP 2.9 image insertion no longer allows url to off site resource

WP 2.9 image insertion no longer allows url to off site resource

  • I noticed a glaring problem with WP 2.9…in 2.8.6 you could upload an image and link it to an off site resource.

    Now when you upload an image it puts the url of the image in the link box (to where it is on your own site) and when you attempt to replace that with any other link, say, to the source of the image offsite) it erases it and puts the original.

    I think there are probably 10,000’s of WP users who want to use images as portals to other sites…WP 2.9 does not seem to do that. I only got around it by using the URL link on the entire image, outside of the image import/edit function

Viewing 15 replies - 16 through 30 (of 45 total)
  • Not fixed for me, WP 2.9.2. “Save Changes” from Media didn’t work. This is beyond frustrating, because I need the PERMANENT links set, not just in the post content.

    If you are making a gallery of images and go to the HTML editor you can not see the code to edit it so you can not fit it.

    Just to chime in. We are having the exact same problem with 2 different installations of WP 2.9.2.

    Especially frustrating because as grandp notes, the workaround is not possible for images in a gallery (since there is no HTML for the gallery section when using the HTML editor).

    Any other ideas?
    (Also, is there any way to know if the bug report has been picked up?)

    This would be a good solution if one would actually add the image to the post, but in my case, I don’t do that.

    I’ve programmatically added the attached images of the post/page you’re viewing to a slideshow in the header of my template, by using this code:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    			$args = array(
    				'post_type' => 'attachment',
    				'numberposts' => -1,
    				'post_status' => null,
    				'post_parent' => $post->ID
    			$attachments = get_posts($args);
    			if ($attachments) {
    				foreach ($attachments as $attachment) {
    					echo "<div class=\"slide_item\">";
    					echo apply_filters('the_title', false);
    					the_attachment_link($attachment->ID, true);
    					echo "</div>";
    					echo "";
    			} else {
            <a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/defaultimage.jpg" alt="" title="" /></a>
    <?php } ?>
            <?php endwhile; else: ?>
    <!-- no images found //-->
    			<?php endif; ?>

    The -quite excellent- trick with this is that the webmaster can just upload a couple of images to the post/page, hit ‘save changes’ and the code does the rest…

    but, when viewing the slideshow in my browser, the manually added link is not saved. I also noticed this link is not stored in the database, which is quite a PITA since I really need that feature.

    Would there be any workaround for this? It would save my day 🙂 Thnx for any assistance!

    I am on 2.9.2 on every site I manage and the bug still exists as described by @gavinwray.

    I’m having the same issue as well. Running WPMU 2.9.1.

    Same issue here on 2.9.2.

    Looks like this issue has been fixed: http://core.trac.wordpress.org/ticket/12315

    I haven’t been able to confirm it though.

    Not really sure what the fix is suggesting. Is it saying not to add rel="attachment" ? In my case, no one has done that anyway.

    It’s not fixed because I’m having the same frustrating issue with 2.9.2.

    In my case the the gallery HTML is only short code: [gallery orderby="rand"]. I need to be able to update the Link URL to a video hosted on Vimeo and it won’t take no matter what I try. It just keeps reverting back to the default URL. Has anyone found a fix to this yet?

    VSHoward, it’s not fixed in 2.9.2, but my understanding is that it is fixed in the nightly. I suggest you try downloading and installing that.

    Thanks Rogermh,

    I downloaded and did a comparison using WinMerge on all the files & folders in wp-admin & wp-includes with the copy I’m using and nothing flagged as being different which leads me to believe it has not been fixed.

    Does anyone have a fix for this?

    I am also waiting for a solution. Have the latest version but still will not allow me to insert a link to another website in an image!

    I too am struggling with this – particularly when inserting a gallery using the shortcode. There is no html to delete.

Viewing 15 replies - 16 through 30 (of 45 total)
  • The topic ‘WP 2.9 image insertion no longer allows url to off site resource’ is closed to new replies.