What is the best/easiest way to show...

User 2176507 Photo


Registered User
214 posts

VSD
Operating system = Windows 7
Version of the application = 7.0.18
Trial or registered version = registered version

I have a business website with approx. 30 different products. I would like for a customer to be able to click on a photo 200 x 200 and go to a larger version 600 x 600 of the same photo.

Would the easiest way to do this be just to create another webpage with the larger photo or use something like visual lightbox, colorbox, or photo gallery?

Thanks,
yeto
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

Any of the ones you mention should be able to do what you want. It could be that the CC Photo Gallery will be easier than the other two to implement into a VSD created web page.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 271657 Photo


Ambassador
3,816 posts

Yeto - I think one of the lightbox/colorbox things would be the way to go. Otherwise, 30 products would mean creating 30 pages for the larger images :o The other advantage with a lightbox type program is that once an item is clicked on, the viewer can scroll through all the products from within the lightbox.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 187934 Photo


Senior Advisor
20,271 posts

I have an example here Yeto.:)
http://progrower.coffeecup.com/colorboxpics.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2176507 Photo


Registered User
214 posts

I looked at a few lightbox programs and I think they will be overkill for what I am trying to do. There must be some kind of html code where you just click on a small photo and a large photo pops up.

Can someone suggest something really simple and fast?

Thanks,
yeto
User 2176507 Photo


Registered User
214 posts

I found the following 2 sets of code on the internet.

<a href="sunset.gif">
<img src="thmb_sunset.gif">
</a>

<A HREF="sunset.gif">
<IMG HEIGHT=50 WIDTH=50 SRC="sunset.gif"></A>

Would either of these work and which would be best as far as load times? Also, is it possible to include some additional code so that there will be a "back to previous page" link on the new page with the larger photo?

Thanks in advance for all the help,
yeto
User 187934 Photo


Senior Advisor
20,271 posts

Try this one. Just make the first one be the small pic and the second one be the large pic.:)
http://progrower.coffeecup.com/switchpic.html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1948478 Photo


Senior Advisor
1,850 posts

Yeto Yeto wrote:
I found the following 2 sets of code on the internet.
<a href="sunset.gif">
<img src="thmb_sunset.gif">
</a>

<A HREF="sunset.gif">
<IMG HEIGHT=50 WIDTH=50 SRC="sunset.gif"></A>

Would either of these work and which would be best as far as load times? Also, is it possible to include some additional code so that there will be a "back to previous page" link on the new page with the larger photo?

They would both "work", but the first one is much to be preferred, since it uses a separate (small) image as the thumbnail. The larger image is only loaded if and when the thumbnail is clicked.
In the second alternative, the larger image is loaded whether the thumbnail is clicked or not. This is because the thumbnail there is simply a 'small display' version of the full-sized image.
For more details and options, use the standard reference: http://www.w3schools.com/html/html_images.asp

User 2176507 Photo


Registered User
214 posts

Wow -- you guys are the greatest. Thanks to all for the quick response. I think I have exactly what I need now thanks to your help.

Best of luck to all,
yeto
User 2176507 Photo


Registered User
214 posts

I can't get the code to work. Photo 1 is showing but when I mouseover, the photo does not change to photo 2. I do see at the bottom of my browser window that the website address does change to the page that the photos are on but that is all that is happening. Can someone help me as to what I am doing wrong?

This is the code (sort of -- the names have been changed to protect the Innocent) I am using:

<script language="Javascript">
image1=photo1
image1.src="photo1.jpg"
image2=photo2
image2.src="photo2.jpg"
</script>

<a href="http://www.mywebsite.com/test.html"
onMouseOver="photo2.jpg.src"
onMouseOut="photo1.jpg.src" >
<img name="picture(I don't know what to put here???)"
src="photo1.jpg"
alt="photo1" />
</a>

Thanks in advanve for any help,
yeto

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.