4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: baghdad4ever on November 05, 2010, 10:16:11 AM

Title: thumbnails size?
Post by: baghdad4ever on November 05, 2010, 10:16:11 AM
hi

our users do the thmbnails manually

i want to display all the thumbnails as 100*100

how to do that

??????/


see this page


http://www.baghdad4ever.net/gallery/cat25.htm
Title: Re: thumbnails size?
Post by: Rembrandt on November 05, 2010, 10:33:39 AM

ACP/general/settings:
Max. width of thumbnail in pixel =100
Max. heigth of thumbnail in pixel =100

Auto-create thumbnail = "yes"
Thumbnail size in pixel = 100

go to ACP/Auto-Image-Resizer and convert your existing images.

mfg Andi


Title: Re: thumbnails size?
Post by: baghdad4ever on November 06, 2010, 09:02:43 AM
thanks

i found my old way which

search in file ./includes/functions.php about

$width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";


and replace it with

$width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
     $thumb = "<img onmouseover=\"pick(this)\" style=\"FILTER: alpha(opacity=80) gray()\" onmouseout=\"unpick(this)\" width=\"100\" height=\"80\" class=\"pic\" src=\"".$file_src."\" border=\"0\"  alt=\"".$image_name."\" />";
 


change 100 width and 80 height to what ever you want

thanks