|
By moodler:
repository/picasa MDL-17473 Hardcode image heights and widths for nicer display
|
| 401 |
'size' => (int) $gphoto->bytesUsed, |
'size' => (int) $gphoto->bytesUsed, |
| 402 |
'path' => (string) $gphoto->id, |
'path' => (string) $gphoto->id, |
| 403 |
'thumbnail' => (string) $thumbnailinfo['url'], |
'thumbnail' => (string) $thumbnailinfo['url'], |
| 404 |
'thumbnail_width' => (int) $thumbnailinfo['width'], |
'thumbnail_width' => 160, // 160 is the native maximum dimension |
| 405 |
'thumbnail_height' => (int) $thumbnailinfo['height'], |
'thumbnail_height' => 160, |
| 406 |
'children' => array(), |
'children' => array(), |
| 407 |
); |
); |
| 408 |
|
|
| 437 |
'size' => (int) $gphoto->size, |
'size' => (int) $gphoto->size, |
| 438 |
'path' => $gphoto->albumid.'/'.$gphoto->id, |
'path' => $gphoto->albumid.'/'.$gphoto->id, |
| 439 |
'thumbnail' => (string) $thumbnailinfo['url'], |
'thumbnail' => (string) $thumbnailinfo['url'], |
| 440 |
'thumbnail_width' => (int) $thumbnailinfo['width'], |
'thumbnail_width' => 72, // 72 is the native maximum dimension |
| 441 |
'thumbnail_height' => (int) $thumbnailinfo['height'], |
'thumbnail_height' => 72, |
| 442 |
'source' => (string) $fullinfo['url'], |
'source' => (string) $fullinfo['url'], |
| 443 |
); |
); |
| 444 |
} |
} |