Forums
Error in HTML when inserting picture
-
When uploading a picture to wordpress from my iPhone the picture will neither show up correctly on my iPhone or Mac. That is because wordpress on iPhone does not insert correct IMG tags when I upload the picture. It worked perfectly up until a few days ago.
Here is an example of the HTML it inserts (copied directly from my blog):
a href=http://cronfeld.com/tank/wp-content/uploads/2011/11/20111126-090319.jpgimg src=http://cronfeld.com/tank/wp-content/uploads/2011/11/20111126-090319.jpg alt=20111126-090319.jpg class=alignnone size-full //a
As you can see this will not show up as an image as the tags ar not opened or closed correctly.
And yes I know I could edit the tags after uploading, but as I upload 8 pictures to my blog every day that would be a pain in the ass in the long run.
Any idea on why this suddenly does not work?
-
i am having the same issue but can not find any information anywhere to solve. please let me know if you have resolved issue.
-
Same problem using 2.9.1 from my iPhone.
a href=http://www.colormejodi.com/wp-content/uploads/2011/12/20111205-001910.jpgimg src=http://www.colormejodi.com/wp-content/uploads/2011/12/20111205-001910.jpg alt=20111205-001910.jpg class=alignnone size-full //a
If I correct the HTML with <> and "s, the images appear in the post, so uploads are complete and address information is correct, but the message content is not formatted correctly.
-
The same problem exists in 2.9.2 on iPad running iOS 5.0.1
-
I just upgraded my blog to WP 3.3 so I thought I'd give this another try. It still doesn't work but I noticed that the code is being generated on the iPad and can be previewed correctly on the iPad - until I save it. Every "<" and ">" symbol in the html is striped out during the save/upload of the post. After it's been uploaded if I open it to edit on the iPad it can't beviewed there any more. On my PC if I open the draft in html view and put all the missing <> back in it can be viewed normally. If at that point I go back to the iPad and double click the post it reloads to the iPad from the blog and once again can be viewed properly.
Versions: WP for iOS 2.9.2, iOS 5.0.1, WP on my self hosted site 3.3
Is anybody working on this?
-
You guys most likely have the libxml2 issue, installing this plugin should help:
-
It worked! Thanks a ton!
-
It worked for me too! Thank you.
-
fixed for me too! thank you for the help mrroundhill
Topic Closed
This topic has been closed to new replies.