Image resize on the fly

Comparing #1 with #2

Content

[...]
What was it?
------------

After first attempt to thumb
nail /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.