WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!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.

Sencha.io Src for WordPress

Version: 1.1 Passes all images through the tinysrc service, optimising all your images for mobile.

  1. Upload auto-tinysrc.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?php if (function_exists('get_tinysrc_image')) { get_tinysrc_image('image_url'); } else { echo image_url; } ?> in your templates to display any template images optimised, e.g. <?php $image_url = get_bloginfo('template_url').'/images/bonsai_404_error.png'; if (function_exists('get_tinysrc_image')) { get_tinysrc_image($image_url); } else { echo $image_url; } ?>
  4. To get a variable containing the url of an image with the tinysrc url use <?php if (function_exists('get_tinysrc_image')) { get_tinysrc_image(get_bloginfo('template_url').'/images/bonsai_404_error.png', false); } ?>

Requires: 2.7 or higher
Compatible up to: 3.4.2
Last Updated: 2011-1-17
Downloads: 824

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1
100,1,1