Changeset 12363


Ignore:
Timestamp:
10/06/11 17:49:07 (8 years ago)
Author:
mistic100
Message:

restore edit icon
use Piwigo 2.3 image id

Location:
extensions/Back2Front/template
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/Back2Front/template/picture_content.tpl

    r12361 r12363  
    1414      /* picture switch */ 
    1515    {if $b2f_transition == 'fade'} 
    16       jQuery('img[alt="{$ALT_IMG}"]').animate({ldelim} 
     16      jQuery('img#theMainImage').animate({ldelim} 
    1717        opacity:0 
    1818      }, 400, function() {ldelim} 
     
    2626      }); 
    2727    {else} 
    28       jQuery('img[alt="{$ALT_IMG}"]').attr({ldelim} 
     28      jQuery('img#theMainImage').attr({ldelim} 
    2929        src: '{$VERSO_URL}', 
    3030        style: 'max-width:{$WIDTH_IMG}px;max-height:{$HEIGHT_IMG}px;', 
     
    3535      /* hd link */ 
    3636      {if isset($VERSO_HD)} 
    37       jQuery('img[alt="{$ALT_IMG}"]').parent().attr({ldelim} 
     37      jQuery('img#theMainImage').parent('a').attr({ldelim} 
    3838        href: "javascript:phpWGOpenWindow('{$VERSO_HD}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')" 
    3939      }); 
     
    5353      /* picture switch */ 
    5454    {if $b2f_transition == 'fade'} 
    55       jQuery('img[alt="{$ALT_IMG}"]').animate({ldelim} 
     55      jQuery('img#theMainImage').animate({ldelim} 
    5656        opacity:0 
    5757      }, 400, function() {ldelim} 
     
    6565      }); 
    6666    {else} 
    67       jQuery('img[alt="{$ALT_IMG}"]').attr({ldelim} 
     67      jQuery('img#theMainImage').attr({ldelim} 
    6868        src: '{$SRC_IMG}', 
    6969        style: 'width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;', 
     
    7474      /* hd link */ 
    7575      {if isset($high.U_HIGH)} 
    76       jQuery('img[alt="{$ALT_IMG}"]').parent().attr({ldelim} 
     76      jQuery('img#theMainImage').parent('a').attr({ldelim} 
    7777        href: "javascript:phpWGOpenWindow('{$high.U_HIGH}','{$high.UUID}','scrollbars=yes,toolbar=no,status=no,resizable=yes')" 
    7878      }); 
Note: See TracChangeset for help on using the changeset viewer.