This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Tweet Images


A replacement for TwitPic, yFrog, etc, for hosting your tweeted images on your WordPress blog – as used by Stephen Fry for uploading his Twitter images to his blog! Creates a post per image. I’ve got instructions for Twitter for iPhone, and for Twitterific for iPhone/iPad.

Each post created by this plugin contains the image (resized) and the text of the tweet (with hashtags linked to Twitter Search, and URLs linked)

Hashtags from the tweet are converted into WordPress tags. Posts are set to the “Image” post format (requires WP 3.1+).

Includes the option to set a specific account for shortening the URLs of the Tweet Image posts. So if you want to have your tweeted pics on a specific and separate short URL domain from tweeted links, you can do.

Read the Installation instructions for how to set this up on your handheld telephone.

Developers! Developers! Developers! There’s lots of handy filters and actions for you to extend this plugin, use a custom post type rather than regular ol’ posts, customise the post content, and lots, lots more! Development for this plugin is hosted on GitHub, feel free to raise bugs and submit pull requests.

Translators: Check out the file in the locale folder, translations welcome! Thanks!


What’s this about a secret? (AKA “The Security Question”)

Unless your website is secure, i.e. the web address starts with “https” and you see a little padlock in the location bar when you’re visiting the site, then all the information between your iPhone and your website will be transmitted “in the clear”. Transmitting information in the clear means that if someone can intercept the information then they can see it without any further effort on their part. This means that transmitting your WordPress or Twitter username and password whenever you send an image opens you up to potential hackers and mischief-makers stealing your credentials and posting information on your WordPress blog or Twitter account. To get around this, Tweet Images generates you a unique and very hard to guess secret. The Tweet Images secret can only be used to post images to your WordPress site, and can be reset very easily to re-secure your site. This isn’t an ideal solution, but it’s the best we could think of in the circumstances.

Future releases of this plugin will support secure connections between your iPhone and website.

So how do I reset my secret?

Go to your User Profile (in the WordPress admin area, click on your username top right) and click “Regenerate Secret”. You’ll then need to redo the settings in your Twitter app.

Does this plugin have any hooks?

Yes it does! Check out the code for more, but briefly you can filter the category a tweet image post is put in with the wpti_post_category, the post data used for the post with the wpti_post_data filter, the image size used for the tweet image in the post with the wpti_image_size filter, and the tags for the post with the wpti_post_tag filter. There is also an action wpti_published_post which is fired whenever a tweet image post is published.



  • BUGFIX: Stop refreshing rewrite rules on every request


  • BUGFIX: Fixes posting from Tweetbot (which didn’t like the XML declaration for some reason… go figure)


  • CLARIFICATION: Places a notice in the admin area if you don’t have pretty permalinks enabled.


  • BUGFIX: App started throwing “Error: Could not post image” message. (Now using response XML containing pretty much only the MEDIAURL element; i.e. no longer using a response as close to the TwitPic API v2 Upload method as I can get.)
  • New filter on post data before inserting it
  • New filter on tag taxonomy name before setting the terms
  • Changed filter name to wpti_update_post_data from wpti_post_data


  • Fix security hole whereby the “allow uploaded tweet images from this user” option wasn’t being respected
  • Set the author ID properly
  • Inherit the post_status for the attachment from the post
  • Add a filter to allow alteration of the Tweet Image post content
  • Link to fullsize image
  • Flag to try and get around a freaky race condition
  • Posts definitely initially created in draft status
  • Added a test script


  • Allow the admin to specify which category the Tweet Image is posted to by simply checking a box


  • Version bump
  • Don’t show on user profile unless this user can publish posts
  • Use home_url for the API endpoint, not site_url
  • More consistent text in admin notice
  • New translations file


  • Now you can set a specific account to shorten the links to your Tweet Image posts
  • Sets the post format to “image”


  • Added some security
  • Better installation instructions
  • Check more things before uploading an image


  • The initial release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code