I have read about 4 different Posts on this forum relating to this and followed various steps to correct this, however it hasn't changed a thing on my site. I am using Virtuemart 2.
My Code at components/virtuemart/views/productdetails.tmpl/default_images.php ...
Quote<?php
/**
*
* Show the product details page
*
* @package VirtueMart
* @subpackage
* @author Max Milbers, Valerie Isaksen
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: default_images.php 5406 2012-02-09 12:22:33Z alatak $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
// Product Main Image
if (!empty($this->product->images[0])) {
?>
<div class="main-image">
<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', false, "class='modal'", true); ?>
</div>
<?php } // Product Main Image END ?>
This is what it looks like...
(http://s13.postimage.org/k4fey7mtz/Additional_Image.jpg) (http://postimage.org/)
Site is 90% ready to go live so any help would be much appreciated.
Are you sure it's not the additional image code?
if you comment out the code... does it appear?
echo 'IMAGE START ->';
/*
// Product Main Image
if (!empty($this->product->images[0])) {
?>
<div class="main-image">
<?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', false, "class='modal'", true); ?>
</div>
<?php } // Product Main Image END ?>
*/
echo '<- IMAGE END';
I removed that Code also and it made no difference whatsoever. I'm thinking it may be a template override but I have no clue where to look for that Code.
??? that piece of information would have been handy right at the beginning.
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core (http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core)
http://docs.joomla.org/Understanding_Output_Overrides (http://docs.joomla.org/Understanding_Output_Overrides)
Removing such code does not help because after removing it there is no change or improvement. I need to know about the template code
@jaderotheram That additional image was removed from the VM productdetails view in a version around 2.0.8e - we are now at 2.0.10 so i'd guess that either you have an older VM2 version or that you have an old override in place.