Support » How-To and Troubleshooting » [Resolved] "Add Media" button

[Resolved] "Add Media" button

  • Hi All,

    I’m having trouble posting images to my blog using the new “add Media” button. When I upload and insert an image into the post all the images seem to be prefixed with “> characters.

    I’m guess they are coming from the <a href> tag or <imgsrc> tag. But I can’t figure it out, and everytime I edit the post in the “text” tab to see the html code the formatting get messed up. Sometimes the same image also appears twice in the post.

    Anyone have any suggestions as to howto remove those characters “>

    You check out an example post here with this problem.


Viewing 6 replies - 1 through 6 (of 6 total)
  • I think problem is on your single.php file.
    please attache your single.php file here.

    text/x-generic single.php
    PHP script text
    if (have_posts()) : while (have_posts()) : the_post();
    <!-- START #content -->
    <div id="content">
    	<div id="cross"><img src="<?php echo BP; ?>/images/cross.png" alt="" /></div>
    	<h1 class="post_title"><?php the_title(); ?></h1>
    	<div id="content_wrap">
    		<div id="content_right">
    			<div id="sidebar">
    				<?php fw_sidebar($post->ID); ?>
    		<div id="content_left">		
    			if (has_post_thumbnail()) : 
    			$image_id = get_post_thumbnail_id();
    			$image_url = wp_get_attachment_image_src($image_id, 'paged_thumb');
    			<div id="post_thumbnail">
    				<a title="" href="<?php echo $image_url[0]; ?>" rel="prettyPhoto"><img src="<?php echo $image_url[0]; ?>" alt="" /></a>
    			<?php endif; ?>
    			<div class="blog_post_meta">
    					<li class="date"><?php the_time('F j, Y'); ?></li>
    					<li class="author"><?php the_author_posts_link(); ?></li>
    					<li class="category"><?php the_category(", "); ?></li>
    					<?php if(has_tag()) : ?><li class="tag"><?php the_tags("",", ",""); ?></li><?php endif; ?>
    					<li class="comments"><?php comments_popup_link(__("No Comments","village"), __("One Comment","village"), '% ' . __("Comments","village"), '', __("Comments Closed","village")); ?></li>
    			if (comments_open()) comments_template();
    		<div class="clear"></div>
    <!-- END #content -->
    endwhile; endif;

    I looked to this code, and it hasn’t any problem, i think your light box plugin make this problem, deactivate it and try another lightbox plugin.

    I am having a similar problem. I press the add media botton and nothing happens. Currently I am using Brunelleschi as my theme. Any thoughts??

    This problem was noted last month when I updated a bunch of plugins.

    thank you.

    Thanks Vahidd,

    Will try deactivating the plugin tonight when I get home.

    So I double checked that I had the latest version of the lightbox plus plugin, check.

    As vahidd mentioned I deactivated this plugin, checked my blog post and the characters had gone. Check.

    Re-activated the plugin, wrote a quick test post and no characters that I experienced before. Check.

    Thanks for the quick response which pointed to answer.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] "Add Media" button’ is closed to new replies.
Skip to toolbar