Greetings,
I would like to allow my visitors to print an image-page: the photo itself and its desciption.
How could I add a "print this page" function the my Piwigo?
Thanks,
Tamas
Offline
Why not use the browser's print function?
Offline
There are many visitors, who are rather old, and they (and me) are happy if they can handle a homepage. So, I cannot explain to them... to use a browser's function... as they may use any kind of browser... How would I know where is the button on their one?
So, it would be nicer, and more integrated ... if I could put a little icon somewhere to allow them to print the page... and this would be the same for all... independently of the browser.
So, if possible, I would like to offer an icon... to print the page... image and desciption together.
How may I do this?
Thanks,
Tamas
Offline
One way to do this is to install Perso footer plugin then put this code into it which will show on each page.
<html>
<head>
<title>Print This Page</title>
</head>
<body>
<h1>Print Test</h1>
<input type="button"
onClick="window.print()"
value="Print This Page"/>
</body>
</html>