Hi. My website is https://www.jberryskincare.com/index.php/products/tonics/lavender-chamomile-tonic-detail. It is running the latest version of VM and Joomla as well as PHP 5.3. I have uploaded pictures to the product details page, however, on the actual products page only the big picture is display, not the thumbnail. I can confirm that the thumbnails are being generated, as the thumbnail folder is filled with product thumbnails, they're just not being displayed properly. I have already reinstalled the components/com_virtuemart folder.
Any ideas how to fix this? Thanks!
Any luck? I'll donate $10 to anyone who helps me fix the issue.
are you using the "default", PDF or "notify" product layout in configuration->tab template or layout.
Select Default.
or make a new layout in your home page template:
make a copy from component/com_virtuemart/view/productdetails/ the files : default.php and default_images.php
and paste here
templates/YOURTEMPLATE/html/com_virtuemart/productdetails/
Where "YOURTEMPLATE" is the name of your current page template, like beez_20, beez5 the name of actual template.
make sure that you are selected the "default" for product layout details in configuration.
Hello,
There is no need for donation.
Inside your virtuemart template for dispaly images (productsdetails\default_images.php) you can simple change the code to display the thumbnail instead of full image.
The you should use around line 25 is:
<?php echo $this->product->images[0]->displayMediaThumb('class="product-image"',true,"class='modal'"); ?>
Hope it helps
Quote from: bytelord on August 11, 2012, 03:20:18 AM
Hello,
There is no need for donation.
Inside your virtuemart template for dispaly images (productsdetails\default_images.php) you can simple change the code to display the thumbnail instead of full image.
The you should use around line 25 is:
<?php echo $this->product->images[0]->displayMediaThumb('class="product-image"',true,"class='modal'"); ?>
Hope it helps
Thanks so much! Problem solved. If you would still like the donation I'd be happy to send it.
Hello,
You are welcome! You can find more information regarding templates for categories and product details here:
http://forum.virtuemart.net/index.php?topic=92756.0
http://forum.virtuemart.net/index.php?topic=97744.0
Quote from: bytelord on August 11, 2012, 14:23:03 PM
Hello,
You are welcome! You can find more information regarding templates for categories and product details here:
http://forum.virtuemart.net/index.php?topic=92756.0
http://forum.virtuemart.net/index.php?topic=97744.0
dear
How can i make the picture like amazon.com
When i lick the additional picture, i can press next or previous to show othe pics
Thank you
Hello techmodule,
Please take a look on that post before some days. You can download the default_images.php and replace it in your custom template inside product details
http://forum.virtuemart.net/index.php?topic=105909.msg354661#msg354661
Hope it helps you out.
Regards,
BL
vmError: Couldnt create thumb, file not found /home/pleasure/public_html/images/stories/virtuemart/product/CNVELD/MS1886/BK/BK-/MS1886-BK-S0.jpg MY images are loaded as JPG and showing fine in large pic does this have anything to do with it?
VIRTUEMART 2.0.20B
Joomla! version, 2.5.9.
Also tried all the above and no luck as well I only have files in the main vm products folder do i need to load files in the resized folder? seems it want to covert but cannot find files images are loaded with .JPG seems it looking for .jpg does that make a difference but the main pics show up with .JPG????
If your shop is on a live server, the .JPG could be the problem, because unix/linux is case sensitive. I'm not shure, because I don't use thumb creation (disabled it in VM configuration), but perhaps VM looks for xxx.jpg while the large image to create the thumb from is xxx.JPG.
Also it might be related to the image path settings. For the same reason as above, CNVELD is not the same as cnveld on a live server. (Works if you develop your site on a MS-Windows system , but not with unix/linux).