Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Gorospe] How to print image

Quote Reply
Re: [Gorospe] How to print image In reply to
Hi,

Yeah, what you would need to do, is have a page that opens with the image on - and then a little javascript, that opens the print:

Code:
window.print();

You may also need to get a bit more clever with it, in terms of using some code to detect if the image has finished loading (but you can play around with that, and see if thats needed, or if the browser will just wait for it to finish downloading)

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!
Subject Author Views Date
Thread How to print image Gorospe 7365 Mar 10, 2015, 8:23 AM
Thread Re: [Gorospe] How to print image
Andy 7293 Mar 10, 2015, 9:43 AM
Thread Re: [Andy] How to print image
Gorospe 7279 Mar 10, 2015, 9:50 AM
Thread Re: [Gorospe] How to print image
Andy 7282 Mar 10, 2015, 9:57 AM
Thread Re: [Andy] How to print image
Gorospe 7287 Mar 10, 2015, 10:13 AM
Thread Re: [Gorospe] How to print image
Andy 7282 Mar 10, 2015, 10:18 AM
Thread Re: [Andy] How to print image
Gorospe 7275 Mar 10, 2015, 10:25 AM
Thread Re: [Gorospe] How to print image
Gorospe 7266 Mar 10, 2015, 10:53 AM
Thread Re: [Gorospe] How to print image
Andy 7265 Mar 10, 2015, 11:02 AM
Post HRe: [Andy] How to print image
Gorospe 7266 Mar 10, 2015, 11:20 AM