I’ve got product listings and it appears that my image and thumbnail names are being loaded into the same field of my database with a line break in between. I’m using Solspace Tracker to try and display the top 10 products viewed but only want to show the images.
The code looks like this:
{exp:tracker:entries weblog="products" custom_fields="image" limit="3" dynamic="off" interval="week" status="open"}
<li class="productimages"><a href="http://www.mysite.com/products/pages/{tracker:url_title}">/images/{tracker:field:image}</a></li>
{/exp:tracker:entries}
The problem is that because EE is storing both the image name and thumbnail name in the same field, {tracker:field:image} is returning this:
/images/images/09030t1.jpg 09030t1_thumb.jpg
Is there a way I can choose to return just the thumbnail image? Any solutions would be great.
I just created a new post related to this. It appears that the problem may be occuring because of how Files by Mark Huot saves the image and thumbnail names. If anybody has used Files before and has encountered something similar I’d appreciate any advice.
thanks, brian
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.