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.

AttachmentSize
localprint.zip4.08 KB
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-09-28 15:27

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.

 
rlobrecht

Joined: 2003-01-20
Posts: 92
Posted: Wed, 2005-09-28 15:42

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.)

 
IamNear

Joined: 2006-03-08
Posts: 57
Posted: Mon, 2006-03-13 13:10

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)

 
rlobrecht

Joined: 2003-01-20
Posts: 92
Posted: Mon, 2006-03-13 13:23

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

 
IamNear

Joined: 2006-03-08
Posts: 57
Posted: Mon, 2006-03-13 17:15

2.1-rc-1a core 1.0.28

 
rlobrecht

Joined: 2003-01-20
Posts: 92
Posted: Mon, 2006-03-13 17:37

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.

 
IamNear

Joined: 2006-03-08
Posts: 57
Posted: Tue, 2006-03-14 10:29

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)

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Mon, 2006-04-17 06:13

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

 
rlobrecht

Joined: 2003-01-20
Posts: 92
Posted: Mon, 2006-04-17 21:35

That's exactly the goal. The full sized image opens in a new browser window.

 
ggrego

Joined: 2006-05-08
Posts: 33
Posted: Mon, 2006-05-08 07:46

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.

 
lvthunder

Joined: 2003-09-12
Posts: 808
Posted: Thu, 2006-05-25 19:42

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.

 
antisa33

Joined: 2006-06-26
Posts: 30
Posted: Fri, 2006-07-07 23:22

Is it the 2.1 version anywhere ?

 
rlobrecht

Joined: 2003-01-20
Posts: 92
Posted: Fri, 2006-07-07 23:58

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.

 
antisa33

Joined: 2006-06-26
Posts: 30
Posted: Sat, 2006-07-08 22:33

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 !

 
antisa33

Joined: 2006-06-26
Posts: 30
Posted: Tue, 2006-07-11 12:39

Some news ?

 
layer9

Joined: 2006-08-09
Posts: 12
Posted: Wed, 2006-08-23 14:42

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.

 
rlobrecht

Joined: 2003-01-20
Posts: 92
Posted: Wed, 2006-08-23 16:30

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.)

 
DrCore

Joined: 2007-05-11
Posts: 2
Posted: Fri, 2007-05-11 16:09

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.

 
ggrego

Joined: 2006-05-08
Posts: 33
Posted: Wed, 2008-06-25 04:39

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...

 
JPCrazy

Joined: 2008-04-16
Posts: 7
Posted: Thu, 2009-06-18 16:17

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

 
Adan Daroski

Joined: 2010-02-10
Posts: 1
Posted: Wed, 2010-02-10 10:04

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