Image resizing with old school technique.
- Clone repository
git clone [email protected]:mustafauysal/timthumb-on-the-fly.git
- Install timthumb package via
composer install
- Make configuration in index.php
- (optional) Symlink to media directiory
ln -s /var/www/mywebsite/public/uploads/ uploads
For example you installed for assets.example.com
now ready to go resizing:
http://assets.example.com/uploads/sample.jpg?w=400&h=200
You should know timthumb have abandoned but it just works :) If you have concern, you can try other alternatives.