You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2021. It is now read-only.
As discussed on Gitter I would like to incorporate the meta data for albums, specifically i would like the info to show up for facebook shares, but when fb works, they all should.
As i understand, the meta for photos work, due to a view.php. However, albums use pure js.
I have made a workaround in getGraphHeader.php that works great, but getting the album to display via query string, is going to require some js tweaks.
function getGraphHeader($theID,$getType) {
// allow album dataif ($getType == 'album'){
$query = Database::prepare(Database::get(), "SELECT id FROM ? WHERE album = '?' LIMIT 1", array(LYCHEE_TABLE_PHOTOS, $theID));
$result = Database::execute(Database::get(), $query, __METHOD__, __LINE__);
if ($result===false) returnfalse;
$row = $result->fetch_object();
$photoID = $row->id;
} else {
$photoID = $theID;
}
$photo = newPhoto($photoID);
// continue code
Additionally, using a query string and js clutters the address bar when navigating.
The text was updated successfully, but these errors were encountered:
As discussed on Gitter I would like to incorporate the meta data for albums, specifically i would like the info to show up for facebook shares, but when fb works, they all should.
As i understand, the meta for photos work, due to a view.php. However, albums use pure js.
I have made a workaround in getGraphHeader.php that works great, but getting the album to display via query string, is going to require some js tweaks.
Additionally, using a query string and js clutters the address bar when navigating.
The text was updated successfully, but these errors were encountered: