WebsiteBaker 2.13.7 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
$filename = ''; $folder = ''; $dir = '/media/blog/' . $folder . '/' . $filename; $class = 'group'; $size = getimagesize($dir, $info); if(isset($info['APP13'])) { $iptc = iptcparse($info['APP13']); $caption = $iptc["2#120"][0]; } else { $caption = $filename; } return '<a class="' . $class . '" href="' . $dir . '"><img src="' . $dir . '" alt="' .$caption . '"></a> ';