View Full Version : Email a photo?
KingSky
11-01-2004, 01:21 AM
I'm curious whether an addon could be created that would allow a photo to be emailed, either from a regular PC or a mobile phone, and be automatically added into pixelpost.
I've been rolling this idea around in my head and reading some info on php and emails, but my php is pretty basic and I'm not sure I'm knowledgeable to make something like this work. I think it would be awfully handy though so if anybody has any ideas, please let me know.
My latest idea is to look for some 'text' based blog software. I know there are several GNU programs that allow emailing text posts to a blog so I'm going to investigate some of those and see how it's done, and if it would be possible to convert some code to pixelpost.
Thanks for listening, and ideas :) And of course if this is just not possible, I'd love to hear why as well!
-Kevin
I'm curious whether an addon could be created that would allow a photo to be emailed, either from a regular PC or a mobile phone, and be automatically added into pixelpost.
i'm not a great developper but i suppose that you need to set up a special email account in order to perform such a script allowing you to post a picture to your PixelPost PHP based software.
In fact, i've already programmed a similar script allowing an email to perform an action. I've done it on a linux server with Qmail and Php. Here's a short description of the process :
1 Set up your php script extracting the Save PixelPost function in a new php file called "remote_post.php" right in your PixelPost admin...
2 Set up your special email account with an exec command... for example
pixelpost@yourwebsite.com will perform the following action with php
"/usr/bin/php /home/httpd/yourpathtopixelpostwebsite/admin/remote_post.php"
3 Send an mail with a special formatting stuff such as your password in the subject to secure the action
That's it & it should work...when trying a solution to handle the attachment :wink:
pixelpunk
11-01-2004, 07:36 AM
I'm happy to help or assist in any such thing. I have come to understand that this is a desired feature for some, but I'm not sure I can get the time to fix it myself. But I'll be happy to stand on the sideline and cheer you on! :)
// punK
KingSky
11-01-2004, 06:43 PM
Thanks guys. I'm still investigating this but I'm not sure I'm qualified to do it, but we'll see.
I looked at a blog software (GNU) called easymoblog.org, part of which is that you can email posts, including photos. You include your category name in the subject line, but I'm not sure how you authenticate a user yet. There is a batch file called easymoblog-batch.php that you need to set to run every 10 or 15 minutes, and it checks a specified email address, extracts the messages, parses them into post data, and then deletes them.
Anyway, I'll keep playing with it and let you know what I figure out :)
-Kevin
dithers
12-20-2004, 12:57 AM
Just chiming in here with a possible option (click the 'postcard' option):
http://aestheticsurgerycenter.com/scripts/
A popular photo blogger (hchamp.com) uses it on her site, and while I haven't explored it in depth, that seems to be a decent endorsement (because she probably has researched it).
Hope this adds to the discussion,
-Dithers
Anonymous
01-14-2005, 03:02 PM
Easy moblog has this feature ...it's opensource (as it is PHP) so you should be able to check it out.
http://www.easymoblog.org/
gnostic
04-20-2007, 05:06 PM
KingSky, if you have managed to resolved the issue by now please post your solution. I don’t know another place where to look in for this.
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.