mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
repository/picasa MDL-17473 Hardcode image heights and widths for nicer display
This commit is contained in:
parent
f4b879ddea
commit
5d2ee15194
@ -401,8 +401,8 @@ class google_picasa {
|
||||
'size' => (int) $gphoto->bytesUsed,
|
||||
'path' => (string) $gphoto->id,
|
||||
'thumbnail' => (string) $thumbnailinfo['url'],
|
||||
'thumbnail_width' => (int) $thumbnailinfo['width'],
|
||||
'thumbnail_height' => (int) $thumbnailinfo['height'],
|
||||
'thumbnail_width' => 160, // 160 is the native maximum dimension
|
||||
'thumbnail_height' => 160,
|
||||
'children' => array(),
|
||||
);
|
||||
|
||||
@ -437,8 +437,8 @@ class google_picasa {
|
||||
'size' => (int) $gphoto->size,
|
||||
'path' => $gphoto->albumid.'/'.$gphoto->id,
|
||||
'thumbnail' => (string) $thumbnailinfo['url'],
|
||||
'thumbnail_width' => (int) $thumbnailinfo['width'],
|
||||
'thumbnail_height' => (int) $thumbnailinfo['height'],
|
||||
'thumbnail_width' => 72, // 72 is the native maximum dimension
|
||||
'thumbnail_height' => 72,
|
||||
'source' => (string) $fullinfo['url'],
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user