This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress. Src for WordPress

Description src is a service provided by Sencha which dynamically shrinks your images according to the device accessing them. This helps shrink images for mobile, and will cut down the size of a site with a responsive design.

This plugin replaces all image tag src’s within your content with the tinysrc src ( becomes, and provides a function to call in your themes to optimise those images.




  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')) {
    } else {
    echo image_url;
    } ?>
    in your templates to display any template images optimised, e.g.
  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);
    } ?>


What happens if src goes down

If the service goes down (which as its backed by Sencha, it shouldn’t for long), simply deactivate the plugin to serve all the images from your server again. If you use the template code, be sure to use the <?php if (function_exists('get_tinysrc_image')) code so that you serve the original image again when deactivating the plugin.

What happens if I want to replace Src for WordPress with another similar service, or src change their url again

Go to the settings (Settings -> Sencha) and change the url for your desired replacement.

Contributors & Developers

“ Src for WordPress” is open source software. The following people have contributed to this plugin.




  • First release


  • Updated name to reflect tinysrc’s change in branding to Src
  • Updated URL to latest