Local Photo Printing Module
rlobrecht
Joined: 2003-01-20
Posts: 92 |
Posted: Wed, 2005-09-28 13:49 | |||
I hacked up the Shutterfly module to give me a local printing module. It basically openes the largest sized image in the window without the theme wrapped around it. It only works on individual photos, not the cart. zip download attached. tar.gz available on my site.
|
||||
Posts: 32509
only for single photos? hmm, doesn't make too much sense to use a modified shutterfly module then.
the cart feature and cart plugins are for doing stuff with a selection of G2 items.
you could have created a module that adds a "Print View" action to each item / item drop down...
but you could as well make a cart plugin, that shows 1 list of fullsize images on white background.
or maybe hack something together with javascript etc to print multiple images at once.
Posts: 92
It had the bits I needed (i.e. grabbed the largest image URL the user had permission to, and added to the item actions in the sidebar.) I took out most of the cart stuff.
I was trying to think of a good way to print multiple images, but I don't know how to generate page breaks in HTML. I assume you would need this to make sure that each photo printed on a separate page. (We have a printer that does 4x6 really nicely.)
Posts: 57
Did try installing. The following error is being displayed int the module area:
Local Photo Printing Module
Incompatible module!
Core API Required: 6.0 (available: 7.1)
Module API Required: 2.0 (available: 3.0)
Posts: 92
What version of Gallery is giving you this problem?
Any (real) module developers want to chime in as to why a module that requires an older version of the core doesn't just work with a newer version?
Thanks,
Rick
Posts: 57
2.1-rc-1a core 1.0.28
Posts: 92
Unfortunately my Linux box is down now, so I haven't updated Gallery to the latest bits. I'll be able to take a look when my new hardware arrives.
Posts: 57
For your reference:
Gallery version = 2.1-rc-1a core 1.0.28
PHP version = 4.3.11 apache
Webserver = Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_jk/1.2.0 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.6b
Database = mysql 4.0.25-standard
Toolkits = Gd, Exif, Thumbnail
Operating system = Linux host.bh.xgb.net 2.4.20-28.7smp #1 SMP Thu Dec 18 11:18:31 EST 2003 i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
Posts: 426
Is the aim of this one to get a full screen view of the image?
Sounds good
Looking forward to the g2.1 version.
Gaynor
Posts: 92
That's exactly the goal. The full sized image opens in a new browser window.
Posts: 33
I tried hacking this module (Local Print) to work with my gallery. Could not get it. Will try again
when my head stops aching. Like the module though. Trying to get it to work with 2.1.
Posts: 808
To answer the question about the old module not working with the new version is because when they do a major API jump like they did in G2.1 they change things bad enough that modifications need to be made to the basic code. When they do minor API jumps it will work.
Posts: 30
Is it the 2.1 version anywhere ?
Posts: 92
Not yet. I've upgraded to 2.1, but I'm having some problems with my gallery, and haven't had any time to update this module.
Posts: 30
I just want to be able to print my big picture alone (with a print button).
If your button do that without error, i would have this code please
Thanks a lot !
Posts: 30
Some news ?
Posts: 12
This would be a nice feature to see. Hopefully you are making progress. Are you having the image output to a seperate HTML page? If so i might be able to help you add the print button etc.
Posts: 92
Sorry guys, no news. Bharat finally figured out my problems with my gallery, but in the mean time, I got a promotion at work, and its become a massive time suck (the previous person in this job left the company, so I got no hand off, and there's no documentation.)
Posts: 2
I modified the localprint module to be compatibel with the latest version of Gallery (CoreAPI 7.4 and ModuleAPI 3.0). Furthermore the module now has an automatic print dialog. Still to do returning the browser to the original picture after printing.
Of course all credits still go to the original author rlobrecht.
Posts: 33
I tried it. It does not print the image. It comes up after you select an image to print and there is no image there. I select print anyway and it prints the entire web page not the picture image.
---------
Gregory M. Williams
http://www.myfamilyalbums.com
Miami, Florida
Freedom Ain't Free...
Posts: 7
Hello, I have created a gallery <http://jpcrazy.com/galleria/main.php>, I would like the members use my Mpix account <http://www.mpix.com> to print instead of shutterfly or the other options that installed with gallery 2. Does anyone know how to set this up?
JP
Posts: 1
I get exactly the same problem. I found really hard to believe we are the only two experiencing the same issue, which is a big shame because one of the main reasons I post my photos online is so my family can order pictures directly from my site and it is not working.
I have been trying to find the root cause of this problem with my limited html-php skills but so far have not been able to. =(
______________________
SPAM LINK REMOVED BY MODERATOR