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