Product image in cart
<p>I need product image in shopping cart. Now I have only product name there. Here is the link - <a href="http://layot.prestatrend.com/" rel="nofollow">http://layot.prestatrend.com/</a>
And here is the code for product's name at the cart:</p>

<pre><code>//if product is not in the displayed cart, add a new product's line
                    var domIdProduct = this.id + (this.idCombination ? '_' + this.idCombination : '');
                var domIdProductAttribute = this.id + '_' + (this.idCombination ? this.idCombination : '0');
                if($('#cart_block_top dt#cart_block_top_product_'+ domIdProduct ).length == 0)
                {
                    var productId = parseInt(this.id);
                    var productAttributeId = (this.hasAttributes ? parseInt(this.attributes) : 0);
                    var content =  '&lt;dt class="hidden" id="cart_block_top_product_' + domIdProduct + '"&gt;';
                        content += '&lt;span class="quantity-formated"&gt;&lt;span class="quantity"&gt;' + this.quantity + '&lt;/span&gt;x&lt;/span&gt;';
                        var name = (this.name.length &gt; 12 ? this.name.substring(0, 10) + '...' : this.name);
                        content += '&lt;a href="' + this.link + '" title="' + this.name + '"&gt;' + name + '&lt;/a&gt;';
                        content += '&lt;span class="remove_link"&gt;&lt;a rel="nofollow" class="ajax_cart_block_top_remove_link" href="' + baseDir + 'cart.php?delete&amp;amp;id_product=' + productId + '&amp;amp;token=' + static_token + (this.hasAttributes ? '&amp;amp;ipa=' + parseInt(this.idCombination) : '') + '"&gt; &lt;/a&gt;&lt;/span&gt;';
                        content += '&lt;span class="price"&gt;' + this.priceByLine + '&lt;/span&gt;';
                        content += '&lt;/dt&gt;';
                    if (this.hasAttributes)
                        content += '&lt;dd id="cart_block_top_combination_of_' + domIdProduct + '" class="hidden"&gt;&lt;a href="' + this.link + '" title="' + this.name + '"&gt;' + this.attributes + '&lt;/a&gt;';
                    if (this.hasCustomizedDatas)
                        content += ajaxCart.displayNewCustomizedDatas(this);
                    if (this.hasAttributes) content += '&lt;/dd&gt;';
                    $('#cart_block_top dl.products').append(content);
                }
</code></pre>

<p>So could anybody help to parse product image in the cart?</p>
