Changeset 12865 for trunk/admin


Ignore:
Timestamp:
Jan 8, 2012, 8:25:52 PM (13 years ago)
Author:
rvelices
Message:

feature 2548 multisize - added a page to build missing derivatives

  • browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow
Location:
trunk/admin
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r12855 r12865  
    201201    $files[] = get_element_path($row);
    202202
    203    
    204203    if (!empty($row['representative_ext']))
    205204    {
    206       $pi = pathinfo($row['path']);
    207       $file_wo_ext = get_filename_wo_extension($pi['basename']);
    208205      $files[] = original_to_representative( $files[0], $row['representative_ext']);
    209206    }
  • trunk/admin/include/image.class.php

    r12851 r12865  
    705705                imagecopy($cut, $ioverlay, 0, 0, 0, 0, $ow, $oh);
    706706                imagecopymerge($this->image, $cut, $x, $y, 0, 0, $ow, $oh, $opacity);
     707    imagedestroy($cut);
    707708    return true;
    708709  }
  • trunk/admin/themes/default/template/derivatives.tpl

    r12851 r12865  
    2323{/literal}{/html_head}
    2424
     25<p><a href="admin.php?page=derivatives_build">Build missing derivatives</a></p>
    2526<form method="post" id="derviativesForm">
    2627<fieldset>
Note: See TracChangeset for help on using the changeset viewer.