WordPress.org

Plugin Directory

Changeset 626388


Ignore:
Timestamp:
11/17/12 07:30:12 (17 months ago)
Author:
M66B
Message:

1.169 dev thumbnails in meta box

Location:
add-link-to-facebook
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/tags/1.168/readme.txt

    r624693 r626388  
    784784 
    785785= Development version = 
    786 * ... 
     786* Improvement: display thumbnails in the post meta box 
    787787 
    788788Follow these steps to install the development version: 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r619382 r626388  
    11551155 
    11561156                                $picture = wp_get_attachment_image_src($attachment_id, $image_size); 
     1157                                $thumbnail = wp_get_attachment_image_src($attachment_id, 'thumbnail'); 
    11571158 
    11581159                                echo '<div class="al2fb_image">'; 
     
    11631164                                echo '<br />'; 
    11641165                                echo '<label for="al2fb_image_' . $attachment_id . '">'; 
    1165                                 echo '<img src="' . $picture[0] . '" alt=""></label>'; 
     1166                                echo '<img src="' . $thumbnail[0] . '" alt=""></label>'; 
    11661167                                echo '<br />'; 
    11671168                                echo '<span>' . $picture[1] . ' x ' . $picture[2] . '</span>'; 
  • add-link-to-facebook/trunk/readme.txt

    r624693 r626388  
    784784 
    785785= Development version = 
    786 * ... 
     786* Improvement: display thumbnails in the post meta box 
    787787 
    788788Follow these steps to install the development version: 
Note: See TracChangeset for help on using the changeset viewer.