mirror of
https://github.com/sorenpeter/timeline.git
synced 2025-12-15 19:07:01 +00:00
removed gallery workaround
This commit is contained in:
parent
43c29c28ab
commit
fdc513863d
1 changed files with 1 additions and 4 deletions
|
|
@ -39,10 +39,7 @@ foreach ($twts as $twt) {
|
||||||
$img_array = getImagesFromTwt($twt->content);
|
$img_array = getImagesFromTwt($twt->content);
|
||||||
|
|
||||||
foreach ($img_array as $img) {
|
foreach ($img_array as $img) {
|
||||||
$img_link = $img[0];
|
echo '<a href="'.$baseURL.'/post/'.$twt->hash.'">'.$img[0].'</a>';
|
||||||
|
|
||||||
echo '<a href="'.$baseURL.'/post/'.$twt->hash.'">'.$img_link.'</a>';
|
|
||||||
//echo '<a href="'.$baseURL.'/?profile='.$twt->mainURL.'#'.$twt->hash.'">'.$img[0].'</a>'; // Workaround until cache issue is resolved
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue