I upgraded my two blogs to 2.6 and I usually right align my images, well since the upgrade, I have written one post on each, and they messed up. On the posts on each (seanpaune.com and startertech.com) for today, on the actual blog, the images are right aligned with text wraparound, but in the RSS feed, they are on the left with no wraparound.
Anyone have any clue why this is happening? And more importantly, how to fix it?
Thanks in advance,
Yeah, this sucks. Up to 2.51 when aligning to the right, a style=”float: right;” would be added into the img tag, so that the image would be align to the right everywhere.
It could have been seen as a dupe for the alignright found under class, but had the great advantage of working even in RSS feeds. Now for some reason it’s been removed, and WP only relies on the alignright class, which means that
– if it’s not in your theme, it won’t be aligned to the right on your blog
– no matter what, your feeds are screwed!
I really hope this can be fixed/resorted back to the way things were before.
For now on, you have to click HTML and manually add style=”float: right;” inside the img tag, which is quite a PITA…
In Admin the text wraps to the right of the image but not when you view online.
Any ideas? I did the float; left; thing and that made the picture float to the left but the text isn’t wrapping when viewed online.
Using manual styles in your feeds is a damn fine way to mess up your feeds in most every feedreader out there, with the exception of Google Reader which fixes those sorts of issues automatically.
Ideally, you should keep your content simple and basic, not specifying manual stuff like that. You have no guarantee how a feedreader is going to deal with it.
Feeds should not contain “styles”, is what I’m getting at here. Feeds are content-only, by design. They should be style free.Anonymous
Well, I don’t know what you classify as “styles”, but then the ability to put within the img tag a simple align=”right” for example would be a good thing, as it would work in feeds as well.
On many feeds you get a picture aligned left or right that goes along the article, so it’s not like a screenshot or anything like on many software blogs, and to be able to have the text around the picture with an align left/right is a must, really.
It used to work with WP2.5 and I’ve seen it done in about every feed for sites that uses such pictures, feels like this is just like a tag to put things in bold or italic really. No?
I don’t really know how WordPress work precisely and what’s doable and what is not, but if this won’t be fixed, could there be a way to achieve it via plugin (add the align property for the img tag) ?
Cause again, for me it’s a must and having to manually edit the edit is a bit of a pain, to be honest.
Otto, it worked up through WP 2.5, so why take it away? It wasn’t harming anything, and now my images look horrible in RSS
@otto great, so one of my blogs isn’t aligning correctly now, but that’s okay because it’s now “standard”.
For a moderator, you have an awful lot of attitude towards people who are just confused why things changed and would like to see an explanation.
seanpaune: But I just gave you an explanation. Things changed in order to comply with the current web standards. What more explanation do you want?
Okay, I get that you don’t like it, but don’t get all angry at me just because you don’t like the standards or disagree with them. They are what they are.
Quite frankly, I agree with the change. WordPress should not use deprecated tags, and feeds shouldn’t have styling in them. That goes against the whole point of a feed in the first place, as a feed is supposed to contain syndicated content, not formatting information.
Well…I use image align left and right ALL over! And it has always worked in feeds. Feedburner specifically offers feeds that you can style. And I think they have enough experience in feeds to do so without being “behind web standards” and such. Perhaps the tag is deprecated. but where? Just in WP? WP is not the web. Even new browsers allow most old tags because nobody expects “the web” to just catch up all at once and right away. If WP is going to suddenly introduce new tags…shouldn’t they be a bit more careful about how this is going to affect everyone?
Note, Otto42, this is not an attack on you, it is just a question aimed at WP.
Anyway, what is the solution you are offering? Nothing? You are in essence saying, too bad, right?
Well guess what, I’m still going to use align=”left”! etc. It works in WP if you handcode it, and it also will show in feeds the way you designed it. As it should.
@otto, essentially you are saying lump it, and I say “no”. Apparently from the other people talking in this thread, a lot of people don’t like this, and for those of us who use a lot of images in our posts, our feeds are going to look like a disaster. Up until now I have been an ardent supporter of WP, but this decision is just not a correct one and too sudden.
@nlxj where are you inserting the align code? I’m trying it, and it doesn’t seem to be working for me.
Just code the whole image by hand. it sucks, but its the only path they’ve left us.
Go to “HTML” view and code something like
<img src="URL FOR JPG,etc" align="left" hspace="9" vspace="2" border="0" />
Still works for me, and shows up properlike in feedreaders!
@nlxj thanks. This really blows, but apparently we’re going to have to buck “web standards” to keep our feeds aesthetically pleasing.
Perhaps optimistically, I hold out hope that this will be addressed. But for now, unfortunately, if it’s a choice between my ease of use and the design of the post, well. I’m an artist! I have to choose the latter. Glad I could help.
I’ve just upgraded my wife’s blog to 2.6 and she now finds that the images she aligns right in the post, although showing up correctly aligned with text wrapping in the editor, show aligned left and without text wrapping in the preview. A code e.g.
[caption id="" align="alignright" width="135" caption="Les Arenes, Nimes"]<img title="Les Arenes, Nimes" src="http://www.travelsignposts.com/Destination/d/32076-2/France_Helen_1076.jpg" alt="" width="135" height="102" />[/caption] Stage 13 of the Tour de France is still in the Languedoc-Roussillon region which stretches from the foothills of the Pyrenees on the Spanish border to the mouth of the Rhône.
Obviously she can hand code an align tag in it, but why isn’t this working? This could be a royal pain.
- The topic ‘Image alignment in 2.6 messing up in RSS feed’ is closed to new replies.