mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Put up a more visually pleasing placeholder for items that are
missing a thumbnail. Fixes #1591.
This commit is contained in:
@@ -63,7 +63,7 @@ class Organize_Controller extends Controller {
|
||||
$dims = $child->scale_dimensions(120);
|
||||
$data["children"][] = array(
|
||||
"id" => $child->id,
|
||||
"thumb_url" => $child->thumb_url(),
|
||||
"thumb_url" => $child->has_thumb() ? $child->thumb_url() : null,
|
||||
"width" => $dims[1],
|
||||
"height" => $dims[0],
|
||||
"type" => $child->type,
|
||||
|
||||
Reference in New Issue
Block a user