Added to Wiki: image resizing and squaring library |
[eluser]JoostV[/eluser]
Image resizing and cropping can take up a lot of repetitive code. I added an image library to the Wiki that I use to create thumbs and resized versions of images (square or not). EDIT: This library has been moved to Github https://github.com/accent-interactive/ci-lib-images By default, images are squared from the center, but this can be offset, too. Example usage: Code: function image () |
Welcome Guest, Not a member yet? Register Sign In |