The image opening is pretty simple.
Make a new template called print_image.html, with:
<head>
<title></title>
<script>
window.print();
</script>
</head>
<body>
<img src="<%image%>" />
</body>
</html>
then send them to that page using:
If you wanted to be a bit more secure, you could just pass the link ID, and then use my Load_Link function from ULTRAGlobals a call:
that should then give you access to the whole link in the template (so you can show whatever image you want)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Make a new template called print_image.html, with:
Code:
<html> <head>
<title></title>
<script>
window.print();
</script>
</head>
<body>
<img src="<%image%>" />
</body>
</html>
then send them to that page using:
Code:
page.cgi?p=print_image;image=THE_IMAGE_URLIf you wanted to be a bit more secure, you could just pass the link ID, and then use my Load_Link function from ULTRAGlobals a call:
Code:
<%Plugins::ULTRAGlobals::Load_Link($ID)%>that should then give you access to the whole link in the template (so you can show whatever image you want)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!