4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: kief24 on May 08, 2003, 01:57:21 PM
-
Hello,
At my site : if people click the thumbnail pic, a popup window shows up with the big size picture in it.
header.thml generates the popup.
details.html contain the html where the image is put in.
I want people only to be able to print he picture, not to save it or to link to it.
So i would like to make a print button in the popup, so the picture could be printed out.
i can find a way to make a print button, with java script, but always the whole page ( popup ) is printed out, so even the print button is printed out ....
(and aff course the printed figure has to match an A4-format.)
so : anyone has an idea how to manage this ?
Some guys managed it already at www.kleurplaten.nl
i'm still trying at www.schoolplaten.com
Thx !
-
do u mean something like i have on my site under each pic?
-
i had something else in mind, but i think the system you use could work also, yes,
only problem, when i try to print something from your site, even when logged in, the printer doesn't print out the pic, only the comment above and under the pic.
"Crazy Pics Community presents: "
and
" Dieses pic wurde von http://..... " ?
there must be a bug somewhere i think......
but if it works, i would like to know how you did this, yes....
:)
-
found a code myself at :
http://www.mikenew.net/download/scripts/phprintCodeDisplay.php
but when i do all they say, i always get the message :
"Page printed from:
http://schoolplaten.com/details.php?image_id=53 " (or 54,55,... )
and nothing happens, no printing starts... ? :(
-
i had something else in mind, but i think the system you use could work also, yes,
only problem, when i try to print something from your site, even when logged in, the printer doesn't print out the pic, only the comment above and under the pic.
"Crazy Pics Community presents: "
and
" Dieses pic wurde von http://..... " ?
there must be a bug somewhere i think......
but if it works, i would like to know how you did this, yes....
:)
Well i check my code again but there is now msitake... Maybe in your Browser which Browser do u sue? IE 6.0?
-
yes, IE 6.0
-
strange 4 me it's working... But did u have the print function includeted into your site?
-
What i did is written here :
http://www.4homepages.de/forum/viewtopic.php?t=5551
and what exactly do you mean by "the print function included in your site" ?
do you mean if i have put the phprint.php in the root folder ?