Plugin Directory

SPIURL

Static Profile Image Urls for Twitter. Serve Twitter profile images from your WordPress blog. Requires PHP 5 This code can be used with WordPre

Download Version 1.05

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.

Author: swhitley

Requires: 2.7.0 or higher
Compatible up to: 2.9.2
Last Updated: 2010-4-6 Downloads: 664

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(0 ratings)

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

Log in to vote.

0,1,0 100,1,1