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 https://www.opencart.com/index.php?rout ... 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.
Vlad
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.
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:
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 %}
Who is online
Users browsing this forum: No registered users and 337 guests