Guest Posted November 4, 2006 Posted November 4, 2006 I know next to nothing about PHP, so I figure I will ask here. I got this idea off an existing contrib: download coppermine and instead of having that one image in the product info page, put an iframe in and have a whole gallery for your products. Now what I want to do is get the product ID and enter that as the album name in the src for the iframe. Say I click on something with the product ID of 123, the src for the iframe would go to gallery/album/123 and show all the pictures there. I know this must be possible, but I do not know what php code calls the product ID or how to put it into a working URL. Any help with this would be amazing. I've already set up the iframe in the site and taken out the image at the top right, but for the life of me I can't figure out how to make the URL go to the right place for each product. Thanks alot! Quote
Guest Posted November 4, 2006 Posted November 4, 2006 Okay Ive run into a new problem. Just creating an album name do not make its URL the same. I created my album name as 28, the same as the products ID, but it creates the URL as album=1 because it was the first I made. Any ideas on what I can do to get the URL the same as the product ID? Quote
Guest Posted November 4, 2006 Posted November 4, 2006 I just made about 200 albums and I'll link them up to the correct ID myself. That will work. Check out this page to see how it looks. http://speedwing.net/catalog/product_info....540b96e0a6b43e1 I might theme out Coppermine to match my site exactly. What do you think? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.