When a given thumbnail is assigned to a resource, it is cropped to make it fit the wanted size.
In some situations we may want to fit the whole given image, so a scaling would be better in this case.
We need to
create a new procedure to scale the image
add an argument to choose the desired algorithm (default to the current one)
When a given thumbnail is assigned to a resource, it is cropped to make it fit the wanted size. In some situations we may want to fit the whole given image, so a scaling would be better in this case.
We need to