You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
Is it possible to set it so a customer can click the picture or the "view larger image" button to get the larger picture?
Also I note in the Lightbox folder there are next and previous images, will this be able to show more than one image sometime? which would be like on wwwebuyer.com whom use same type of lightbox.
Thanks
Offline
You have to add a extra-large product image when setting up a product to get the larger picture to show when the customer clicks "View Larger Image". If you've done that and it still doesn't work, you probably don't have Javascript enabled on your browser.
I also would like to be able to use multiple images in the lightbox. I think we're just waiting for someone with enough initiate to update the JS and post it here.
Offline
How about someone with enough iniative to do a forum search before posting a question?
https://forum.kryptronic.com/viewtopic.php?id=15158
Offline
ha ha, re-read my question... what I am saying is can you somehow click the standard product image instead of the button (larger image) to make the lightbox comeup which isn't default and isn't mentioned on the forum after extensive searching
Last edited by mixer25 (02-23-2007 19:20:10)
Offline
Fair enough - I don't know how to change the code to make the image clickable as well as the button. However, the topic of using multiple images in the light box been covered and Nick has supplied the solution. So I think my response to stevem's statement about sufficient iniative was quite fair in that regard.
Offline
Thanks mixer, I never thought of making the image clickable, even though it seems rudimentary!
In the product detail view change:
<?php print $imgtag; ?>
to:
<?php if ($showxl) { ?> <a href="<?php print $xlimg; ?>" rel="lightbox" title="<?php print $prodname; ?>"><?php print $imgtag; ?></a> <?php } else { print $imgtag; }?>
This will not work if you have applied the multiple image mod too.
rachaelseven wrote:
How about someone with enough iniative to do a forum search before posting a question?
https://forum.kryptronic.com/viewtopic.php?id=15158
Thanks for the good laugh!
Last edited by sppars (02-23-2007 23:27:13)
Offline
lol point for rachael.
Offline
That link:
https://forum.kryptronic.com/viewtopic.php?id=15158
provided a big fat error according to the person who tried it on that thread.
Offline
Well the mod Nick posted is in the Wiki also so if it isn't correct please let me know so I can change it. It's about the only mod in the Wiki I didn't actually try myself.
Offline
The mod on the wiki works just not as desireable as i would like.
on the admin side:
i added 3 images to the prodxl field
image1.jpg,image2.jpg,image3.jpg
on the store side:
It prints 3 buttons to click on and say "View Images" on each.
But when you click on any one of them it says 1of2images.
I would like to see:
on the store side it say somethign like
view images (3)
then the lightbox will say 1 of 3 images and have an arrow to say >> next image..
But while i am doing this i might as well say i would like to be able to show more then one product detail image as well. has anyone tackled this mod yet??
James
Offline
so what file do i edit to make the image clickable in the product detail, because i also need to allow people to click on the image to view the larger image
Offline
This was incorporated in the 05/21/2007 update - but done in a much better format than the forum mods and hacks on the wiki. To change how those buttons look, edit the product detail displays here:
Home > ClickCartPro > Displays: Skins, Menus, XHTML Includes and Messages > Manage Catalog Product Displays: Detail View
Offline