Product Module and CGSmartImage - site selling motorcycles.
The summary page has a single thumbnail for each bike. The detail page has details of a bike and 10 photos of the bike. When a summary page thumbnail is clicked the detail page has all 10 thumbnails on display at once and when the first is clicked - or any of them for that matter - the lightbox appears and Next and Prev can be used to scroll though them all.
Have got this working in a test directory using Detail Template
Code: Select all
<li><div>
<a href="{CGSmartImage src1=$entry->file_location src2=$entry->fields.photo1->value width='900' notag=1 noembed=1}">
{CGSmartImage src1=$entry->file_location src2=$entry->fields.photo1->value width='180'}
</a></div></li>for photo1 though photo10 inside
Code: Select all
<div id="imagebox"><ul class="img"></ul></div>I wanted to test it out so replaced the Detail Template with the one I used in the testing directory and added a new bike. However, none of the bikes show on their detail pages. Not surprised at this but I thought perhaps the newly uploaded one would show but it doesn't. Checking Page Source says:
Code: Select all
<a href="Could not find a file at: http://sitename /uploads/Products/product_25/ Is it just a case of deleting the lot and starting again or am I missing something?
Thanks


