Hi
Das habe ich, alles auf 777. Die Bilder wurden auch zu Anfang angezeigt. Habe hier eine ähnliche Problematik gefunden. Ist das bei der 1.53 immer noch aktuell?
http://www.phpbb2.de/ftopic13884-30.html
suche in der portal.php:
$pic_size = @getimagesize(ALBUM_CACHE_PATH . $recentrow[$j]['pic_thumbnail']);
$pic_width = $pic_size[0];
$pic_height = $pic_size[1];
if ($pic_height == 0 || $pic_width == 0 || $pic_height == '' || $pic_width == '')
{
$width = '90%';
$height = '90%';
}
else
{
if ($pic_width > $pic_height)
{
$width = $CFG['pics_thumbsize'];
$height = $CFG['pics_thumbsize'] * ($pic_height/$pic_width);
}
else
{
$height = $CFG['pics_thumbsize'];
$width = $CFG['pics_thumbsize'] * ($pic_width/$pic_height);
}
}
ersetze mit
$pic_size = @getimagesize(ALBUM_CACHE_PATH . $recentrow[$j]['pic_thumbnail']);
$pic_width = $pic_size[0];
$pic_height = $pic_size[1];
if ($pic_height == 0 || $pic_width == 0 || $pic_height == '' || $pic_width == '')
{
$width = '90';
$height = '90';
}
else
{
if ($pic_width > $pic_height)
{
$width = $CFG['pics_thumbsize'];
$height = $CFG['pics_thumbsize'] * ($pic_height/$pic_width);
}
else
{
$height = $CFG['pics_thumbsize'];
$width = $CFG['pics_thumbsize'] * ($pic_width/$pic_height);
}
}
Danke für Tipps.
Edit:
Habe gerade nochmal nachgeschaut. In den Cache wird nichts "reingeschrieben". Bilder können aber im Upload hochgeladen werden. Somit wäre das dann kein Anzeigeproblem im Portal, sondern eher ein falscher Pfad zum cache-Ordner?