Hi,
In my Section layout, I have added this line of code between a 'Productlist' block:-
<img src="<actinic:variable name="Thumbnail" />" <actinic:variable name="ThumbnailSize" /> /> <actinic:variable name="ProductName"> <actinic:variable name="PriceListRetail" /><br/>
The idea is that where the Section has sub-sections, you get the name of the Sub-section appearing, and then underneath that a list of the products in that subsection, i.e.
Sub-Section 1
product 1
product 2
product 3
Sub Section 2
product 4
product 5 etc.
This bit of code works nicely, underneath the Sub-section name, I get the name of the product and its price information. However, I don't get the thumbnail image appearing, just a red cross before each product name line.
I was wondering if anybody knew why this is?
I have defined a thumbnail image for each product in Content | General | Thumbnail. When I preview the page, and look in the source code for the page, where the image should be, the HTML reads as follows:-
<img src="" {100} />
So obviously the value of the 'thumbnail' variable is not making it through to the final HTML. Can anybody tell me where I might be going wrong with the Thumbnail part of this?
Many thanks
In my Section layout, I have added this line of code between a 'Productlist' block:-
<img src="<actinic:variable name="Thumbnail" />" <actinic:variable name="ThumbnailSize" /> /> <actinic:variable name="ProductName"> <actinic:variable name="PriceListRetail" /><br/>
The idea is that where the Section has sub-sections, you get the name of the Sub-section appearing, and then underneath that a list of the products in that subsection, i.e.
Sub-Section 1
product 1
product 2
product 3
Sub Section 2
product 4
product 5 etc.
This bit of code works nicely, underneath the Sub-section name, I get the name of the product and its price information. However, I don't get the thumbnail image appearing, just a red cross before each product name line.
I was wondering if anybody knew why this is?
I have defined a thumbnail image for each product in Content | General | Thumbnail. When I preview the page, and look in the source code for the page, where the image should be, the HTML reads as follows:-
<img src="" {100} />
So obviously the value of the 'thumbnail' variable is not making it through to the final HTML. Can anybody tell me where I might be going wrong with the Thumbnail part of this?
Many thanks
Comment