Blog

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 img.ly, 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.

Installation

  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

FAQ

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=###).

Widget

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

Shortcode

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

the_twitter_image_permalink

Returns the URL to the view page

the_twitter_image_url

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

the_twitter_full_image_url

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

the_twitter_image_title

The title of the image

the_twitter_image_date

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

the_twitter_image_author

The associated Twitter account

the_twitter_image

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

Loop Tags

query_twitter_images

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

has_twitter_images

Use with loop: Determine if there are more images

next_twitter_image

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="http://twitter.com/<?php echo the_twitter_image_author() ?>"><?php echo the_twitter_image_author() ?></a>
	 on <?php echo date('F jS, Y', the_twitter_image_date()) ?>
</p>
  • 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>
          </div>
 
          <?php echo the_twitter_image() ?>
          <p class="center">From <a href="http://twitter.com/<?php echo the_twitter_image_author() ?>"><?php echo the_twitter_image_author() ?></a></p>
          </div>
    <?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, img.ly, 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, http://your-site.com/blog), 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]
    </IfModule>
    

    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 ‘http://your-site.com/’

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

59 Comments

  1. Posted January 10, 2010 at 5:09 pm | Permalink

    Using your 0.2 version of the plugin seems to break the post list display under ‘edit posts’

    • Posted January 10, 2010 at 6:48 pm | Permalink

      Yes, I’m afraid I introduced a bug in 0.2 that slipped through the net. I’ve just released 0.3 – it should be online within the next hour.

  2. Posted January 11, 2010 at 4:37 pm | Permalink

    I followed your instructions but I can’t get it to post via Tweetie on the iPhone.

    I’ve set my Tweetie settings to use custom service at http://mashablepete.com/twitter-image-host. I’ve also created a folder in http://mashablepete.com/wp-content/twitter-image-host-content with 777 permissions.

    I’ve had similar problems with other self hosted twitpic plugins.

    Any other suggestions?

    • Posted January 20, 2010 at 9:41 pm | Permalink

      Hi Pete; The new version should work now, and there’re now instructions above on how to make it work. You specify http://your-blog/twitter-image-host/upload as the access point, and all should be well.

      • Posted January 21, 2010 at 4:22 pm | Permalink

        Michael! It’s working! Woohoo! However my page is getting all kinds of garbled text with this plugin activated. Check it out here > http://mashablepete.com/2mty3 Any idea’s ?

        • Posted January 21, 2010 at 4:35 pm | Permalink

          Yeah, that one’s quite mysterious, but I’ve released a fix that should make WP shut up – Update and all should be well.

          • Posted January 21, 2010 at 5:09 pm | Permalink

            Awesome I’ve got it working now. I upgraded WordPress and the plugin.

            I’d like to be able to have a “twitpic” page on my site where all of these photos get loaded too. Ideally the most recently uploaded photo would be at the top and thumbnails of all previous photos would be listed underneath it.

            Can you tell me how to do this or is this what you referring to in the “create a template” section below?

          • Posted January 21, 2010 at 5:20 pm | Permalink

            Ah, this I haven’t written support for yet. Gimme a little while, I’ll get back to you

          • Posted January 23, 2010 at 8:14 pm | Permalink

            This is now supported in Version 0.5 – see documentation above for info.

  3. Posted January 20, 2010 at 9:21 pm | Permalink

    Any chances that this will eventually support older phones, sending images as attachments using SMS? I currently use MobyPic as it’s the only one that does this, but would love to keep the images on my own domain.

    • Posted January 20, 2010 at 9:40 pm | Permalink

      Sorry John, I didn’t quite get around to answering you on Twitter. I don’t plan to implement this at the moment – honestly, I’m not sure how I would, as it requires an SMS receiving facility. I’m afraid it’s in the too hard basket, at this point =)

  4. Teckem
    Posted January 21, 2010 at 1:01 am | Permalink

    Hi Michael, This is an awesome plugin, although I seem to be having this error:

    Warning: Missing argument 2 for twitter_image_host_post_link() in /homepages/3/d288889545/htdocs/Teckem/project/TBQ/wp-content/plugins/twitter-image-host/twitter-image-host.php on line 370

    Do you know why this could be occuring?

  5. Posted January 21, 2010 at 2:09 am | Permalink

    Hi Michael,

    I just installed the plugin and love the idea. I am getting the same error as Teckam, though.

    Thanks for your work on this..

    Chris

  6. Teckem
    Posted January 21, 2010 at 10:06 pm | Permalink

    You new uprgade works like a charm, thanks!

    Anyone else having this problem, should no longer have this problem after upgrading the plugin. I changed nothing and the errors were gone!

  7. Posted January 21, 2010 at 10:10 pm | Permalink

    I can also confirm that the update fixes the problem. Thanks.

  8. Posted January 21, 2010 at 11:11 pm | Permalink

    love using this plugin. Hope that eventually other mobile twitter apps will have custom image settings. Are there any plans to add to this plugin ie. a profile page with the gallery? This plugin has lots of potential, thanks again.

    • Posted January 21, 2010 at 11:21 pm | Permalink

      Great! Yes indeed there are plans – in fact, if you’d like to be a guinea-pig, grab the latest development version that I’ve been working on this evening; I’ve added a widget and a shortcode function that display images that’ve been added.See the readme in there for more details: http://downloads.wordpress.org/plugin/twitter-image-host.zip

  9. Posted January 26, 2010 at 8:36 pm | Permalink

    Doesn’t work…And template either.

    Warning: array_filter() [function.array-filter]: The first argument should be an array in /home/saturno7/public_html/wp-content/plugins/twitter-image-host/twitter-image-host.php on line 527

    sorry :(

  10. Posted February 3, 2010 at 1:21 am | Permalink

    Everything works great! Thanks for this great plugin! I owe you a beer!

    • Posted February 7, 2010 at 12:51 pm | Permalink

      Awesome! Glad to hear it ;-)

  11. Posted February 6, 2010 at 7:05 pm | Permalink

    Version 0.51 broke my installation. Now when I upload a picture from Tweetie 2, or try to click on one of the pictures in my blog sidebar it returns an error.

    See that here..

    http://www.crucialthought.com/dq4mq/

    The error is:

    Warning: include() [function.include]: Filename cannot be empty in wp-content/plugins/twitter-image-host/twitter-image-host.php on line 665

    Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in wp-content/plugins/twitter-image-host/twitter-image-host.php on line 665

    Thanks..

    Chris

    • Posted February 7, 2010 at 12:51 pm | Permalink

      Hi Chris – it looks like there’s no ‘single’ template in your WordPress theme, which is why it’s having problems; I’ve released a fix that will fall back to the index.php template from the theme. Let me know if there are further problems.

  12. Posted February 7, 2010 at 1:13 pm | Permalink

    Michael,

    I am thoroughly impressed. It works like a charm.

    Just a note, I installed the WP-Touch plugin to make the blog more iPhone friendly and when coupled with this plugin the load times for pics are reduced and it looks great.

    I owe you a coffee (or drink of your choice).

    Chris

    • Posted February 7, 2010 at 3:05 pm | Permalink

      Glad to hear it! That’s great.

      If you (and any other satisfied customers!) feel like it, I’d appreciate a solid rating on the WordPress themes directory (http://wordpress.org/extend/plugins/twitter-image-host); for some reason it’s getting – excuse my French – shat on currently with 1.5 stars. Weird =)

  13. Posted February 8, 2010 at 11:01 pm | Permalink

    i installed everything correctly but everytime i attempt to upload from tweetie 2 i get an error message saying there was an error posting my message. any suggestions?? thanks again.

    • Posted February 9, 2010 at 11:42 am | Permalink

      Hi AJ,

      Here are a couple of things to try:

      1. Visit the post form, at http://your-site.com/twitter-image-host, use it, and see if there are any error messages
      2. If that still works, try the API; if you are on a Mac, open Terminal (in Applications, Utilities), then type the following, replacing “path-to-an-image.jpg” with the path to an image file, and “your-username” with your Twitter account name, “your-password” with your Twitter password, and “your-site.com” with the URL to your blog:

      curl -F '[email protected]' -F title='Testing' -F username=your-username -F password=your-password http://your-site.com/twitter-image-host/upload

      That should return something that contains a <mediaurl>http://your-site.com/abcde</mediaurl> string.

      If all of that still works, then the problem may lie with your iPhone’s internet connection, perhaps.

  14. Posted February 9, 2010 at 11:16 pm | Permalink

    anything else i can try? i really appreciate your help.

    btw, i own talkie, and talkie for mac and i love both!

  15. Posted February 13, 2010 at 2:54 pm | Permalink

    Hi Michael,

    When I go to my site’s page to upload (i.e. http://www.mysite.com/twitter-image-host) I get this error

    Fatal error: Call to undefined function add_options_page() in /mypathtowordpress/wp-content/plugins/wp-contact-form/wp-contactform.php on line 182

    Thoughts?

    I see this works on a friend’s blog. Not sure what the issue is with mine.

    Thanks..

    Chris

  16. Posted February 14, 2010 at 8:18 am | Permalink

    Hi! I seem to have got it working, but… 1. installed and activated plugin 2. made a twitter-image-host.php based on single.php in theme folder 3. uploading with posting to twitter works 4. page opens and shows pic but: my logfiles tell me code 404 for every page call?

  17. Posted February 18, 2010 at 8:08 am | Permalink

    The plugin used to work fine, but since I upgraded i keep getting the following error message:

    “Warning: md5_file() [function.md5-file]: Filename cannot be empty in /hermes/web03/b561/moo.crownmultimedia/blog/wp-content/plugins/twitter-image-host/twitter-image-host.php on line 277”

    It posts a link to Twitter, but it is a link to the last image in my Twitter Image Gallery: http://crownmultimediaagency.com/photos

    Any suggestions?

    Thanks for all of your hard work, Carlos

    • Posted February 18, 2010 at 11:32 am | Permalink

      Hi Carlos,

      If the filename is empty, then the image upload has failed, and it should be reporting an error.

      I’ve emailed an updated version to you that should report the error better (replace the existing file in wp-content/plugins/twitter-image-host with this), but something else is causing the upload to fail, and the failure happens outside the plugin.

      How are you uploading the image? Via the web interface? Is anything reported in your webserver’s error log (if you have access to it)?

      Cheers, Michael

      • Posted February 19, 2010 at 2:16 am | Permalink

        I installed the updated PHP file…this time it says, “There was an error posting the image: No image provided

        Try again:”

        I am using the twitter-image-host interface and uploaded the file directly from my hard drive…not sure if I’m missing something simple??? It used to work before…

  18. Posted February 18, 2010 at 1:00 pm | Permalink

    Hi Michael,

    Any thoughts on my error?

    Fatal error: Call to undefined function add_options_page() in /mypathtowordpress/wp-content/plugins/wp-contact-form/wp-contactform.php on line 182

    Chris

    • Posted February 18, 2010 at 1:40 pm | Permalink

      Ah, I’m sorry Chris, I missed you!

      What WordPress version are you using? It sounds to me like it may be a tad outdated.

  19. Posted February 18, 2010 at 1:42 pm | Permalink

    Hi Michael,

    No, I’m using 2.9.2!

    :)

    Chris

    • Posted February 18, 2010 at 1:44 pm | Permalink

      Oh dear, it’s not that, then! I suggest you get in touch with the author of the troublesome plugin in question (WP Contact Form). Unless there’s something more weird going on, it’s not Twitter Image Host that’s causing the error.

  20. Posted February 18, 2010 at 3:06 pm | Permalink

    I deactivated the Wp-Contact form plugin and got the correct page.

    However, when I upload a pic, I get the same error reported by Carlos. My web host logs say

    [Thu Feb 18 08:02:16 2010] [warn] RewriteCond: NoCase option for non-regex pattern ‘-f’ is not supported and will be ignored.

    I suspect the permissions need to be changed in some folder to allow the world to write to it. Is this correct?

    Also, how to prevent the world from using me as their twitpic? I want this for me only.

    Thanks..

    Chris

  21. Posted February 19, 2010 at 12:02 am | Permalink

    Hi, Tried the Terminal trick above & get curl: (26) failed creating formpost data

    For info, I have wp installed in a subdirectory http://www.mysite.co.uk/blog/wp

    I have set the content folder up as you suggest as well with permissions 777 Don’t get to see a post page when I navigate to http://www.mysite.com/blog/twitter-image-host or /upload

    I know its me, but please help anyways!?

    Thanks Martyn

    • Posted March 3, 2010 at 1:41 pm | Permalink

      Hi Martyn, Unless you’re using IIS too, make sure you have a custom permalink structure set up, not just the default ?p=###. This will enable URL rewriting, required for the plugin.

  22. Posted March 3, 2010 at 12:36 pm | Permalink

    I installed this but cant work out why its not working? i cant visit the address as mentioned above (i assume mine should be http://lewisjuggins.co.uk/wordpress/twitter-image-host but nothing happens.

    If i go directly to http://lewisjuggins.co.uk/wordpress/wp-content/plugins/twitter-image-host/form.inc.php it stops at the very first <?php call… so renders only upto:

    html xmlns=

    then stops… any ideas!??

    • Posted March 3, 2010 at 1:39 pm | Permalink

      Hi James, It looks like you’re using IIS – I’m afraid I have no idea how to support it, and thus I don’t =)

      If you do figure it out, I’d love to know how, though. Sorry I can’t be more help.

      • Posted March 3, 2010 at 1:42 pm | Permalink

        ahh. care to point me in the right direction!? is it likely to be a rewrite issue somewhere? (i do have an re-write module so if thats poss the problem, i can try figure it out)

        • Posted March 3, 2010 at 1:56 pm | Permalink

          I’d say it’s probably a rewrite issue, yes – I’d try turning it on, and see if it works. I’m not quite sure if this plugin’s at all IIS compatible, but it’s worth a try. Good luck!

  23. Posted March 9, 2010 at 6:09 pm | Permalink

    Thank you very much. Playing with it and it works great.

    One problem though: Cannot seem to change the ‘image dimensions’ from the settings-menu. After saving there back to 500px

  24. Posted March 11, 2010 at 2:31 pm | Permalink

    Hmm, another one. The posts and comments are not showing up in the backend.

    • Posted March 11, 2010 at 2:58 pm | Permalink

      Hi Koen.

      The posts won’t show up in the back-end, because they’re actually not posts: Just ‘simulated’ posts so that they can be commented on. The only data associated with each uploaded image is the image itself, and a file called .meta in the same folder as the image file.

      The comments thing is a known issue, one I’m hoping to figure out a solution to – it also stops comment notifications from working. Hopefully I’ll work it out some time.

      • Posted March 11, 2010 at 3:45 pm | Permalink

        Oaky. I’ll disable comments for now. I am using it as a twitpic replacement, so do not really need it.

        Thanx again for this plug-in. (and enjoy Europe :)

  25. Markus
    Posted March 17, 2010 at 10:28 pm | Permalink

    Hei Michael!

    Wow, absolute great plugin and it works realy fine! Thanks a lot! I love it! I have just a few featuer request :)

    • edit uploads & comments (maybe is the custom-post function inside wp 3.0 a solution?)
    • it will be nice if the pic get a connection to the media libary
    • show the twitter post inside the twitter-image-host.php

    It will be nice get this features inside, but but … it works nice so long! Thanks a lot! Markus

  26. Posted March 23, 2010 at 2:50 am | Permalink

    Bump for editing/management of uploads/comments. Right now, Askimet is saying that I have 11 spam comments in the queue, but they’re not showing up. I assume this is because they’re comments on my Twitter image uploads.

    Also, I have some images that I’d like to delete….. and I have no idea how.

    Apart from that, love it!

    • Posted March 23, 2010 at 10:49 am | Permalink

      Hi Beau (and Markus),

      Just spent some time on it – it’s a bit of a large job, because I’m only emulating posts (to keep things clean) and want to maintain compatibility across as many WP versions as I can. I’ve made some ground, though.

      It’s not a complete solution, but for a quick stop-gap with comments until I’ve done the rest, the following should make comments appear in the admin interface:

      • Open up twitter-image-host.php
      • Find line 805: return $query;
      • Change this line to return str_replace("p.post_status != 'trash'", "(p.post_status != 'trash' OR p.post_status IS NULL)", $query);
  27. Markus
    Posted March 23, 2010 at 9:03 pm | Permalink

    @Michael: Thanks – your quickfix works fine. Thanks a lot!

  28. Posted May 3, 2010 at 8:24 am | Permalink

    Getting this error while upload my site page …

    Fatal error: Call to undefined function add_options_page() in /mypathtowordpress/wp-content/plugins/wp-contact-form/wp-contactform.php on line 182

    • Posted May 3, 2010 at 10:37 am | Permalink

      Hello – What WordPress version are you using?

    • Posted May 3, 2010 at 10:38 am | Permalink

      Oh, wait a moment – that’s the wp-contact-form plugin – this is twitter-image-host, which is a different plugin. Best talk to the developer of that plugin instead.

  29. JB
    Posted May 28, 2010 at 3:08 pm | Permalink

    I just wanted to say thanks for this plugin. It’s just what I was looking for. I hope that you keep developing further and adding more features (it’d be great to support video :). Also, I’m having a little problem and I’d like to ask you about it… I’m not able to change the images resolution. By default it’s 500px, but if I increase it and save it, it goes back to 500px. Is it there a way to fix that? Another thing is an aesthetic issue. When I create a page where I want to show the images uploaded using twitter image host, the way it displays the gallery is kind of funny. It shows these underlines (they are hidden until you hover the cursor), and there’s a big white space around the thumbnails.

    Again, thanks for your efforts!

    • Posted May 29, 2010 at 2:28 pm | Permalink

      Hi JB – You’re very welcome! You’ll want to change the image dimensions in the Twitter Image Host options, rather than manually changing the image itself.

      It sounds like you may want to adjust your theme’s CSS – not having seen it, I can’t advise, but it’ll be something in your theme, I’d say.

      Cheers!

      • JB
        Posted May 30, 2010 at 1:14 am | Permalink

        Hi Michael,

        Thanks for your response. I think I haven’t been very clear explaining the issue I was having with the images resolution. What I meant is that what I’m trying to change are the size settings in the Twitter Image Host options. By default it says 500px, but it doesn’t matter the value I specify, when I save the Twitter Image Host options it goes back to 500px once the page is reloaded after saving. And then, whatever the actual resolution of my image is, it’s always scaled down to 500px.

        About the other issue, I’ll check my CSS and see what’s going on.

        Thanks!!

  30. Dan
    Posted June 30, 2010 at 2:04 pm | Permalink

    I second the video support. Thanks!