I need to resize images on a website that I create for my company. Images must be of a very specific size, and if the proportions are not correct, I must be able to overlay the image on the border to make it βfitβ. I am not sure what is the best way to approach this problem. My knee-jerk reflex was just to add Rectangles to the image on the go, as I needed, but I can't find a way to make the composite image this way. Should I just create a suitable empty rectangle and overlay my image on it? What libraries or features should I look at the most?
Resizing perfectly and working economically is not a problem. Adding this add-on is the only problem.
TTT
source share