image with a link

yes with the fileupload element

the user must upload an image with a link with the fileupload element

i use a calc element but it's a little complex

philippe
 
Well I assume you will need an additional element to store the link as well?

So for example the fileupload will store the image and a field element will store the link.


You can then use a display or calc element with the following code.#

Code:
$urlclick = "<a href='{[B][COLOR=Blue]tablename___fileupload_raw[/COLOR][/B]}' target='_blank'  ><img src='{[B][COLOR=Red]tablename___link_raw[/COLOR][/B]}'></a>";  

return $urlclick;



Replace - tablename___fileupload_raw with your fileupload element.

Replace - tablename___link_raw with your field element containing the link.
 
ok it's a little complex but if it's the only solution to achieve it , i try

so in my calc element , i must achieve to to this formulae

<A HREF="The URL of the site"><img src="The URL of the image"></A>


 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top