toddherrold wrote:
I like the direction you're going with the page formatting. Solo is aware of the thumbnail sizing issue, as well as the issue with not showing the media's image, but rather the section page image over and over.
//Défini la largeur des logos
if ($artimage AND $xoopsModuleConfig['navlink_type'] == 'list' AND $xoopsModuleConfig['tags']){
$logo = XOOPS_URL . '/'. $xoopsModuleConfig['sbuploaddir'] .'/'. $artimage;
$image_size = getimagesize("$logo");
$logo_width = $image_size[0];
$logo_width = $logo_width / 3;
if ($xoopsModuleConfig['logo_width']) {
$xoopsModuleConfig['logo_width'] = $xoopsModuleConfig['logo_width']/3;
if ($xoopsModuleConfig['logo_width'] <= $logo_width) {
$logo_width = " width='".$xoopsModuleConfig['logo_width']."'";
} else {
$logo_width = " width='".$logo_width."'";
}
}
$logo = '<img src="'.XOOPS_URL . '/'. $xoopsModuleConfig['sbuploaddir'] .'/'. $myrow['artimage'].'" alt="'.$myts->makeTareaData4Show($subject).'" align="absmiddle"'.$logo_width.' />';
} else {
$logo = '';
}
http://www.ideal-handling.com/%5C%22https://xoops.org/%5C%22