linking uploaded image to URLs

2 posts by 2 authors in: Forums > CMS Builder
Last Post: February 18, 2008   (RSS)

By Chris_t - February 16, 2008

Hello all, back yet again with another question.
So far all have been answered and the site is coming along nicely thank you for all the great help. New page I am working on they want just a page to upload banners they made and have them link to sites. At the bottom of the uploader it reads "These uploads may be displayed or linked on output page." How can I link them on the output page will I need to add a field in the uploader that says url like it has now for caption and title?
Thanks as always
Chris

Re: [ChrisTitchenal] linking uploaded image to URLs

By Dave - February 18, 2008

Yes, you're on the right track. You could add a field for "upload url" and then use that to link the banners. Say you added it for the info3 field, you'd just use this code to display the link:

<?php echo $upload['info3'] ?>

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com