> EDD Download Images wordpress plugin resources analysis

EDD Download Images wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name EDD Download Images
Version 1.1.3
Author Andrew Munro, Sumobi
Rating 100
Last updated 2014-11-04 03:46:00
Downloads
3131
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
EDD Download Images plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

EDD Download Images plugin added 9 bytes of resources to the Home page and 23 bytes of resources to the sample Post page.

EDD Download Images plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! EDD Download Images plugin ads no tables to your Wordpress blog database.

This plugin requires Easy Digital Downloads v2.0 or higher. This plugin allows you to add extra images to your downloads. Use the included shortcode or template tag to display the images on your website. Developers can also use this plugin to get an array of the images and display the images any way they wish (eg slideshow).

Shortcode Usage

[edd_download_images]

Template Tag Usage

if( function_exists( 'edd_di_display_images') ) {
    edd_di_display_images();
}

Filtering the HTML

To alter the HTML, the following filter is provided (example shows an extra <div> being added around image). Paste this into your functions.php and modify $html to your liking:

function themename_edd_di_display_images( $html, $download_image ) {
    // here a div tag is wrapped around each image
    $html = '<div><img class="edd-di-image" src="' . $download_image['image'] . '" /></div>';
    return $html;
}
add_filter( 'edd_di_display_images', 'themename_edd_di_display_images', 10, 2 );

Developers

To get the array of images from the Database you can use the following. This will be useful if you'd like to build a slideshow to show all the download's images:

$images = ( function_exists('edd_di_get_images') ) ? edd_di_get_images() : '';

// see the images in the array
var_dump( $images );

Want more free EDD plugins?

To fund ongoing development of more free EDD plugins, I would greatly appreciate any of the below:

  1. Buy one of my commercial EDD plugins

  2. Use my referral code when you purchase your next EDD plugin

  3. Donate via PayPal

Plugins for Easy Digital Downloads

https://easydigitaldownloads.com/extensions/

Tips for Easy Digital Downloads

http://sumobi.com/blog

Stay up to date

Follow me on Twitter

http://twitter.com/sumobi_

Become a fan on Facebook

http://www.facebook.com/sumobicom

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
News Magazine screenshot

News Magazine

by: webdorado

16376
100%
WPspirit-01 screenshot

WPspirit-01

by: JoomSpirit

3198
0%