Posted on Jan 20, 2012 / Est. budget $ 50 / Project closed
*Please do not submit a bid if you cannot do this for $50.00 or less.
We have a component that allows members to upload images to two separate areas of the site. *This is NOT the same image upload function that comes with Joomla. This is an extension we installed as an addon for Joomla. In one area we want all images to be resized and cropped to 400x400 pixels. In the other area we want photos resized and cropped to 200x200 pixels. We would like this process to be automatic in that:
1. Original image dimensions are reduced or enlarged (maintaining the original aspect ratio) using the higher value of either length or width.
2. Black color used to fill in empty space outside the lower value of length or width.
This would basically resize all original perfect square (1x1 ratio) images to either 200x200 or 400x400, depending on to which area the images are uploaded. Any time an original image that is rectangular with a higher width than height, the post-processing images would appear as 200x200 or 400x400 with black "bars" on the top and bottom (filling in the empty space). Any time an original image that is rectangular with a higher height than width, the post-processing images would appear as 200x200 or 400x400 with black "bars" on the left and right (filling in the empty space).
*All files used for this modification and instructions on how/where to apply modifications must be provided.