| Line 407... |
Line 407... |
| 407 |
$str .= "</div>";
|
407 |
$str .= "</div>";
|
| 408 |
|
408 |
|
| 409 |
$thumbnail = !empty($item->Images->Primary->Medium->URL) ? (string)$item->Images->Primary->Medium->URL : "images/no-image-available.jpg";
|
409 |
$thumbnail = !empty($item->Images->Primary->Medium->URL) ? (string)$item->Images->Primary->Medium->URL : "images/no-image-available.jpg";
|
| 410 |
|
410 |
|
| 411 |
$str .= "<div class=\"card-body bg-light mx-auto p-0 m-0\">";
|
411 |
$str .= "<div class=\"card-body bg-light mx-auto p-0 m-0\">";
|
| 412 |
$str .= "<img class=\"btn responsive-image p-0 m-0\" src=\"" . $thumbnail . "\" data-toggle=\"modal\" data-target=\"#masterModal" . $cnt . "\" title=\"Album Information\" data-toggle2=\"tooltip\" alt=\"Cover Thumbnail\">";
|
412 |
$str .= "<img class=\"btn responsive-image p-0 m-0 lazyload\" src=\"data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=\" data-src=\"" . $thumbnail . "\" data-toggle=\"modal\" data-target=\"#masterModal" . $cnt . "\" title=\"Album Information\" data-toggle2=\"tooltip\" alt=\"Cover Thumbnail\">";
|
| 413 |
$str .= "</div>";
|
413 |
$str .= "</div>";
|
| 414 |
$str .= "<div class=\"card-footer bg-dark p-0 m-0\">";
|
414 |
$str .= "<div class=\"card-footer bg-dark p-0 m-0\">";
|
| 415 |
$str .= "<div class=\"container clearfix p-0 m-0\">";
|
415 |
$str .= "<div class=\"container clearfix p-0 m-0\">";
|
| 416 |
$str .= "<span class=\"float-left\">";
|
416 |
$str .= "<span class=\"float-left\">";
|
| 417 |
$str .= "<button type=\"button\" class=\"btn btn-primary m-1 btn-sm\" data-toggle=\"modal\" data-target=\"#masterModal" . $cnt . "\" title=\"Album Information\" data-toggle2=\"tooltip\"><i class=\"fas fa-info\"></i></button>";
|
417 |
$str .= "<button type=\"button\" class=\"btn btn-primary m-1 btn-sm\" data-toggle=\"modal\" data-target=\"#masterModal" . $cnt . "\" title=\"Album Information\" data-toggle2=\"tooltip\"><i class=\"fas fa-info\"></i></button>";
|
| Line 472... |
Line 472... |
| 472 |
$modal .= "</div>";
|
472 |
$modal .= "</div>";
|
| 473 |
|
473 |
|
| 474 |
$modal .= "<div class=\"modal-body bg-white mx-auto\">";
|
474 |
$modal .= "<div class=\"modal-body bg-white mx-auto\">";
|
| 475 |
|
475 |
|
| 476 |
if (!empty($item->Images->Primary->Large->URL)) {
|
476 |
if (!empty($item->Images->Primary->Large->URL)) {
|
| 477 |
$modal .= "<img class=\"responsive-image mx-auto mb-4\" src=\"" . (string)$item->Images->Primary->Large->URL . "\" alt=\"Cover Image\">";
|
477 |
$modal .= "<img class=\"responsive-image mx-auto mb-4 lazyload\" src=\"data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=\" data-src=\"" . (string)$item->Images->Primary->Large->URL . "\" alt=\"Cover Image\">";
|
| 478 |
}
|
478 |
}
|
| 479 |
|
479 |
|
| 480 |
$modal .= "<table class=\"table-borderless table-condensed small mx-auto\">";
|
480 |
$modal .= "<table class=\"table-borderless table-condensed small mx-auto\">";
|
| 481 |
$modal .= "<tr><td class=\"px-1\">Title:</td><td class=\"px-1\">" . (string)$item->ItemInfo->Title->DisplayValue . "</td></tr>";
|
481 |
$modal .= "<tr><td class=\"px-1\">Title:</td><td class=\"px-1\">" . (string)$item->ItemInfo->Title->DisplayValue . "</td></tr>";
|
| 482 |
|
482 |
|