diff -upr work/amazon_store/amazon_cart.tpl.php modules/amazon_store/amazon_cart.tpl.php
--- work/amazon_store/amazon_cart.tpl.php	2009-07-08 11:09:16.000000000 -0700
+++ modules/amazon_store/amazon_cart.tpl.php	2009-07-17 00:44:17.130769708 -0700
@@ -8,10 +8,10 @@
 <h2>Your Cart</h2>
 <a href="<?php print url('amazon_store') ?>"><img alt="continue shopping"
 	class="continue_shopping"
-	src="<?php print "$directory/images/shop_cont_bu.gif" ?>" /></a> <?php if ($cart->CartItems): ?>
+	src="<?php print "$base_url/$directory/images/shop_cont_bu.gif" ?>" /></a> <?php if ($cart->CartItems): ?>
 <a href="<?php print $cart->PurchaseURL; ?>" ><img
 	alt="continue checkout" class="continue_checkout"
-	src="<?php print "$directory/images/check_bu.gif" ?>" /></a> <?php endif; ?>
+	src="<?php print "$base_url/$directory/images/check_bu.gif" ?>" /></a> <?php endif; ?>
 
 <div class="greyrule" ></div>
 <?php if (!$cart->CartItems):?> There are no
@@ -32,7 +32,7 @@ items in your cart. <?php else: ?>
 				href="<?php print url("amazon_store/item/{$fullinfo->ASIN}") ?>"> <?php if (!empty($fullinfo->SmallImage)) : ?>
 			<img src="<?php print $fullinfo->SmallImage->URL ?>"
 				alt="<?php print $item->Title ?> " /></a> <?php else: ?>
-			<?php print theme('image',"$directory/images/no_image_small.jpg"); ?> <?php endif; ?></td>
+			<?php print theme('image',"$base_url/$directory/images/no_image_small.jpg"); ?> <?php endif; ?></td>
 			<td class="item_stats"><a class="product_name"
 				href="<?php print url("amazon_store/item/{$fullinfo->ASIN}") ?>"><?php print $fullinfo->ItemAttributes->Title ?></a>
 			<strong class="company_name"> <?php print $fullinfo->ItemAttributes->Manufacturer ?>
@@ -56,11 +56,11 @@ items in your cart. <?php else: ?>
 			<td colspan="2"></td>
 
 			<td class="cart_subtotal"><!--  <input type="image" class="update"
-				value="1" name="update" alt="update" src="<?php print "$directory/images/update_bu.gif" ?>" />
+				value="1" name="update" alt="update" src="<?php print "$base_url/$directory/images/update_bu.gif" ?>" />
 			--> Subtotal: <span class="price"><?php print $cart->SubTotal->FormattedPrice ?></span>
 			<p><a href="<?php print $cart->PurchaseURL ?>" ><img
 				alt="continue checkout" class="continue_checkout"
-				src="<?php print $directory ?>/images/check_bu.gif" /></a></p>
+				src="<?php print "$base_url/$directory" ?>/images/check_bu.gif" /></a></p>
 			<p><a href="<?php print url("amazon_store/clear_cart"); ?>">Empty your cart</a></p>
 			</td>
 		</tr>
diff -upr work/amazon_store/amazon_store_item_image.tpl.php modules/amazon_store/amazon_store_item_image.tpl.php
--- work/amazon_store/amazon_store_item_image.tpl.php	2009-07-15 22:50:30.000000000 -0700
+++ modules/amazon_store/amazon_store_item_image.tpl.php	2009-07-17 00:44:25.378771972 -0700
@@ -12,7 +12,7 @@ if (!empty($configured_image)) {
   $width = (string)$configured_image->Width;
   $height = (string)$configured_image->Height;
 } else {
-  $image = url("$directory/images/no_image_med.jpg");
+  $image = url("$base_url/$directory/images/no_image_med.jpg");
   $width = $height = 192;
 }
 
diff -upr work/amazon_store/amazon_store_item_reviews_panel.tpl.php modules/amazon_store/amazon_store_item_reviews_panel.tpl.php
--- work/amazon_store/amazon_store_item_reviews_panel.tpl.php	2009-05-29 15:17:25.000000000 -0700
+++ modules/amazon_store/amazon_store_item_reviews_panel.tpl.php	2009-07-17 00:44:30.642770097 -0700
@@ -12,7 +12,7 @@ if ($item->CustomerReviews->Review) {
 <p><strong>Average Amazon User Rating:</strong> <img width="56"
 	height="11"
 	alt="Average rating: <?php print $item->CustomerReviews->AverageRating ?> stars"
-	src="<?php print "$directory/images/{$rounded_avg}stars.gif" ?>" /></p>
+	src="<?php print "$base_url/$directory/images/{$rounded_avg}stars.gif" ?>" /></p>
 
 <?php
   foreach ($item->CustomerReviews->Review as $review) {
Only in modules/amazon_store: amazon_store.paths.patch
diff -upr work/amazon_store/amazon_store_search_block.tpl.php modules/amazon_store/amazon_store_search_block.tpl.php
--- work/amazon_store/amazon_store_search_block.tpl.php	2009-07-08 11:09:16.000000000 -0700
+++ modules/amazon_store/amazon_store_search_block.tpl.php	2009-07-17 00:44:34.970770274 -0700
@@ -8,5 +8,5 @@ print drupal_get_form('amazon_store_sear
 ?>
 <br>
 <div align="center" class="cart-button"><a href="<?php print url("amazon_store/cart") ?>" title="View your shopping cart">
-<?php print theme('image',"$directory/images/shopping_cart.png", t('Shopping Cart'), t('Shopping Cart')); ?></a>
+<?php print theme('image',"$base_url/$directory/images/shopping_cart.png", t('Shopping Cart'), t('Shopping Cart')); ?></a>
 </div>
diff -upr work/amazon_store/amazon_store_search_results.tpl.php modules/amazon_store/amazon_store_search_results.tpl.php
--- work/amazon_store/amazon_store_search_results.tpl.php	2009-07-15 22:50:30.000000000 -0700
+++ modules/amazon_store/amazon_store_search_results.tpl.php	2009-07-17 00:44:40.110769790 -0700
@@ -55,7 +55,7 @@ if (variable_get('amazon_store_show_narr
 				src="<?php print $result->MediumImage->URL ?>"
 				alt="Image of <?php print $result->ItemAttributes->Title ?>"
 				class="product-image" /></a> <?php else: ?> <img
-				src="<?php print url("$directory/images/no_image_med.jpg"); ?>" /> <?php endif; ?></td>
+				src="<?php print url("$base_url/$directory/images/no_image_med.jpg"); ?>" /> <?php endif; ?></td>
 			<td>
 			<p class="title"><a
 				href="<?php print url("amazon_store/item/{$result->ASIN}") ?>"> <?php print $result->ItemAttributes->Title ?></a></p>
@@ -95,7 +95,7 @@ results</a></div>
 <?php } ?>
 <a href="<?php print url('amazon_store/cart'); ?>" ><img
   alt="continue checkout" class="continue_checkout"
-  src="<?php print "$directory/images/check_bu.gif" ?>" /></a>
+  src="<?php print "$base_url/$directory/images/check_bu.gif" ?>" /></a>
 
 		<?php endif; ?></div>
 
