Changeset 22248


Ignore:
Timestamp:
Apr 17, 2013, 8:26:35 AM (11 years ago)
Author:
cljosse
Message:

[extensions] Autosize update to piwigo 2.5 (fix autosize with pamooramics)

Location:
extensions/Autosize
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/js/Affiche_script.js

    r22220 r22248  
    13701370        Zone_image.zoom = Zone_image.image.height / Zone_image.image_init.height;
    13711371        if (typeof Zone_image.src == "undefined")
    1372           Zone_image.src = " ";
     1372          Zone_image.src = imgSrc;
    13731373        if (typeof Zone_image.name == "undefined")
    13741374          Zone_image.name = " ";
     
    13761376          Zone_image.path = " ";
    13771377
    1378 
    13791378        imgSrcS = imgSrc.split('/');
    13801379        imgSrcS = imgSrcS[imgSrcS.length - 1];
     1380        if (!theImg.src) theImg.src = imgSrc;
    13811381        identique = theImg.src.match(RegExp(imgSrc, "gi"));
    1382         if (identique) 
    1383            identique = theImg.src.match(RegExp("loadajax", "gi")) ;
     1382        if (identique)
     1383          identique = theImg.src.match(RegExp("loadajax", "gi"));
    13841384        if (identique) return true;
    13851385        href_path = get_href(IMg.pictureDeriv);
     
    21832183    } // Debug_pos
    21842184    // ==========================================================
    2185   });                                                                                                                                                                  // ready
     2185  });                                                                                                                                                                   // ready
    21862186  jQuery("#derivativeSwitchBox a").click(function (e) {
    21872187    k1 = 0;
  • extensions/Autosize/main.inc.php

    r22191 r22248  
    22/*
    33 Plugin Name: AutoSize
    4 Version: 3.1.1
     4Version: 3.1.2
    55Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448
Note: See TracChangeset for help on using the changeset viewer.