0 Replies Latest reply on Jun 14, 2007 2:18 AM by (JohnbGranger)

    URL Rewrite and show thumbnail

      I have a page called product.php which displays resized thumbnails fine when viewed via :

      www.mywebsite.com/product.php?proditem=11&prodname=my-product-name

      however when i apply the rewrite rule to make the url appear like

      www.mywebsite.com/product/my-product-name-11.php

      the "show thumbnail" images are empty.

      I presume this is because the $objDynamicThumb->Execute(); is generating a relative relative path to the image. e.g.

      www.mywebsite.com/product/main_imgs/thumbnails/mypic_200x200.jpg

      but in fact the image is located :

      www.mywebsite.com/main_imgs/thumbnails/mypic_200x200.jpg

      how would i go about working around this ?