I have been using thumbnail class by ‘Ian Selby’ v1 that can crop image from center and create thumbnail by given width and height parameters but that was not flexible. If the image has same width and height ratio (e.g. 100×100 or 500×500) then it is great to crop and resize image from center and […]


This php script takes image file creates a thumbhnail and upload it into ‘thumb’ directory and also upload origional image with rename in ‘images’ directory. Functionality – Uploads image in the ‘images; directory and renames it – Uploads thumbnail in ‘thumbs’ directory and renames it with thumb_filename – Determine thumbnail max width and height – […]