1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-04-21 17:31:58 +02:00

preparing to tag latest changes

This commit is contained in:
Mikael Roos 2012-10-02 23:00:39 +02:00
parent 5ac715aa48
commit e4c436f52c

View File

@ -21,7 +21,7 @@ CImage lives at github: https://github.com/mosbth/cimage
Enjoy!
Mikael Roos (mos@dbwebb.se)
Mikael Roos (me@mikaelroos.se)
Installation
@ -40,10 +40,10 @@ chmod 777 cache
4. Advanced usage. Put `img.php` in your `/img`-directory. Create a `.htaccess` in your
web root folder containing the following line:
<blockquote>
RewriteEngine on
RewriteRule ^image/(.*)$ img/img.php?src=$1 [QSA,NC,L]
</blockquote>
<pre><code>
RewriteEngine on
RewriteRule ^image/(.*)$ img/img.php?src=$1 [QSA,NC,L]
</code></pre>
Now you can access and resize your images through `/image/someimage.jpg?w=80`. Very handy.