Floating images, wrapping text: Postie challenge
-
Greetings!
I’m getting ready to hit the road where I post by email using Postie to retrieve my words of wisdom and images.The posts look better when the text flows around the images, so I added classes to wrap right or left in layout.css, in the entry section:
`.entry .il
{
size: auto;
float: left;
margin:0 12px 0 0;
}`
Then, as an example, in my post I write this to float an image fetched by Postie:
`<div class = "ir">
#img1#
*Click to see at full size*
</div>`This works fine when I go to Postie in the CP options and manually fetch the email. However, the formatting code is stripped from the post when it is fecthed using cronless Postie and several other strategies to automate the posting-by-email. (unfortunately I do not have access to Crontab on my server so I have not tried that)
To see me messing aroung with this can of worms you might take a peek at my WordPress 2.2 at:
https://www.afoto.com/wordpressWhen fetched manually, the emailed post shows this html for the image:
`
<div class = "ir"> <!--Mime Type of File is image/jpeg --><div class="postie-image-div"><img src="https://www.afoto.com/wordpress/wp-photos/thumb.20070602-152132-1.jpg" alt="phenomOnMk.jpg" title="phenomOnMk.jpg" style="border: none;" class="postie-image" /></div> *Click to see at full size* </div>`But when fetched with automation my div tag for the image is stripped, somehow, somewhere parsed out . . but WHY?
I’ll be experienting a bit more to make this work, but maybe someone here can point me in the right direction?
TIA,
Dagfinn
- The topic ‘Floating images, wrapping text: Postie challenge’ is closed to new replies.