How can I set a maximum size for images?
How can I set a maximum size for images?
Where in the code can I set up a maximum size for a popped-up image? I can set up the maximum height/width of a thumbnail in the image through the image content type, but I'd like to be able to change the size of the popped up image- preferably on a per-page or per content-area basis.
hello
look into the conf.inc.php line 48-54
http://www.phpwcms-docu.de/index.php?conf.inc.php_en
look into the conf.inc.php line 48-54
Code: Select all
// content values
$phpwcms["file_maxsize"] = 52428800; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"] = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"] = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"] = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"] = 538; //max width of the large preview image
$phpwcms["img_prev_height"] = 538; //max height of the large preview image