Twitter Image Host for WordPress

See the new version, Twitter Image Host 2, which stores images as actual WordPress posts, for more easy customisation and management. It can be run at the same time as Twitter Image Host, for easy migration.

Twitter image hostKeep your traffic in the family! Host Twitter images on your own site, with support for comments and trackbacks, image resizing and thumbnailing with Lightbox.

Twitter doesn’t yet come with its own inline image support, so we tend to be limited to using image hosting services, and linking to them with short URLs. So, services like Twitpic host the image, and we direct traffic to them in return.

Better to take advantage of that traffic, and host images on your own site. This way, viewers come to your site, instead of someone else’s!

Posted images are displayed in your normal WordPress template, with support for comments and trackbacks, without any setup required. Most themes should work with this, but if not, or if a different layout is required, a custom theme template can also be provided (see ‘Creating a Template’).

Provides an HTML form for posting image content, as well as an API modelled on that of, compatible with Tweetie (for iPhone) and any other Twitter clients that speak this protocol and offer configuration of custom image hosting services.

Uses Twitter’s authentication and a list of authorised accounts, so you can let others use your image host too. You can even post status updates to Twitter while submitting images.

Provides a widget and shortcode to display uploaded images. This supports filtering by Twitter account, styling with CSS, and Lightbox/Thickbox.## Download

Download the plugin at WordPress’s plugin directory

If you like Twitter Image Host, please consider buying some awesome Mac/iPhone software. Then tell all your friends.


  1. Unzip the package, and upload twitter-image-host to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit the settings page and add your Twitter account to the list of authorised accounts
  4. Start submitting images – See the ‘Posting Images’ section for more


I get “Couldn’t place uploaded file” messages

You probably need to create the folder in which Twitter Image Host stores uploaded images — it will try to create the folder automatically, but it will fail if it doesn’t have permission.

Create a folder called twitter-image-host-content within the wp-content folder of your WordPress installation, and make sure it has write permission for the web server user.

I keep getting 404 errors

Make sure your blog is using URL rewriting (i.e. your permalink structure is anything but the boring default ?p=###).


To use the widget, simply visit the Widgets page and drag the “Twitter Images” widget into a sidebar and configure it.


Shortcodes are snippets of text that can be inserted into pages and posts. These snippets are replaced by various generated content. Twitter Image Host provides a ‘twitter-images’ shortcode to display images you have uploaded within a page/post.

Available parameters:

count Number of items to display
id Single ID (eg ‘abcde’) of one image to display, or multiple IDs separated by commas (abcde,fghij)
view Image thumbnail view: squares, proportional, large or custom
custom_thumbnail_width Custom width for thumbnails, when ‘view’ is ‘custom’
custom_thumbnail_height Custom width for thumbnails, when ‘view’ is ‘custom’
custom_thumbnail_crop Whether to crop custom thumbnails
author Comma-separated list of Twitter account names to limit results to
columns Number of columns of images to display
lightbox ‘true’ to use Lightbox/Thickbox

Example (square brackets replaced by curly brackets):

  {twitter-images columns=4 lightbox="true"}

PHP function

As well as the shortcode, you can also use call twitter_image_host_images() from within a template to produce the same output. Pass the same arguments as the shortcode as associative array values:

<h3>Recently submitted images</h3>
<?php twitter_image_host_images(array('author' => 'ATastyPixel', 'columns' => 6, 'lightbox' => true)); ?>

Tip: Use this in the twitter-image-host.php template (see ‘Creating a Single Template’, below) to display other posted images when viewing an image. Use the_twitter_image_author() to filter the list, to show only other submissions by the same Twitter account as the one of the currently displayed image.

Template Tags

This plugin provides several template tags, for use both in displaying single posts (see ‘Creating a Single Template’), and for custom pages which display many posts in a loop (see ‘Using Template Tags in a Loop’).

The available template tags are:

Single Entry Tags


Returns the URL to the view page


Returns the full URL to the image, or the image thumbnail if the original image was large


Returns the URL to the full-sized image, if one exists, or false otherwise


The title of the image


The date (timestamp) of the image – use date() to configure the display


The associated Twitter account


Returns HTML to display the image and a link to the full-sized image if it exists, with Lightbox rel tags.

Loop Tags


Search for Twitter images

Available parameters (passed as associative array):

count Number of items to display
id Single ID (eg ‘abcde’) of one image to display, or multiple IDs separated by commas (abcde,fghij)
author Comma-separated list of Twitter account names to limit results to


Use with loop: Determine if there are more images


Use with loop: Get the next image

Creating a Single Template

By default, this plugin will use the standard post template (‘single.php’). However, if you wish, you can create a custom template to display hosted images. The template should be called ‘twitter-image-host.php’, located within your current theme directory.

Creating a template to use this information is fairly straightforward if you have just a little knowledge of HTML or PHP:

  • On your server (via an FTP program, etc.), navigate to your current theme. This will live within wp-content/themes.
  • Copy an existing template – single.php is usually a good candidate – and call it twitter-image-host.php.
  • Open up twitter-image-host.php, and delete everything that looks post-related: This usually includes everything between the have_posts call and the matching endif, and may include some other surrounding content like an ‘Edit this post’ link.
  • Replace that which you have just deleted with something that uses the ‘single entry’ template tags above, like the following:
<?php echo the_twitter_image() ?>
<h1 class="center"><?php echo the_twitter_image_title() ?></h1>
<p class="center">
	From <a href="<?php echo the_twitter_image_author() ?>"><?php echo the_twitter_image_author() ?></a>
	 on <?php echo date('F jS, Y', the_twitter_image_date()) ?>
  • Save the file, add some content (see the ‘Posting Images’ section), and see how it looks.

Using Template Tags in a Loop

Just like the WordPress Loop template tags, the template tags provided by this plugin can be used to display multiple posted entries. This can be used to create a custom page template that lists all submitted entries, with more flexibility than that offered by the shortcode.

Use begins with a call to query_twitter_images(), possibly with an argument to configure the search. If the result is true, then the loop begins, conditional upon has_twitter_images(), and starting with next_twitter_image() to load the next entry. The single template tags can then be used to customise the display of each entry.

Here is an example of use:

<?php if ( query_twitter_images() ) : ?>
    <?php while ( has_twitter_images() ) : next_twitter_image(); ?>
        <div class="item entry">
          <div class="itemhead">
            <h1><a href="<?php echo the_twitter_image_permalink() ?>" rel="bookmark"><?php echo the_twitter_image_title(); ?></a></h1>
            <div class="date"><?php echo date('F jS, Y', the_twitter_image_date()) ?></div>
          <?php echo the_twitter_image() ?>
          <p class="center">From <a href="<?php echo the_twitter_image_author() ?>"><?php echo the_twitter_image_author() ?></a></p>
    <?php endwhile; ?>
<?php else : ?>
    <p>There are no Twitter images.</p>
<?php endif; ?>

Posting Images

To start posting from your WordPress blog, select the “Twitter Image Host” menu item from the “Posts” administration section. Enter a title for your image, select your image file, hit Submit, and you will be given the URL for the image. If you wish to tweet straight from this facility, you will need to follow the instructions from that page to set up the plugin.

To access this facility from an application, use the access point displayed on the Twitter Image Host options page under “Settings”.

The API is more-or-less the same as that of TweetPic,, etc.

To post from Twitter (Tweetie 2) for iPhone, visit Twitter/Tweetie’s settings, and within Services, Image Service, select ‘Custom’, then enter the API URL as listed on the options page.

Making the URL even shorter

If you run WordPress from a sub-directory (for example,, then the short URLs generated by this plugin will look like http://your-site/blog/xxxxx. You can remove that ‘blog’ component via a little .htaccess trickery.

Here’s how:

  1. Create and open a new file in your site’s webroot called “.htaccess”. If there’s one already there, just open that up and prepare to edit at the bottom.
  2. Add the following, replacing ‘blog’ with the real subdirectory under which WordPress is installed:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^/([^/]+)/?$
    RewriteCond %{DOCUMENT_ROOT}/blog/wp-content/twitter-image-host-content/%1.jpg -f [OR]
    RewriteCond %{DOCUMENT_ROOT}/blog/wp-content/twitter-image-host-content/%1.png -f [OR]
    RewriteCond %{DOCUMENT_ROOT}/blog/wp-content/twitter-image-host-content/%1.jpeg -f
    RewriteRule (.*) /blog/$1 [L]

    This will take any requests that:

    • Are located in the web-root (start with a slash, followed by anything but a slash until the end)
    • Have a corresponding file within Twitter Image Host’s content directory Then, it’ll rewrite the request silently to the real Twitter Image Host URL, without the viewer seeing.
  3. In Twitter Image Host settings, set the ‘Override URL Prefix’ option to ‘’

, , . Bookmark the permalink. Both comments and trackbacks are currently closed.


  1. Lu
    Posted July 11, 2010 at 9:58 am | Permalink

    Hi there

    First – great plugin, thank you! Well I’ve got a problem posting images from tweetie (twitter for iphone) tried out the urls http://myblogurl/twitter-image-host and http://myblogurl/twitter-image-host/upload but always get the error “Error uploading attachment. there was an error posting your message. It has been safed as draft, please try resending later. (Error: Could not post image.)” – Do you know this? What am I doing wrong? Lu

    • Posted July 12, 2010 at 10:00 pm | Permalink

      Ah, thanks for the reminder: I updated the readme, but forgot to update this page. As it now reads above: Note that version 3.0.1 of Twitter has a bug that prevents it sending the username and password. For this version, you must use, at your discretion. Version 0.5.7 of Twitter Image Host now supports this.

      • Lu
        Posted July 12, 2010 at 10:07 pm | Permalink

        great, thank you! =)

  2. @Lucioluci
    Posted July 11, 2010 at 5:58 pm | Permalink

    Hello Michael, just tell u that your plugin is great! Just three questions: -is there a way to visualize the tweet (the message) in the page including the photo? -there’s no way to make the comments in theese pages work, it’s just like the web stops working -where i have to put the code

    Recently submitted images

      <?php twitter_image_host_images(array('author' => 'ATastyPixel', 'columns' => 6, 'lightbox' => true)); ?> 

    in the file twitter-image-host.php?

    • Posted July 12, 2010 at 10:06 pm | Permalink

      Hello Lucio – thanks! It’s getting there, gradually, but as you’ve discovered, it’s not perfect yet.

      1. I’d suggest the easiest way is to probably make your own twitter-image-host.php with the layout you desire – by default it uses the ‘single.php’ template, so it just looks like a (rather empty) post. If you wanted to make it look like it does on Twitter, you’d need to make your own template
      2. Ah, bugger; It may be a compatibility problem with the new WordPress version. There are still a few glitches with comments; I’ll take a look at it again soon. A solution may be just to save posted images as ‘asides’ in WP, rather than to ’emulate’ posts, as currently happens. It may be a little while until I have a solution (until then it may be worthwhile just disabling comments, perhaps linking to Twitter for replies via Twitter instead?
      3. Anywhere you’d like tweeted images to show up; while there’s already a widget, you may want to embed it in the template itself. For me, I’ve put it in twitter-image-host.php so that other images appear below when you’re viewing an image. It’s entirely up to you, though
  3. Lu
    Posted July 12, 2010 at 12:13 pm | Permalink


    I got an error if i try to post an image via tweetie (twitter for iphone). The following error appears: “Error uploading attachment. There was an error posting your message. It has been saved as a draft, please try resending later. (Error: could not post image).

    Have you got an idea what i’m doing wrong?

    I tried the urls http://myblogurl/twitter/twitter-image-host and http://myblogurl/twitter/twitter-image-host/upload with the same error :(

  4. @Lucioluci
    Posted July 13, 2010 at 6:11 pm | Permalink

    hello Michael, thank u for answering. Waiting for the next realease of the plugin, could you tell me in which line of the file called “twitter-image-host.php” i have to copy the line ‘ATastyPixel’, ‘columns’ => in order to make the plugin show all the images i have published like thumbnails in a table?

    i have another question: could be possible in the next realease to show the message sent to twitter too? many thanks u, the plugin is great and thanks to everyone (first you) will be fantastic!

    • Posted July 16, 2010 at 10:04 am | Permalink

      Actually, it looks like you’ve got the wrong piece of code there – see ‘Using Template Tags in a Loop’, above.

      As far as I know, that already happens, if you don’t otherwise specify a title

  5. Posted July 20, 2010 at 8:36 am | Permalink

    OMG why is this so difficult for me. I followed the directions. There was no twitter-image-host directory set up so I manually made the folder. All the files are under the wp-plugins directory but I cannot access even the upload forms? Heck, I can’t even access any part of the plugin? What part of the directions am I getting wrong because I followed them directly. I can make the folders 777 but that won’t change anything?! Please please help me I got the latest version of wordpress btw.

    • Posted July 20, 2010 at 11:17 am | Permalink

      The plugin’s files are actually meant to be within a folder called “twitter-image-host”, not all just within the wp-content directory (unless that’s what you meant by creating the folder manually). It may be worth just using the built-in plugin installer instead of doing it manually – it’s better for avoiding little mistakes. You’ll want to make sure you have permalinks set up that aren’t just the default ?p=…, and make sure you’ve activated the plugin

  6. Posted July 23, 2010 at 8:51 pm | Permalink

    Good news is I got it uploaded and working.

    now when I upload form the form it says

    “There was an error posting the image: Unauthorised Twitter account” I checked my username and password 50 times and it works on twitter. Any suggestions?

    Thanks in advance .Alois

  7. Posted July 23, 2010 at 9:01 pm | Permalink

    Nervermind. i figured it out. Stupid mistake

    This plugin is great. Thanks mike

    • Posted August 8, 2010 at 9:48 pm | Permalink

      Hey! How did you solve it? What kind of mistake did you make? Same here. Though i can see the upload-form, the images don’t go through… Can anyone help me out?

      • Posted August 30, 2010 at 7:18 pm | Permalink

        Have you added your twitter name to the list of allowed accounts, in plugin settings?

  8. Posted July 28, 2010 at 7:51 am | Permalink

    This is Great! I just downloaded your plugin and I will get it going shortly I have been wanting to start my twitter account but I just have not had the time, but I will make it now… I’m a guy who likes to host my own images so this is right up my alley. Once I get it installed and running I will give you an update Thanks for the plugin :-)

  9. Posted August 14, 2010 at 4:21 pm | Permalink

    Wow, this is great. I’m definitely planning on adding this to my blog since I’m pretty active on Twitter.

  10. Posted August 22, 2010 at 4:13 pm | Permalink

    This is just what I was looking for… Wow!

    • Posted August 22, 2010 at 4:46 pm | Permalink

      Oh wait, it works great with the Automator settings but I can’t see the uploader at http://myblogurl/twitter-image-host/ I just get a white screen with nothing in it. Any ideas?

      And how do I delete images I have uploaded?


      • Posted August 22, 2010 at 4:58 pm | Permalink

        Ok I know how to delete images… but I’m still struggling with the uploader.

        • Posted August 30, 2010 at 7:19 pm | Permalink

          I’m not sure what could be happening, Oscar. Do you see anything in your server’s error log?

          • Posted September 12, 2010 at 8:16 pm | Permalink

            Hey, it was a problem with WP-SuperCache…

  11. Mark
    Posted September 2, 2010 at 10:42 am | Permalink

    Did the plugin break with the Oauth changes Twitter implemented on Aug 31? Things were working fine on the 30th. I can’t get my posts to show on Twitter, although the images do post on my blog. Another of my Twitter plugins also seems to now be unable to post to Twitter.

    • Posted September 2, 2010 at 11:49 am | Permalink

      Almost certainly, Mark =) Thanks to Twitter of course, for giving us… negative two days warning that they were going to implement a sweeping change to their API. Bastards! I’ll see if I can fix it soon.

      • Posted September 2, 2010 at 6:37 pm | Permalink

        Yea, all the Twitter changes lately have been a real PITA. Seems like every few weeks, they break something that has been working just fine…

        One of my other Twitter plugins (Twitter Tools, I think:) recently implemented the “your blog as a Twitter application” thing, where you create consumer keys and access tokens and such, and it seems to be working fine. Probably the direction you’ll need to go?

        And thanks for a great plugin:)

        • Posted September 2, 2010 at 6:48 pm | Permalink

          One final comment on this…

          I just found a link to another Twitter WP plugin author that says he borrowed much of the code from Twitter Tools to do the “heavy lifting” part of the Oauth stuff. Maybe the code would make your life easier:)

          • Posted September 2, 2010 at 10:16 pm | Permalink

            Oh brilliant, cheers Mark – I’ll definitely be checking that out

  12. Posted September 14, 2010 at 2:34 pm | Permalink

    I keep getting the: “There was an error posting the image: Invalid username or password”

    Of course checked many times, account name is registered in settings..

    please help

    • Posted September 19, 2010 at 1:33 am | Permalink

      Sorry about the delay, Luke; This is due to Twitter’s rather abrupt API change. I’ll get a fix out as soon as I have a moment. Until then, you can still upload images – but you’ll need to actually post the tweet on, or from your Twitter client.

      • Posted February 2, 2011 at 10:42 pm | Permalink

        So have you sorted this from Sept 2010????

        All I get is There was an error posting the image: Invalid username or password

        What do you mean by “Until then, you can still upload images – but you’ll need to actually post the tweet on, or from your Twitter client.”????

  13. Posted October 3, 2010 at 10:21 am | Permalink

    Great plugin, just what I was looking for to move away from image hosting sites and get everything on to my own sever.

    I may be missing something but, when I post from twitter, it posts no problem as you can see but, and it seems to be quite a big but, the post doesn’t appear on the front page, in fact although the post is there, it doesn’t seem to exist within wordpress.

    It is not listed under posts or pages and the media is not listed anywhere.

    I have also had problems leaving comments on this post. I enter a comment and press submit and I just get returned a blank screen.

    Any help or ideas gratefully received.

    I’m using wordpress 3.0.1 with just 4 plugins (Akismet, Auto Thickbox, Geolocation & this)

    • Posted October 3, 2010 at 3:43 pm | Permalink

      Hi Mike,

      That’s right – the plugin doesn’t actually create posts: It just simulates them in order to make templating easier. If people want, I may change this behaviour in the future and make it actually create entries.

      A side-effect is that comments don’t work very well – I haven’t had the time to look at it in-depth, unfortunately.

      • Mike Rawlins
        Posted October 3, 2010 at 4:28 pm | Permalink

        Thanks Michael, I had sort of worked that out after posting.

        I’ll hack away at the templates to take the comments fields out and it should be ok. Personally I would love it as an option to have the tweet created as a post..


        • Posted October 17, 2010 at 4:20 am | Permalink

          I second that request, would be great if these actually created posts when you submit an image. Right now this plugin is about 90% of what I was looking for; that functionality would push it to 100%!

          By the way, nice work on the documentation here. It’s refreshing to see a WP plugin help page that’s actually useful!

          • WebGuru
            Posted January 6, 2011 at 7:40 pm | Permalink

            I think it would be wonderful to see this feature alongside with an option to assign these tweets to a particular categorty, say, gallery. And then we would have full control over display of the tweets with the default wordpress template tags. Take a look at Stephen Fry’s Blog

            I don’t know how they did it. But it seems very good.

  14. Posted October 15, 2010 at 5:06 am | Permalink

    I was just curious if you were planning to update the plug-in to work with OAuth?

  15. Posted November 9, 2010 at 6:07 am | Permalink

    Hi Michael,

    Love the plug-in. I’ve been looking hard to find how I can use to shorten the url when the picture is uploaded. My domain is a little to long for some of the tweets I send. I would also like to use to to gauge the clicks I am getting on the pictures. Any idea how I might do this?

    Thanks a bunch. Again great job.

  16. Posted December 20, 2010 at 6:44 am | Permalink

    Any plan to further develop this plugin? Its great! I would like to see some further enhancements and bug fixes!


  17. Erzdaemon
    Posted January 10, 2011 at 5:27 pm | Permalink

    Image Upload via Snow Leopard and the Automator service works well – except that the script does not copy the url to clipboard (always empty). Any idea on that?

  18. Posted January 13, 2011 at 8:34 pm | Permalink

    Hmmm… I’m getting an error message: Fatal error: Call to undefined function curl_init() in /home/foliot/public_html/john/wp-content/plugins/twitter-image-host/class.twitter.php on line 713

    Amy idea?

    • Posted January 13, 2011 at 8:39 pm | Permalink

      The plugin needs libcurl, I’m afraid – I’d contact your webhost, see if they can help you out

  19. Posted January 22, 2011 at 8:28 pm | Permalink


    Thanks a lot for the awesome plugin! The comments don’t work for me and I got rid of the comments box by editing the twitter-image-host.php file that’s in the plugins folder.

    I just added // in front of these lines:

    // $post->comment_status = (get_option(‘twitter_image_host_comments_open’, true) ? ‘open’ : ‘closed’); // $post->ping_status = (get_option(‘twitter_image_host_comments_open’, true) ? ‘open’ : ‘closed’);

    I don’t know if this is the right way to do it but now it get’s rid of the comments box on the tweeted picture page which is what I was looking for.


    • Posted January 22, 2011 at 8:31 pm | Permalink

      Oh oh, and now I notice the allow comments and trackbaks button in the admin section… DUH!

  20. Posted February 3, 2011 at 9:27 pm | Permalink


    Great plugin, but I have an issue regarding image size.

    When i post to my site using twitter, the image displayed is too large and spills outside the page, therefore cutting off part of the image.

    Is there any way of ensuring posted images resize automatically?



    • Ben
      Posted December 18, 2011 at 9:06 pm | Permalink

      I would also like this. After the new Twitter for iPhone app stopped supporting custom image options, I’ve tried out a few others that do, including Tweetings and Twittelator.

      I have been using the Tweetpress WordPress plugin quite successfully with the old Twitter for iPhone app, and it would resize my images to 1024 x 768 at some point before it was uploaded. Neither Twittelator nor Tweetings appears to resize the image, so I end up with my iPhone trying to upload a 2mb+ image, in 2592 x 1936 resolution. Which is near-useless to me.

      My temporary workaround is to email a picture to Flickr, which is linked-up to create a new post on my WordPress blog. Then scans my website, notices a change, and tweets it. The delay between me emailing Flickr, and a link being tweeted is 5-7 minutes. Which is crap, but I can’t currently find any other way of uploading a reasonable (NOT enormous) sized image that results in a link to my own website being tweeted out (and doesn’t require yet another app to resize the image first).

  21. Posted February 13, 2011 at 2:31 pm | Permalink

    It seems as though the plugin has stopped working after an upgrade to WordPress 3.0.5. Anyone having the same issue, and is there a resolution?

  22. John Slama
    Posted February 25, 2011 at 11:43 pm | Permalink

    Updated wordpress to 3.1 I’m now receiving this on my twitter-image-host page… “Fatal error: Call to a member function get() on a non-object in /home/jslama33/public_html/blog/wp-includes/query.php on line 27”

    Anyone know a fix?

  23. Posted March 23, 2011 at 6:31 pm | Permalink

    How much effort is involved for you to tweak this plugin so that a user no longer needs to pass their user/pass as plain text over the network?

  24. Posted March 23, 2011 at 7:38 pm | Permalink

    I have Twitter client 3.3.1 and get “there was an error posting your tweet. It has been saved as a draft, please try resending later. (Error: Could not post image)” .

    I have tried both ways with/without password. Also did an auto-install from WordPress (didn’t do manually)

    Will this ever be fixed?

    • Posted March 23, 2011 at 7:48 pm | Permalink

      I got this error before I created the upload folder with write permissions.

      Easy to overlook… did you cover that?

      • Posted March 23, 2011 at 7:59 pm | Permalink

        Thanks for the feedback!!

        So I tried creating a directory on main folder /twitter-image-host/upload/ -777 as well as in /plugins/twitter-image-host/upload -777

        Neither of them solved the problem.

        • Posted March 23, 2011 at 8:14 pm | Permalink

          Doh.. I didn’t allow for my account to upload. That was my fault. Need to make sure to go into twitter hosting settings in wordpress panel so my account can upload.

          Next challenge: making sure images pull up in twitter apps like they do with twitpic. Is this possible?

          • Posted March 23, 2011 at 8:20 pm | Permalink

            If I understand your question, yes. It works just like TwitPic.

            I set a demo up yesterday using this plugin at:


            I set up my iPhone Twitter client to pub to:


            and any pics I attach to a tweet creates a short URL on my domain, and publishes it all to my Twitter timeline.

            Now, I did modify the plugin a bit… I don’t like sending my user/pass as plain text over the network, so I send a hash that gets that info from the database.

            Got everything working within an hour; using the latest version of this plugin and WordPress 3.1.

  25. James
    Posted March 23, 2011 at 8:11 pm | Permalink

    Hmm… I put mine here:


    The server having write permissions on ‘twitter-image-host-content’. That’s where the plugin looks, I believe. Unless you modified the scripts.

    Side note; I’m compelled to discourage you from 777 permissions on a public folder. It can be risky. Start with that to test your app, but then try it with 775. Your user group should be able to write to that folder without allowing the world to as well.

  26. Posted May 7, 2011 at 3:38 am | Permalink

    Help, i have installed and when i try i get nothing i know it says i can start uploading on here straight away but i cant please help

  27. Posted May 26, 2011 at 7:02 am | Permalink

    I am trying to get this app working and everytime I send a picture from the on the iphone it gives me an “error:not found”…any thoughts?

  28. Posted June 11, 2011 at 10:19 am | Permalink


    I have been using this no problem with the Twitter for iPhone app, I have now changed to the new version of Tweetbot which now supports custom image hosting but I keep getting an error when posting.

    I have tried using the two different ways mentioned above. Is there another way to get this to work?


  29. Posted June 11, 2011 at 8:00 pm | Permalink

    Love TIH and have been using with Twitter on iOS, but now have left that client as they continue to remove functionality. Moved to Tweetbot which has support for Custom APIs but the same TIH upload url doesn’t work for Tweetbot. Any ideas? Tweeks?

  30. Posted June 12, 2011 at 6:46 pm | Permalink


    The image uploads to TIH but doesn’t pass the link to the uploaded image back to Tweetbot. So, the tweet in TB generates an error on the image post.