Please Log in to join the conversation.
Hope I'm posting this in the right area.
I'm using CB 1.0.2 and Joomla 1.0.12 and GD2 (offered on my host). I set the thumbnail width and height to 150 and 150 respectively.
I assume the image handling is done in imgToolbox.class.php. After the function resizeImage checks the actual width and height of the image against $maxheight and $maxwidth, a resize for thumbnail occurs.
If the dimensions of the image being uploaded (in this case an avatar) have a width < the thumbnail width and a height < the thumbnail height, shouldn't the image file be simply copied to a file with 'tn' prepended to the name?
The reason that I ask is that animated gif avatars that I upload become static because of the image conversion. Would the correct fix for this to be to put a size comparison against the thumb width and height right before the resizing for thumbnails. If the size is an acceptable thumbnail size, then simply do a file copy instead of a call to resizeImage?
Also, I noticed defaults set to width=86 and height=60 for thumbnails. I've seen other threads about avatar images being too large and messing up some module and/or plugin formatting. Are these default values the recommended values?
Thanks in advance and please forgive my noobie-ness.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.