Post by wladevlad » Wed May 15, 2019 9:09 pm

Dear all,
I have an issue concerning the no_image.png file that must be present on a product page with no image available.

I am using a custom theme from ... n_id=27575
And they are using some kind of Megnor Cloud-Zoom Image Effect.

The product.twig file from /template/product is in the attachment:
Can some one give me a hint please?

Thank you in advance.




Thu Dec 23, 2010 5:04 am

Post by letxobnav » Wed May 15, 2019 10:54 pm

well, it only displays when an image is found, there is no else branch.

Code: Select all

         {% if thumb %}      
	  <!-- Megnor Cloud-Zoom Image Effect Start -->
	  	<div class="image"><a class="thumbnail" href="{{ popup }}" title="{{ heading_title }}"><img id="tmzoom" src="{{ thumb }}" data-zoom-image="{{ popup }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></div> 
      {% endif %}

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.

User avatar
Expert Member


Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by wladevlad » Thu May 16, 2019 3:53 pm

Hi, thank you for the response.

I added the following code under the one mentioned and it showes me a thumbnail but at a small dimmension:

Code: Select all

			            {% for image in images %}
            <li class="image-additional"><a class="thumbnail" href="{{ image.popup }}" title="{{ heading_title }}"> <img src="{{ thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li>
            {% endfor %}



Thu Dec 23, 2010 5:04 am
Who is online

Users browsing this forum: No registered users and 17 guests