Changeset 12190


Ignore:
Timestamp:
09/19/11 22:05:07 (8 years ago)
Author:
arno
Message:

bugfix:partial compatibility with plugin look_like_gbo2 (disable prefetching)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/DynamicResize/main.inc.php

    r12179 r12190  
    107107 
    108108   //FOR PREFETCHING 
    109                 if(isset($next)){ 
     109                $isNext = isset($next) && isset($next['image_url']) && isset($next['width']) && isset($next['height']); 
     110                if($isNext){ 
    110111                        //NEXT PICTURE URL 
    111112                        if(substr($next['image_url'],0,1)=='.') { 
     
    164165                $new_srcimg = DYN_ROOT.'/slir/'.'w'.$dynamic_width.'-h'.$dynamic_height.$srcimg; 
    165166                 
    166                 if(isset($next)){ 
     167                if($isNext){ 
    167168                        if(substr($next['image_url'],0,1)=='.') { 
    168169                                $next_srcimg = substr($next['image_url'],1); 
Note: See TracChangeset for help on using the changeset viewer.