D0Gmatist / smart-lencioni-image-resizer

Automatically exported from code.google.com/p/smart-lencioni-image-resizer
GNU General Public License v3.0
0 stars 0 forks source link

SLIR within wordpress #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Geting SLIR with mod rewrite to work within Wordpress
2. Using get string, works, using path doesnt and shows a brokem IMG
3.

What is the expected output? What do you see instead?
Expected image, saw broken image link

What version of the product are you using? On what operating system?
Mac / Latest SLIR

Please provide any additional information below.

This works:
<img src="slir/?w=100&amp;h=100&amp;c=1:1&amp;i=test.jpg" alt="Don't forget 
your alt text" />

This does not.
<img src="slir/w150-h100-c15:10/test.jpg" alt="Don't forget your alt text" />

Mod rewrite is on.
.htaccess is in the slir directory (as standard)

tried amedning the wordpress htacess which is in the root to:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /~matt/senses/senses/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~matt/senses/senses/index.php [L]
RewriteRule /slir /~matt/senses/senses/slir/index.php [L]
</IfModule>

# END WordPress

Which had no effect....

Any ideas or clues would be great.....

Original issue reported on code.google.com by i...@anuuclinic.co.uk on 14 Jan 2012 at 4:16