Forums

Wordpress 2.5.1 Still can't upload images (96 posts)

  1. crystallyn
    Member
    Posted 5 months ago #

    To further add to this...I can't add an image if it's a link either, unless I hand code it in the HTML pane.

  2. JesseG5
    Member
    Posted 5 months ago #

    Crystallyn,

    Let me see the code for index.php of your website. Also what is the link?

  3. Otto42
    Moderator
    Posted 5 months ago #

    Precondition Failed

    This is almost always mod_security.

    Add this to your wp-admin's .htaccess file:

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    Note, this is different than what I have in the image problem post sticky thing.

  4. crystallyn
    Member
    Posted 5 months ago #

    Awesome. That did it!!!! Thanks for the fast response Otto!

  5. Anonymous
    Unregistered
    Posted 4 months ago #

    The mod_security fix did the trick for me too, but I'd also tried chmod 777 on the uploads directory before that (with no success).

    I was getting the "HTTP Error" problem at the end of the "crunching" phase after upgrading from v2.3.3? to 2.5.1

    Anyway thanks for your lifesaving sticky, Otto!

  6. Anonymous
    Unregistered
    Posted 4 months ago #

    None of the above "fixes" solved the picture-in-post problem, but this did. After 2 days of banging my head on the wall I gave up and decided to try Flickr since I'd seen it used on other blogs. A Google search let me to Joe Duck's solution. It worked so easily and I was so ecstatic that I treated myself to an ice cold beer at 4 in the afternoon. Hell, it's five o'clock somewhere.

    Here's the link: http://joeduck.com/2006/09/08/wordpress-with-flickr-pix-tip-2-post-a-single-flickr-photo-in-a-wordpress-blog-post/

    NOTE: Where he says you fill out the description of the picture...you actually write your entire post in that box, or copy and paste it, and add the post title you want to show up on your blog. Then when you click the upload post button it uploads to your wordpress blog. Now, open the dashboard, go to manage posts, click the post just loaded and there it is. You'll have to clean up the code 'cause it adds the name of the picture and who posted it, but that's pretty easy to do.

    It puts the picture on the right side of the post. You can change the float and margin settings from right to left and that's about it. The sucker works. At least it did for me. Hope it does for you.
    Jack

Reply

You must log in to post.

About this Topic

Tags

No tags yet.