News:

Looking for documentation? Take a look on our wiki

Main Menu

VM2 Slideshow on product details page. Free!

Started by Linelab, July 19, 2012, 22:49:32 PM

Previous topic - Next topic

jjk

#15
Quotei tryed to use the solution in your link, but i don't want the slideshow in a page but only the "next prev" buttons in image popup! i can't resolve this.. you can find a solution whit this script?

Quote from: VirtueArtcz on July 31, 2012, 16:52:36 PM
Hi Ciriman,  Good idea.  We will create a POPUP Slideshow including thumbnails (additional images) as soon as possible. Thanks for your patience.   :)

In this forum there is a short tutorial for producing an override which loads Fancybox (includes prev/next buttons and a title) instead of Facebox in the frontend, including the code to copy and paste.  See here: http://forum.virtuemart.net/index.php?topic=95911.msg322261#msg322261

Works nicely, but in my special (case I need to change the image title, which is generated from the image alt-text (file_meta in the _virtuemart_medias table) to 'Displayed Image Title' (file_description in the _virtuemart_medias table and 'vm-img-desc' in vmsite-ltr.css). Perhaps VirtueArtcz or somebody else has an idea how to achieve that. I've run out of ideas already   :)

The reason for the above is that I need to display "Product name © manufactuer name" as a title below the image, but at the same time don't want to spoil the more descriptive image alt-text, which is important for SEO.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Linelab

Quote from: nicklucas on August 14, 2012, 16:09:36 PM
I really want to use this on my template however the template that I am using has a default.php file in the com_virtuemart folder that clearly contains code to either override the default_images.php folder for this slideshow. Here is the code relating to product images from the default.php file

Try to replace this code:

<div class="width40 floatleft">
<?php // Product Main Image
if (!empty($this->product->images[0])) { ?>

<div class="main-image">
<?php echo str_replace('<a''<a class="modal"'$this->product->images[0]->displayMediaFull('class="product-image"',true,"class='modal'",true)); ?>
</div>
<?php // Product Main Image END ?>
<?php // Showing The Additional Images
if (!empty($this->product->images) and count ($this->product->images)>1) { ?>

<div class="additional-images">
<?php // List all Images
foreach ($this->product->images as $image) {
echo 
'<div class="product-thumb">' $image->displayMediaThumb('class="product-image"',true,'class="modal"',true,true) . '</div>'//'class="modal"'
?>

</div>
<?php // Showing The Additional Images END ?>



With this:
<div class="width40 floatleft">
<?php
echo $this->loadTemplate('images');
?>
</div>

nicklucas

Thanks for posting that VirtueArtcz it was much appreciated. Unfortunately it's not quite working it should probably because of the template I'm using as you can see here:

http://www.innovationonly.com/online-store/sealants-and-potting-compounds/magic-power-gel-1-litre-detail.html

I have no idea how to fix it so will probably have to admit defeat!

Linelab

#18
The next week will be released the new FREE version with popup feature. Please check demo: http://demo.virtueart.org/linelabox/index.php/virtuemart-2-demo

Linelab

#19
A new version of Product Details Slideshow for VirtueMart 2 is available for download.
Absolutely Free!  :)

Download link: http://www.linelabox.com/

naiku

#20
A really big thank for that !!!  :D

PS: But if you have...10images for one item. Are you thinking to put thumbnails in a slide too like in presta**** ? One arrow for each side and some hidden thumb ? If anyone has already some overide code that ^^

Anyway, nice Slideshow.

peetee

Hello. First of all thank You for your effort.. I have tried on several sites .. localhost and hosting ... and I cant make it work. After installing I get just single images lined horizontaly and there is no effect. Attached some pictures. What do I do wrong ? Thank You for your help. Petr

[attachment cleanup by admin]

Linelab

Ahoj Peetee, vidím češtinu  ;), napiš prosím url webu, podivám se na to.

buzi

thanks for this VirtueArtcz, you saved me lots of time on looking and making this work !

mikesc

i got the same problem as peetee

is there a solution ? i cant get the slideshow on my web page.  all images are lined  vertically

please help

thank You


mikesc


kingstone

#27

Hi nicklucas,

I also like your fault, it just works on Beez template-20, while on my template it did not work.

Please I ask you to have corrected this error. Can guide me if you have successfully overcome it? tks u.

naiku

Hello,

i have this vertical error too...but only when i'm logged. If i'm not logged, everything works nice. Any idea ?

atranaz

Thanks for this , very nice page & option for virtuemart product images i'll use it on my project soon