I'm seeing double images on my product details page.
http://www.shopfrommychair.com/dextima.aspxI've gone through the code, but don't see what is causing this. Here is what I have: (Thanks in advance)
<h1><%Product.Name%></h1>
<ns:if condition="Product.DisplayNextAndPrevious">
<table border="0" class="prod-detail-next-prev">
<tr>
<td class="prod-detail-prev"><a href="<%Product.PreviousProductUrl%>"><< Previous in <%Product.CategoryName%></a></td>
<td class="prod-detail-next"><a href="<%Product.NextProductUrl%>">Next in <%Product.CategoryName%> >></a></td>
</tr>
</table>
</ns:if>
<table class="prod-detail" cellpadding="0" cellspacing="0">
<tr>
<td class="prod-detail-lt">
<ns:choose>
<ns:when condition="Product.ImageCount >= 1 && Product.DisplayImageUrl != ''">
<a href="<%Product.DetailedImageUrl%>" target="_blank" onclick="Window.open('<%Product.DetailedImageGalleryUrl%>','img-view',100,100,1,0);return false;">
<img src="<%Product.DisplayImageUrl%>" title="<%Product.ImageCaption%>" alt="<%Product.ImageAlternateText%>" border="0" />
</a>
<ns:if condition="Product.DetailedImageUrl!= ''">
<div style="text-align:center">
<a href="<%Product.DetailedImageUrl%>" target="_blank" onclick="Window.open('<%Product.DetailedImageGalleryUrl%>','img-view',100,100,1,0);return false;">
<ns:choose>
<ns:when condition="Product.ImageCount > 0">
<link rel="stylesheet" type="text/css" href="/prettyPhoto/css/prettyPhoto.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js"></script>
<script type="text/javascript" src="/prettyPhoto/js/jquery.prettyPhoto.js"></script>
<!--[if IE 6]>
<script type="text/javascript" src="/prettyPhoto/js/DD_belatedPNG_0.0.7a-min.js"></script>
<script type="text/javascript">
DD_belatedPNG.fix('.pp_left,.pp_right,a.pp_close,a.pp_arrow_next,a.pp_arrow_previous,.pp_conten
t,.pp_middle');
</script>
<![endif]-->
<script type="text/javascript">
$(document).ready(function() {
var data = <%Product.ImageObject%>;
var rel = (data.gallery.length > 1) ? 'prettyPhoto[products]' : 'prettyPhoto';
var displayHolder = $("#gallery-main");
var galleryHolder = $("#gallery-other");
writeImage(displayHolder, data.active, data.active.display, rel);
for (i = 1; i < data.gallery.length; i++) {
writeImage(galleryHolder, data.gallery[i], data.gallery[i].thumbnail, rel, 50);
}
$("a[rel^='prettyPhoto']").prettyPhoto();
});
function writeImage(galleryHolder, image, displayImage, rel, resize) {
var html = '';
style = (resize) ? "width:" + resize + "px" : "";
html += '<a href="' + image.detailed + '" rel="' + rel + '" title="' + image.title + '" style="margin:2px">';
html += '<img src="' + displayImage + '" alt="' + image.alt + '" title="Click to enlarge" style="' + style + '" />'
html += '</a>';
galleryHolder.append(html);
}
</script>
<div id="gallery-main" style="margin-bottom:5px"></div>
<div id="gallery-other" style="text-align:center"></div>
<ns:if condition="Product.ImageCount > 1">
<div style="text-align:center">click smaller images to enlarge</div>
</ns:if>
</ns:when>
<ns:otherwise>
<img src="<%Product.UnavailableImageUrl%>" alt="unavailable" border="0" />
</ns:otherwise>
</ns:choose>
</td>
<td class="prod-detail-rt">
<ns:if condition="product.HasRatings">
<div class="prod-detail-rating">
<ns:ProductRating />
</div>
</ns:if>
<div class="prod-detail-price">
<ns:if condition="Product.HasMsrpPrice">
<div class="prod-detail-msrp"><span class="prod-detail-msrp-label"><%Product.MsrpPriceLabel%>:</span> <span class="prod-detail-msrp-value"><%Product.MsrpPrice%></span></div>
</ns:if>
<ns:if condition="Product.HasCustomerPrice">
<div class="prod-detail-cost"><span class="prod-detail-cost-label"><%Product.CustomerPriceLabel%>:</span> <span class="prod-detail-cost-value"><%Product.CustomerPriceText%></span></div>
</ns:if>
<ns:if condition="Product.HasSalePrice">
<div class="prod-detail-sale"><span class="prod-detail-sale-label"><%Product.SalePriceLabel%>:</span> <span class="prod-detail-sale-value"><%Product.SalePriceText%></span></div>
</ns:if>
<ns:if condition="Product.HasSavings">
<div class="prod-detail-save"><span class="prod-detail-save-label"><%Product.SavingsLabel%>:</span> <span class="prod-detail-save-value"><%Product.SavingsText%></span></div>
</ns:if>
</div>
<ns:if condition="Product.StockMessage != ''">
<div class="prod-detail-stock"><%Product.StockMessage%></div>
</ns:if>
<ns:if condition="Product.DisplayPartNumber">
<div class="prod-detail-part"><span class="prod-detail-part-label"><%Product.PartNumberLabel%>:</span> <span class="prod-detail-part-value"><%Product.PartNumber%></span></div>
</ns:if>
<ns:if condition="Product.DisplayConfigurationCode">
<div class="prod-detail-config"><span class="prod-detail-config-label"><%Product.ConfigurationCodeLabel%>:</span> <span class="prod-detail-config-value"><%Product.ConfigurationCode%></span></div>
</ns:if>
<ns:if condition="Product.DisplayManufacturer">
<div class="prod-detail-man">
<ns:if condition="Product.ManufacturerName != ''">
<div class="prod-detail-man-name"><span class="prod-detail-man-name-label"><%Product.ManufacturerNameLabel%>:</span> <span class="prod-detail-man-name-value"><%Product.ManufacturerName%></span></div>
</ns:if>
<ns:if condition="Product.ManufacturerPartNumber != ''">
<div class="prod-detail-man-part"><span class="prod-detail-man-part-label"><%Product.ManufacturerPartNumberLabel%>:</span> <span class="prod-detail-man-part-value"><%Product.ManufacturerPartNumber%></span></div>
</ns:if>
</div>
</ns:if>
<ns:if condition="Product.HasAttributes">
<ns:ProductAttributes layout="div" />
</ns:if>
<ns:if condition="Product.ShippingMessage != ''">
<div class="prod-detail-ship-message"><%Product.ShippingMessage%></div>
</ns:if>
<ns:if condition="Product.HasVariations">
<div style="margin-top:20px">
<h3><%Product.VariationsLabel%></h3>
<ns:ProductVariations />
</div>
</ns:if>
<ns:if condition="Product.HasPersonalization">
<div style="margin-top:20px">
<h3><%Product.PersonalizationLabel%></h3>
<ns:ProductPersonalization />
</div>
</ns:if>
<ns:ProductAddToCart />
<ns:ProductAddToShoppingList />
<ns:if condition="Product.DisplayEmailAFriend">
<div class="prod-detail-email-friend">
<a onclick="Window.open('<%Product.EmailAFriendUrl%>','email-a-friend',550,400,1,0);return false;" href="<%Product.EmailAFriendUrl%>" target="_blank">Email this page to a friend</a>
</div>
</ns:if>
<ns:if condition="Product.HasFreeShippingPromo || Product.HasOnSalePromo || Product.HasTaxFreePromo">
<div class="prod-detail-promo">
<ns:if condition="Product.HasFreeShippingPromo">
<img src="<%Product.FreeShippingPromoImageUrl%>" alt="free shipping" />
</ns:if>
<ns:if condition="Product.HasOnSalePromo ">
<img src="<%Product.OnSalePromoImageUrl%>" alt="on sale" />
</ns:if>
<ns:if condition="Product.HasTaxFreePromo">
<img src="<%Product.TaxFreePromoImageUrl%>" alt="tax free"/>
</ns:if>
</div>
</ns:if>
<ns:if condition="Product.HasQuantityDiscounts">
<div style="margin-top:20px">
<h3><%Product.QuantityDiscountsLabel%></h3>
<ns:ProductQuantityDiscounts />
</div>
</ns:if>
</td>
</tr>
<ns:if condition="Product.LongDescription != ''">
<tr>
<td colspan="2" class="prod-detail-bt">
<div class="prod-detail-desc"><%Product.LongDescription%></div>
</td>
</tr>
</ns:if>
</table>
<ns:ProductRelatedProducts />
<ns:ProductReviews />