~jstys-z/helioviewer.org/scidata

« back to all changes in this revision

Viewing changes to api/src/Movie/HelioviewerMovie.php

  • Committer: Keith Hughitt
  • Date: 2012-12-12 13:40:42 UTC
  • mfrom: (402.4.69 hv)
  • Revision ID: keith.hughitt@nasa.gov-20121212134042-ov5999s7dk0xkqjv
Merged in development changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
366
366
        );
367
367
        
368
368
        foreach ($sizes as $name=>$dimensions) {
369
 
            $thumb = $preview->clone();
 
369
            $thumb = clone $preview;
370
370
            $thumb->thumbnailImage($dimensions[0], $dimensions[1], true);
371
371
            
372
372
            // Add black border to reach desired preview image sizes