WordPress.org

Ready to get started?Download WordPress

Forums

Inserting Image Into Post Problem-Browser Issue? (9 posts)

  1. wsuschmitt
    Member
    Posted 6 years ago #

    Upgraded a 2.5.1 WP to 2.6 and ran into the “Insert Image Into Post” problem that I’ve been seeing on the forums. I ran into the “Uploading Image” problem upgrading from something like 2.1 to 2.5.1. I did the suggested actions from Otto42’s “Image/Media Uploader problems” in the support forums, and it worked on the upgrade TO 2.5.1, but didn’t help with the 2.6 upgrade. Prior to the upgrade, there was no problem inserting images into posts using IE 7, Safari, or Firefox.

    On the 2.6 upgrade, I was having problems at the point I hit the button on “Insert Into Post” from the media library. The post editing area didn’t show anything, but when I previewed the post, the picture was there. I’m helping an amateur blogger who does not have a big expertise on WP (neither do I, but have a strong computer background) so I downgraded the WP files back to 2.5.1 off my backups but forgot to downgrade the database back to the 2.5.1 backup time. Still had the Insert Image issue in 2.5.1, but then I remembered that I needed to downgrade the database, so I restored it and the Insert Image problem disappeared.

    … well… almost…

    There are no issues with IE, but Safari and Firefox still have the Insert Image issue and show a blank editor, but the picture comes up when the post is previewed. No problems with IE 7; uploading, inserting image, resizing the image and posting have absolutely no issues.

    I’m guessing that this may be a database setting issue at this point? Any reason why IE works but Safari and Firefox don’t anymore?

  2. trucklily
    Member
    Posted 6 years ago #

    I have the same problem in Firefox.. can't insert my own pictures anymore

  3. wsuschmitt
    Member
    Posted 6 years ago #

    I installed MAMP onto the computer and have been trying the site locally as I try to figure out what is wrong. Here's what I found so far.

    On a clean install of WP 2.6, there is no upload or insert image issue. The image uploads just fine, I go into media library, insert the image into the post and all is fine. I can right align, left align, etc.

    I upload the database, modify it for the local install of the fresh install of WP 2.6 and look at the site. There is no upload issue, as the picture is uploaded and a thumbnail is generated, but when I try to insert the picture now, I get:

    <img src="http://localhost:8888/wp-content/uploads/2008/07/cullum_md.jpg" alt="" title="cullum_md" width="250" height="189" class="alignnone size-medium wp-image-4664" />

    instead of the picture that can be re-aligned via the editor.

    What setting would have changed between a fresh install WP that works and the database change?

  4. Anonymous
    Unregistered
    Posted 6 years ago #

    I've had exactly the same problem -- I'm on a Mac and, after upgrading from 2.51 to 2.6 I could upload but no longer insert pics, no matter which browser (I-Cab, Safari or Firefox) I used. The browser pop-up uploader would work right up to the point I clicked "Insert Pic" at which point the pop-up would go blank. Following forum tips, deleting pics, disabling all browser filters, completely reinstalling the browsers, completely reinstalling WordPress, etc, made no difference. For clarity, I omit several days of stupefied disbelief and hitting things.

    Astoundingly, the answer to my problem turned out to be capital letters. For style purposes, I had the site name in Dashboard > Settings > WordPress Address (URL) as ThisIsTheSiteName.com, which had previously caused exactly no problems at all. Changing this to thisisthesitename.com fixed it.

    Might I politely suggest that the 2.6 pop-up uploader be twiddled to flatten any URLs, or at least to feature a warning rather than going blank and hanging? Thanks.

    (NB. Also posted in http://wordpress.org/support/topic/189394 , just in case.)

  5. Anonymous
    Unregistered
    Posted 6 years ago #

    hi,

    i hear you guys. upgrading has collapsed many categories in my blog producing 404's when clicking on them :s and also the "historic" is screwed up. do you know if there is any way to down grade safely?

    actually nothing pretty much works.

    any hints welcome.

    thanks.
    jose

    http://www.joselarrucea.com

  6. Anonymous
    Unregistered
    Posted 6 years ago #

    up!
    same probleme...
    nooooooo my blog will dead^^
    http://www.avidedesigner.com

  7. mrmist
    Forum Janitor
    Posted 6 years ago #

    do you know if there is any way to down grade safely?

    There isn't an automatic downgrade, you'd have to restore your DB from a backup then upload the older zip of core files.

  8. jjtiziou
    Member
    Posted 5 years ago #

    I'm running into this same problem... I had an older installation of wordpress (2.0 I think) that a friend had helped me customize, and I'd not actually started using it... so a year later, I was about to get it running, and went to upgrade it, because that seemed like a smart thing to do...

    now no images pop in. They upload into the gallery without any problems, but once I hit the "insert into post" button, the little floating frame gives me my site's custom 404 not found page.

    Any fixes for this?
    thanks!
    -jj

  9. jjtiziou
    Member
    Posted 5 years ago #

    Ok, so paying attention to this support thread:

    http://wordpress.org/support/topic/164999?replies=1

    solution #6, with mod_security ended up solving the problem...

    here's the answer:

    mod_security might be causing problems. Disable it to see if that is the problem. To do this, make an .htaccess file in your wp-admin directory. Add this to it:
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    That will disable mod_security for the upload file receiving code in the wp-admin directory.

Topic Closed

This topic has been closed to new replies.

About this Topic