Kryptronic Software Support Forum

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.

#1 02-23-2007 16:01:08

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

View Larger Image Button - Click Image?

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

 

#2 02-23-2007 18:41:32

stevem
Member
Registered: 01-26-2007
Posts: 153

Re: View Larger Image Button - Click Image?

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. wink

Offline

 

#3 02-23-2007 19:09:16

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: View Larger Image Button - Click Image?

How about someone with enough iniative to do a forum search before posting a question?

https://forum.kryptronic.com/viewtopic.php?id=15158


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#4 02-23-2007 19:19:19

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: View Larger Image Button - Click Image?

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 yikes

Last edited by mixer25 (02-23-2007 19:20:10)

Offline

 

#5 02-23-2007 19:46:14

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: View Larger Image Button - Click Image?

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.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#6 02-23-2007 23:01:41

sppars
Member
Registered: 01-25-2006
Posts: 301

Re: View Larger Image Button - Click Image?

Thanks mixer, I never thought of making the image clickable, even though it seems rudimentary!

In the product detail view change:

Code:

<?php print $imgtag; ?>

to:

Code:

<?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

 

#7 02-24-2007 09:57:49

stevem
Member
Registered: 01-26-2007
Posts: 153

Re: View Larger Image Button - Click Image?

lol point for rachael. smile

Offline

 

#8 04-14-2007 15:15:13

carasmo
Member
From: Florida
Registered: 10-07-2002
Posts: 147
Website

Re: View Larger Image Button - Click Image?

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

 

#9 04-14-2007 17:31:55

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: View Larger Image Button - Click Image?

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

 

#10 04-14-2007 20:26:09

redmanstudios
Member
Registered: 11-10-2003
Posts: 387

Re: View Larger Image Button - Click Image?

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

 

#11 06-14-2007 10:00:44

xclusive
Member
Registered: 06-14-2007
Posts: 1

Re: View Larger Image Button - Click Image?

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

 

#12 06-18-2007 08:27:42

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: View Larger Image Button - Click Image?

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


Nick Hendler

Offline

 

Board footer