Creative Notice

exploring creativity 
« Back to blog

Custom Image Placement in Posterous

 

Posterous has some wicked cool image handling capabilities. Just attach an image to your email to the service and it will get embedded in your post at the top of the content (example). Attach several images and Posterous builds a sweetly simplistic gallery for you at the bottom of your post (example).

But what happens when you want more control over image placement?

Moving Single Image or Gallery Placement

When you attach an image, or multiple images, a Posterous object is created and called into your post with some custom code. To move the image position you'll need to:
  1. Login, via the web interface, find your post in question and click edit. 
  2. Once on the edit page, you'll notice the advanced editor menu is available, click the far right blue "html" button.
  3. Inside the html code you will see something that looks like this: [[posterous-content:Y22oPHKFX11e6BY4miL5]]. That is the Posterous object code calling your image.
    NOTE: an image gallery will also use a single object code as well, more about that that below.
  4. Now you can cut and paste that code where ever you want it to appear in the post.
But what about positioning and margin? Simple as pie. Simply surround the Posterous object code with a <div style="float:right;margin:1em;"> </div> and you are good to go. Modify the inline style as needed for your look.

Multiple Positioned Images

You will quickly notice, when you attach multiple files to your email, that Posterous doesn't create multiple object codes for each image, but just one code for the gallery. To get around this and position individual images,

UPDATE: Roj commented below that you can include ((nogallery)) in the subject line of your email. This will cause Posterious to generate individual image tags for multiple images attached.

don't attach your images in the email. Rather:
  1. Email you post copy first. 
  2. Upload your images to your own server, a CDN, or a service like Flikr. 
  3. Login to Posterous and edit the post html. Adding <img src="http://my-img-url-here" style="float:right;margin:1em;" /> for each image you want to include. Place the image tag where ever you need the image.positioned in the post.
Have any other Posterous tips and tricks? Please let everyone know by commenting below.

Loading mentions Retweet

Comments (7)

Aug 01, 2009
Alexis Madrigal said...
I just want to be able to control the order of the images. That's my one complaint. Otherwise it's the awesomest.
Aug 25, 2009
Sean Horgan said...
I'd like the ability to add/change images in a post after the initial creation. I made a change to a graphic and I didn't want to bother with uploading it to a CDN or flickr, I simply wanted posterous to host. I had to create a new post with the update and delete the old. Not a huge deal but I lost history (user views) on the previous post, which may mean a lot to someone with thousands of viewers.

Agree on Alexis 'awesomest' comment.

Aug 25, 2009
Ryan Mueller said...
Yep, I wish they had a better image hosting UI as well. Unfortunately, for now, we have to use Flickr or other host to do custom image placement. Here's hoping though. Thanks for the comments.
Aug 29, 2009
Roj said...
You can suppress the gallery generation for multiple images by putting ((nogallery)) in the subject of your email, this will then ensure that there will be multiple [posterous-content] tags in the posting which you can then place where you want.
Aug 29, 2009
Ryan Mueller said...
@rojblake Awesome man! Thanks for the update!
Nov 07, 2009
Warren Deer said...
feel the same ,love posterous but it needs image placement and upload adding to the web interface.
Jan 01, 2010
Deb Markham said...
I want to control the size of the image in the post. Sometimes a single photo in a post will appear too large for my taste.

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter