Resizer not working with SEO frindly URL's
I am trying to use SEO friendly url's in this program, but I am finding Image Resizer has a problem with that. I'm using mod_rewrite. The rewrite code is not interfering the correct values for PHP_SELF, DOCUMENT_ROOT, etc.
The test url is:
http://mydomain.com/blog/post/this/
post and this are part of the rewrite, so it becomes
blog.php?qs=post/this
The code looks like this:
<?php
if(TRUE){ // Begin Cached Resized Image: ImageCacheInstance_1337410240488
ob_start();
?>
<img src="../../images/blogs/<?php echo $row_blogPosts['image']; ?>" alt="<?php echo $row_blogPosts['image_alt']; ?>" width="160" height="120" />
<?php
echo(getCachedResizedImageHTML(ob_get_clean(), "../../image_cache", "fit", "#EEEEEE", true));
} // End Cached Resized Image: ImageCacheInstance_1337410240488
?>
I have tried messing around with the second parameter of getCachedResizedImageHTML, but the existing version is correct and the resized images are created as necessary.
The problem is the link url is coming out like this:
src="image_cache/images/blogs/fit/bird_w160_h120/bird_05200200.jpg"
Changing the image reference to:
<img src="/images/blogs/<?php echo $row_blogPosts['image']; ?>" alt="<?php echo $row_blogPosts['image_alt']; ?>" width="160" height="120" />
does not seem to help. It should recognize site root relative links.