triomatt

Joined: 2004-07-07
Posts: 4
Posted: Wed, 2004-07-07 15:29

I too am looking for the best way to add a link under each image thumb that would pop up an order form.

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Wed, 2004-07-07 18:13

In case you're wondering, I split your question from the topic you originally had it posted with, because your question is more involved and uses totally different files.

(and I can't answer your question, but at least now it's more visible).

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2004-07-07 18:54

triomatt,
There is few places you can add some code for a link under the thumb.
If you look at view_albums.php and search for echo "<br >\n";that break tag is under the image and you will be able to add some link to that if you like.
or echo($buf."<br>"); is where the discription of the item is rendered.
so you could so somthing like echo($buf."<br><a href='orderpage.com' target='new'>Order this item</a>");
You could also look in the html_wrap directory where the images are wrapped with some code as well. ie. inline_photothumb.frame.default
If you are using double quotes in the echo then don't forget to escape them with a /

Dave

 
triomatt

Joined: 2004-07-07
Posts: 4
Posted: Wed, 2004-07-07 19:06

Thanks for the ideass. Adding a left column with html_wrap will probably be the way to go since I would want users to be able to access the order form from all pages. This is a really cool tool!