Plugin Directory

Changeset 702849


Ignore:
Timestamp:
04/24/2013 01:25:45 PM (13 years ago)
Author:
bergh
Message:

0.6.1 Bugfix - in 0.6 i added the jQuery and forgot to add the values from Tagged Gallery settings.

Location:
tagged-gallery/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • tagged-gallery/trunk/css/tg.css

    r702420 r702849  
    2929    background: url(/wp-content/plugins/tagged-gallery/images/logo.jpg) no-repeat;
    3030    background-size: 100%;
    31     width: 150px;
    32     min-height:150px;
    33     height:auto !important;
    34     height:150px;
    3531    display: inline-block;
    3632}
  • tagged-gallery/trunk/js/jquery.resizecrop-1.0.3.js

    r702413 r702849  
    2222            $obj.css("display","none"); // remove blink transformation
    2323            $obj.removeAttr("width").removeAttr("height"); // remove attribute dimensions
    24 
     24            options.width = $obj.attr("thumb-width");
     25            options.height = $obj.attr("thumb-height");
     26           
    2527            // Wrapper default CSS
    2628            var wrapper = $(document.createElement(options.wrapper)).css({
  • tagged-gallery/trunk/js/resize.js

    r702413 r702849  
    11$j=jQuery.noConflict();
    22$j(document).ready(function() {
    3             $j('.tagged-gallery').resizecrop({
    4                     width: '150',
    5                     height: '150'
    6                 });
     3            $j('.tagged-gallery').resizecrop({      });
    74            }); 
  • tagged-gallery/trunk/readme.txt

    r702424 r702849  
    55Requires at least: 3.3
    66Tested up to: 3.5.1
    7 Stable tag: 0.6
     7Stable tag: 0.6.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1515Tagged Gallery enables you to easily generate a gallery in any post or page based on tagged media.
    1616
    17 Useage
     17= Useage =
    1818
    1919*   Tag a image in your media library. For this example we use 'Spring2013'
    2020*   Make a page or a blogpost where you want to display your images and tag that post/page with 'tg:Spring2013' and Tagged Gallery will create an image gallery of alle the images tagged with 'Spring2013'
     21*   Remeber to set thumb size in admin interface :)
    2122
    22 Dependency
     23= Dependency =
    2324
    2425*   Tag Pages by Bjorn Wijers - http://wordpress.org/extend/plugins/tag-pages/
    2526*   WordPress Media Tags by Typomedia Foundation  - http://www.typomedia.org/wordpress/plugins/wordpress-media-tags/
     27
    2628Tagged Gallery does NOT connect to any external servers. Just getting tags and images from your WordPress database
     29
     30= 0.6.1 =
     31
     32Bugfix - in 0.6 i added the jQuery and forgot to add the values from Tagged Gallery settings.
     33
    2734
    2835= 0.6 =
     
    7178== Upgrade Notice ==
    7279
     80"Bugfix"
     81
     82When I converted into jQuery for the thummaking, I forgot to remove hardcoded values from the jq-script and add variables. This is now fixed.
  • tagged-gallery/trunk/tg.php

    r702663 r702849  
    55Description: Tagged Gallery enables you to easily generate a gallery in any post or page based on tagged media.
    66Author: Erik Bergh
    7 Version: 0.6
     7Version: 0.6.1
    88Author URI: http://www.bergh.me
    99*/
  • tagged-gallery/trunk/tg_class.php

    r702409 r702849  
    1414            $height = get_option('tg_thumb_height');
    1515            $width = get_option('tg_thumb_width');
     16           
    1617            foreach($posttags as $tag)
    1718            {
     
    4142                        $img=substr($post->guid,strlen($server),strlen($post->guid)-strlen($server));
    4243                       
    43                         $string="<img src=\"".$img."\" class=\"tagged-gallery\" style=\"max-width: 500px;\" data-larger=\"/wp-content/plugins/tagged-gallery/img.php?img=".$img."&size=700x700\" alt=\"".$img."\" /> ";
     44                        $string="<img src=\"".$img."\" class=\"tagged-gallery\" style=\"max-width: none;\" thumb-width=\"".$width."\" thumb-height=\"".$height."\" data-larger=\"/wp-content/plugins/tagged-gallery/img.php?img=".$img."&size=700x700\" alt=\"".$img."\" /> ";
    4445                        $sup.="<div class=\"tg-thumb\">".$string."</div>";
    4546                        //$sup.=$string;
Note: See TracChangeset for help on using the changeset viewer.