because it really is all about me...

� Hot, Fun-Filled Fourth | Main | thedude's Photo in Copenhagen �

July 9, 2007

I'm All Proud of Myself, and Stuff

DSC_1829.jpgI finally found a way to get my wife more involved with thedude.com. Sure, she's already the number one subject on this site, but I always wanted her to contribute a little more than just her beautiful smile. Now she can!

See the little image in the upper-right? That's her most recently uploaded iPhone image. Kelly put this image here - all by herself. How? Well, I created a private e-mail address on my server which, when e-mailed, strips out the attached image - resizes, sharpens and compresses it, then creates a thumbnail with a link to the full-size image. A little modification to the blog's main page template, and the uploaded image and text appear "automagically" on this page. The script even uses the message body as a caption for the image. Cool! Instant publishing from a cell phone!

Now Kelly can upload an image with an optional caption to the blog at any time. She loves that fact that she can participate in the publishing process without any input or oversight from thedude.

I plan to emulate my pal Jason and use all of the uploaded phone-cam images to create some sort of collage page or something, (reload page for random phone images.) but that'll have to wait for now. I'm very happy just to have this working.

By the way, it was fairly easy to implement all of this on my server using procmail, ripmime and ImageMagick. If you're interested in such things, have a look at my procmail recipe.

Posted by thedude at July 9, 2007 10:00 PM

Comments

Very cool! You actually 'let' Kelly take the iPhone? What a nice husband you are. :)

Posted by: Cindy at July 10, 2007 6:36 AM

Hey - the iPhone is all Kelly's. She hardly ever lets me touch it. Meanwhile, I'm stuck with this boring BlackBerry. Yuck.

Posted by: thedude at July 10, 2007 9:02 AM

Kelly's got an iPhone? Cool!

Posted by: Hugh Caley at July 10, 2007 11:07 AM

Kelly's got an iPhone? How do you all like it?

Posted by: Todd VanGilder at July 10, 2007 12:13 PM

We both love it. Kelly finds it easy to use, and I think it's simply the coolest electronic gizmo EVER!

Posted by: thedude at July 10, 2007 2:21 PM

Looks like Kelly has an eye for great Spots.

Posted by: Judy Goya at July 10, 2007 9:08 PM

Can you believe it? I think I may have created a monster.

Posted by: thedude at July 10, 2007 9:53 PM

Hahahahaha!!!

Posted by: dave at July 11, 2007 6:18 AM

Kelly - hope I didn't offend you by thinking that the iPhone was Jim's....I just 'assumed' that because he's the geek and all... Love your most recent picture.

Posted by: Cindy at July 11, 2007 8:06 AM

i'd like to see your recipe and script.
here's what i do.. i dump the files in a directory, ~/incoming
i then run this script, using perl and netpbm..
http://offramp.org/~jss/tmp/uppix.pl.txt
the configuration file looks like this:
http://offramp.org/~jss/tmp/uppix.cfg.txt

i want to update my system, borrowing from both our scripts.

im almost sad to move on to a new cellphone-camera, since i have more than 1500 images from my previous one. the beauty is that they are consistent and numerous.

Posted by: Jason Schlachet at July 12, 2007 9:10 AM

I do virtually all of the work in my procmail recipe. None of this would be possible without ripmime and ImageMagick.

http://thedude.com/procmailrc.html

On the blog, I create a link to the thumbnail and use a php include to add the caption. Eventually, maybe I'll use ImageMagick's montage command to create a sort of phonepic.tv page like yours. :)

Posted by: thedude at July 12, 2007 9:37 AM

I wrote a similar sort of program once where you could forward an email that had one of those electronic "business cards" files attached to it to a special address, and it would input that data into an LDAP directory for you, and associate that card with your own LDAP data.

Total waste of time; the company went out of business a month later. I don't think that was a related issue.

Posted by: Hugh Caley at July 13, 2007 1:49 PM

Post a comment




Remember Me?

(you may use HTML tags for style)

footer
peekaboo!