Revision #2 has been created by Tpoxa on Nov 11, 2012, 5:13:07 PM with the memo:
nginx feature
« previous (#1)
Changes
Title
unchanged
Image resize on the fly
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
yii, image-resize
Content
changed
[...]
What was it?
------------
After first attempt to thumbnail /resources/thumbs/images/photos/album1/gh53.jpg_200x300.jpg — thumb action will be triggered because file won’t found on disk.
Script will try to find location of the original source file here /resources/images/photos/album1/gh53.jpg[...]
That is all.
**Comments are appreciated. Thanks.**
PS
If you are using Nginx and you want to encrease speed of this script you could use
```php
header("X-Accel-Redirect: /resources/images****");
```
instead of refresh.