PDF photo directory scripts

Share discussions around the Classic Local Unit Website (LUWS).
Locked
csmayfield
New Member
Posts: 5
Joined: Sat Feb 05, 2011 8:01 am

PDF photo directory scripts

#1

Post by csmayfield »

Here's a Python/LaTeX solution that generates a PDF version of the online photo directory, suitable for double-sided booklet printing (e.g., with Adobe Reader).

http://www.cs.purdue.edu/homes/cmayfiel/photodir.zip

Related topics:

"Provide a way to print a photo directory with selected information"
https://tech.lds.org/wiki/MLS:_Feedback_and_Suggestions

"Add capability to create ward photo directory pre-formatted for booklet printing."
https://tech.lds.org/wiki/LUWS:_Feedbac ... uggestions
atom88
New Member
Posts: 17
Joined: Sun Jan 02, 2011 7:30 pm

thanks for the python script...

#2

Post by atom88 »

thanks for the python script...I'll have to check it out. My experience is more in java but I've dabbled in python so I'll have to try it out.

I hope the church fixes this bug and allows for printing soon though.

-- Adam
csmayfield wrote:Here's a Python/LaTeX solution that generates a PDF version of the online photo directory, suitable for double-sided booklet printing (e.g., with Adobe Reader).

http://www.cs.purdue.edu/homes/cmayfiel/photodir.zip

Related topics:

"Provide a way to print a photo directory with selected information"
https://tech.lds.org/wiki/MLS:_Feedback_and_Suggestions

"Add capability to create ward photo directory pre-formatted for booklet printing."
https://tech.lds.org/wiki/LUWS:_Feedbac ... uggestions
coolhandace
New Member
Posts: 1
Joined: Sat Feb 12, 2011 8:00 pm

Help!

#3

Post by coolhandace »

Nothing seems to happen during "Step 2" When I run each command a black box pops up for a split second and is gone. I see a directory called "photos_files" has been created but I don't know what to do with it? Thank you for the help.:confused:
csmayfield
New Member
Posts: 5
Joined: Sat Feb 05, 2011 8:01 am

Re: Help!

#4

Post by csmayfield »

Having command prompts popping up is the correct behavior. My best guess is you saved the web page as photos.htm, but the program is looking for photos.html (I'll add a fix for that later).

Here is a manual way to run the scripts in case there were other errors:

1. Right click copypics.py, select "Edit with IDLE"

2. From the "Run" menu, select "Run Module" -- copypics.py should create a new directory named "pics" and copy/rename all the jpeg files from photos_files.

3. Right click options.py, select "Edit with IDLE"

4. Read through this file carefully and make any changes applicable to your ward. At a minimum, you should update the CITIES list and replace (or remove) the example names I made up in the tweak_* functions.

5. Right click photodir.py, select "Edit with IDLE"

6. From the "Run" menu, select "Run Module" -- this should create the final photodir.pdf file, along with several other intermediate files.

Good luck,
--Chris
daveisfera
New Member
Posts: 9
Joined: Thu Mar 03, 2011 8:15 pm

#5

Post by daveisfera »

The link appears to be broken now. Is there a copy of this available anywhere else?

Thanks,
Dave
csmayfield
New Member
Posts: 5
Joined: Sat Feb 05, 2011 8:01 am

#6

Post by csmayfield »

Here's the latest version.
Attachments
photodir_1.2.zip
(48.89 KiB) Downloaded 205 times
Locked

Return to “Classic Ward & Stake Sites (LUWS)”