removed gallery workaround

This commit is contained in:
sørenpeter 2023-12-28 19:21:21 +01:00
parent 43c29c28ab
commit fdc513863d

View file

@ -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
} }
} }
?> ?>