Code |
Context foreach($arr as $k => $m) {
if(isset($options['size']) && $options['size'] != 'original') {
if(isset($m['format'][$options['size']]['x1']) && isset($m['format'][$options['size']]['x2']) && isset($m['format'][$options['size']]['y1']) && isset($m['format'][$options['size']]['y2'])) {
$arr = array(
array(
"path" => "/files/photos/9p/31/",
"filename" => "p-prevacid-print-feuillet-1.jpg",
"size" => "33731",
"ext" => ".jpg",
"id" => "611",
"format" => array()
),
array(
"path" => "/files/photos/2p/27/",
"filename" => "p-prevacid-print-ann-1f.jpg",
"size" => "27977",
"ext" => ".jpg",
"id" => "608",
"format" => ""
)
)
$options = array(
"method" => "crop",
"size" => "192x108"
)
$key = null
$useDefaultCrop = false
$arrKey = 0
$m = array(
"path" => "/files/photos/2p/27/",
"filename" => "p-prevacid-print-ann-1f.jpg",
"size" => "27977",
"ext" => ".jpg",
"id" => "608",
"format" => ""
)
$k = 1
MultimediaHelper::path() - APP/plugins/multimedia/views/helpers/multimedia.php, line 202
include - APP/views/projects/view.ctp, line 211
View::_render() - CORE/cake/libs/view/view.php, line 723
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
/files/cache/crop/192x108/photos/9p/31/33731_p-prevacid-print-feuillet-1.85.jpg" />