News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

problem with showing "no image" image

Started by gordonh, November 08, 2012, 22:29:44 PM

Previous topic - Next topic

gordonh

Hello,

I am setting up a website but i got a problem.
The "no image" image is not working on the product details page.
This is source code of a page without a preset image:
<div class="product-images-details">
    <div id="large_image_holder" class="main-image">
<ul id="large_images">
<li class="hide current-img" id="img0" style="display: inline;"><a class="modal" href="http://www.simospizza.nl/webshop/images/stories/virtuemart/product/"><img src="http://www.simospizza.nl/webshop/" alt="thumb"></a></li>
</ul>
    </div>

    <div class="additional-images">
    <ul id="thumb_holder">
<li><a href="javascript:void(0);" rel="img0"><img src="http://www.simospizza.nl/webshop/" alt="thumb"></a></li> </ul>
        <div class="clear"></div>
    </div>
<div class="icons">
PrintenE-mailadres <div class="clear"></div>
</div>
</div>

and this the code of a product with an image:
<div class="product-images-details">
    <div id="large_image_holder" class="main-image">
<ul id="large_images">
<li class="hide current-img" id="img0" style="display: inline;"><a class="modal" href="http://www.simospizza.nl/webshop/images/stories/virtuemart/product/pizza salami.jpg"><img src="http://www.simospizza.nl/webshop/images/stories/virtuemart/product/resized/pizza salami_250x250.jpg" alt="thumb"></a></li>
</ul>
    </div>

    <div class="additional-images">
    <ul id="thumb_holder">
<li><a href="javascript:void(0);" rel="img0"><img src="http://www.simospizza.nl/webshop/images/stories/virtuemart/product/resized/pizza salami_250x250.jpg" alt="thumb"></a></li> </ul>
        <div class="clear"></div>
    </div>
<div class="icons">
PrintenE-mailadres <div class="clear"></div>
</div>
</div>


and i believe the php code for this is:
<div class="product-images-details">
<?php
echo $this->loadTemplate('images');
?>


Earlier the no product image was working but i don't know since when it stopped working.
The image is working and not corrupt or something like that.

I'm working with Joomla version: 2.5.7 and Virtuemart  2.0.12

Does some nows how to solve this?

Thanks in advance!

bytelord

Hi,

That image have a space between pizza and salami, better to be like pizza_salami...
On the product details the image url is wrong and i think you are using template overrides ... Did you try without template overrides? You have some divs there that are not belong to vm ... did you upgrade recently vm? did you update also your template?

Using firebug to examine your code & css styling: http://forum.virtuemart.net/index.php?topic=102850.0

Some more information regarding template system and template overrides:
Template overrides: http://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!