I know the issue is with my initial if statement
Does anyone know a good smarty variable to check against to see if the variant image contains a image or is blank.
Currently the above shows all the variant images in the product but also puts "X" images for variants that do not have their own image. I need to filter/remove the variant image display for those variants that do not have a image.
I tried various smarty variables but they seem to come across blank for the image and don't act as a proper flag.
Any suggestions would be greately appreciated.