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 artisteer template and product photos enlarge

Started by maxturner, October 02, 2012, 15:28:24 PM

Previous topic - Next topic

maxturner

Joomla 2.5.7
I use a Artisteer 3.1.0 Template. The article details not increase the product photos. With existing template, it works fine. In a Artisteer template does not work. What can I do. Where can I make a mistake.
Thank you for your support.
Stephan

bytelord

Hi,

That's an issue with Artisteer template. Do you have any live url to check it? on any screenshot to understand?

Thanks
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!


bytelord

Hi,

I checked with the current template, please be more specific for your issue. I did not see something, could you please give a screenshot what you mean?

I not familiar with Artisteer template generator, but you should study your code and css styling to find that issues.

You could use firebug to examine your code and styling: http://forum.virtuemart.net/index.php?topic=102850.0

Also take look over here to create some template overrides if you need them: http://forum.virtuemart.net/index.php?topic=98505.0
and here: http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
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!

jenkinhill

The facebox script is working fine on the category (product listing page) but not on the product detai;s page. That is because your product view template does not have the code/link to open the enlarged image. It is simply
<div class="main-image">
<img src="/images/stories/virtuemart/product/10_Kugelstifte_h_501298691fd83.jpg" alt="10_Kugelstifte_h_501298691fd83.jpg" class="product-image" /><span class="vm-img-desc">10_Kugelstifte_h_501298691fd83.jpg</span></div>

If you want the facebox effect on this page then you should create an override using, for example, the code in http://forum.virtuemart.net/index.php?topic=98647.0

The JavaScript used in Artisteer templates usually affects the way that VirtueMart works, but this doesn't seem to be the problem here.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

maxturner

Hi jenkinhill

Thank you! Your counsel works perfect. I do it like: http://forum.virtuemart.net/index.php?topic=98647.0
That is the solution.

QuoteAround line 26 find:
Code: [Select]

   <?php echo $this->product->images[0]->displayMediaFull('class="medium-image" id="medium-image"', false, "class='modal'", true); ?>


and replace with
Code: [Select]


<?php echo $this->product->images[0]->displayMediaThumb('class="product-image"',true,"class='modal'"); ?>


Save the file and use as a template override.

sorry for my bad english.

Stephan