close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Resizer not working with SEO frindly URL's

Thread began 5/26/2012 8:47 pm by neo314 | Last modified 8/05/2012 12:52 pm by neo314 | 2575 views | 5 replies

neo314

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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...