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 7537 Mar 10, 2015, 8:23 AM
Thread Re: [Gorospe] How to print image
Andy 7463 Mar 10, 2015, 9:43 AM
Thread Re: [Andy] How to print image
Gorospe 7448 Mar 10, 2015, 9:50 AM
Thread Re: [Gorospe] How to print image
Andy 7452 Mar 10, 2015, 9:57 AM
Thread Re: [Andy] How to print image
Gorospe 7456 Mar 10, 2015, 10:13 AM
Thread Re: [Gorospe] How to print image
Andy 7451 Mar 10, 2015, 10:18 AM
Thread Re: [Andy] How to print image
Gorospe 7444 Mar 10, 2015, 10:25 AM
Thread Re: [Gorospe] How to print image
Gorospe 7436 Mar 10, 2015, 10:53 AM
Thread Re: [Gorospe] How to print image
Andy 7434 Mar 10, 2015, 11:02 AM
Post HRe: [Andy] How to print image
Gorospe 7435 Mar 10, 2015, 11:20 AM