Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Hyperlinking to an image in product detail

Hyperlinking to an image in product detail

Locked

Views: 1,257

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 May 2007, 3:40 PM
#1
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Hyperlinking to an image in product detail

My site is located at www.aaadisplaygroup.net/shop until it is completed. In my product detail pages I have links to 3D views, Product Sheets, Setup Instructions, etc. These links were created using hypertext as in the following example: http://www.aaadisplaygroup.net/shop/index.php?main_page=product_info&cPath=66_68&products_id=187
In the above example each link opens in a new window as instructed using the add link tool.

Rather than using text, I added button-like images to make it look a bit more professional. http://www.aaadisplaygroup.net/shop/index.php?main_page=product_info&cPath=66_67&products_id=186

I added hyperlinks to the images exactly as I did using text, however, the links will not open new windows even though that option is selected. In the edit window, when I select the image to confirm its setting, the link and its attributes are not there. However, if I view the source the hyperlinks are there. Can anyone tell me how to force the links to open in a new window?

I will be using this same technique for about 100 products so I need to get it right before I duplicate a mistake hundreds of times. Any alternative suggestions are welcome.

12 May 2007, 8:59 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Hyperlinking to an image in product detail

If you are meaning adding these in the product description area try this adding the target balnk:

<a href="http://domain.com"  target="_blank"><img src="path/image.jpg" alt="Text" </a>
13 May 2007, 2:23 PM
#3
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Re: Hyperlinking to an image in product detail

Thank you so much! I added the "target blank" command and it works great. Sometimes I just can't see the forest for the trees. I "thought" I compared the sources carefully but I guess I didn not look inside the links.

Although this is a workaround, don't you think we should have be able to do this using the "add link" function just as I did using text. Should that be reported as a bug and if so where?

Again, thanks TONS!

13 May 2007, 9:46 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Hyperlinking to an image in product detail

Although this is a workaround, don't you think we should have be able to do this using the "add link" function just as I did using text. Should that be reported as a bug and if so where?
Without looking, I do not know if this is an available option or not - only a 'bug' if it is an option and is not functioning otherwise it is a 'feature wanted'