English version - $max_width and $max_height (functions_thumbs.php) don't work
knnknn - 04-06-2004, 04:49 Temat postu: $max_width and $max_height (functions_thumbs.php) don't work Whatever values I set in functions_thumbs.php they are ignored. Right now I have
Kod: | $max_width = 100;
$max_height = 200; |
but just look at
http://www.in-my-opinion....c.php?p=882#882
the values are ignored.
Przemo - 04-06-2004, 12:16
But which values? Avatars or attachments? functions_thumbs.php is used only for create thumbnails for attached images.
knnknn - 04-06-2004, 15:46
Sure, I am talking about attached images and the max width of the thumbs
Przemo - 04-06-2004, 19:43
It is trouble, because this values are not thumbnail size, but this is max attachment size, after exceed this size, thumbnail will be created. Thumnail size can not be set because thumbnail size is a percentage value for width and height.
This functions need some better calculations which allow to set max attachment size and thumbnail size. Maybe I will do it in future. Or try to ask mod author.
knnknn - 29-06-2004, 15:56
Oops, no IT WORKS!
I found out that there are 2 /includes/ folders and I have been copying it into the wrong one
|
|
|