Static Profile Image Urls for Twitter.
Serve Twitter profile images from your WordPress blog.
Requires PHP 5
This code can be used with WordPre
Author: | Shannon Whitley (profile at wordpress.org) |
WordPress version required: | 2.7.0 |
WordPress version tested: | 2.9.2 |
Plugin version: | 1.05 |
Added to WordPress repository: | 06-03-2010 |
Last updated: | 06-04-2010
Warning! This plugin has not 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.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 1 286 |
Active installs: | 10+ |
Click to start download |
Static Profile Image Urls for Twitter.
Serve Twitter profile images from your WordPress blog.
Requires PHP 5
This code can be used with WordPress or as a standalone caching application.
Example Twitter profile image link:
<img src='http://{my wordpress blog}/?spiurl_user={Twitter Username}' alt='' />
Other WordPress plugin authors can check for the existence of this plugin and use the same cache.
Example for Plugin Authors:
if(function_exists('spi_profile_image_get')) { echo '<img src="'.get_option('home').'/?spiurl_user=ev" alt="Ev" />'; }
Changes in Version 1.05
- Added options to turn off the domain check and redirect to image files.
Troubleshooting
There are two options in the file. Edit /plugins/spiurl/spiurl.php
$spiurl_domaincheck = 'Y'; $spiurl_redirect = 'N';
Turn off ('N') $spiurl_domaincheck if you want to test SPIURL.
Turn on ('Y') $spiurl_redirect if your web server isn't serving the image.