Announcement

Collapse
No announcement yet.

Category Images Not Displaying Iron & Wool

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Category Images Not Displaying Iron & Wool

    Ok, I give up and need help. Currently working on this theme in a dev environment. Nothing I do works. All products have images with a main type. Category Product List Machine and Ctgy_imagemachine are installed. The code I am working with is:

    <mvt:if expr="NOT ISNULL l.settings:product:imagetypes:main">
    <img src="&mvte:product:imagetypes:main;" alt="&mvte:product:name;" title="&mvte:product:name;" />
    <mvt:else>
    <img src="images/img_no_thumb.jpg" alt="&mvte:product:name;" title="&mvte:product:name;" />
    </mvt:if>

    When inspecting the element in firefox it shows the img_no_thumb.jpg but notes the image could not load.

    Any ideas of where I am going wrong is much appreciated.

    #2
    Probably too obvious, but is the main image type assigned to the category product list layout?

    Comment


      #3
      Yes it was assigned correctly. Turns out I had the Category Product List Image Machine item assigned and enabled on the CTGY page which is not enabled on this theme by default. After I went ahead and unchecked the Enabled checkbox for that which allowed the images to display on the CTGY page.

      Comment

      Working...
      X