Paolo's Notes

BA by day, sleepy coder by night...

New photo blog tool

Announcing PicBlog!

A tool that aims to simplify and speedup the process to upload pictures and notes to FTP sites.

A concern I've seen often reported by people taking pictures with a digital camera is the convoluted process they have to endure to make their picture available on the web: transfer the images to their PC, resize them to a "web acceptable" format, upload them to an FTP site and either create some HTML or use some web-based tool to add notes and comments to the images.

With PicBlog, just enter the name of the album you want to create, point it to the folder where the images are (and this could be the memory card in the camera itself!), click upload and you're done.

Well, almost. PicBlog resizes (if needed) and uploads the images to a FTP site, then creates an XML file that contains the list of all the pictures in this album and the related notes.

This is an example file (named wedding.xml):

<?xml version="1.0" ?>
 <gallery>
  <author>
   <name>Paolo Marcucci</name>
   <email>paolo@paolomarcucci.com</email>
   <url>http://www.paolomarcucci.com</url>
  </author>
  <title>Wedding</title>
  <date>Sunday, September 24, 2000</date>
  <images>
   <image>
    <filename>9007-22.640x426.jpg</filename>
    <notes>Some people have bodyguards, we had an aircraft carrier to keep an eye on the wedding...</notes>
   </image>
   <image>
    <filename>9342-03.640x426.jpg</filename>
    <notes>The Contract</notes>
   </image>
   <image>
    <filename>9346-09.320x480.jpg</filename>
    <notes>Someone in this picture is kinda worried and it's not me!</notes>
   </image>
  </images>
 </gallery>

If anyone wants to take a look at the source (C#), just drop me a line.

I'll comment on a couple of interesting features I used in writing this program in some other posts tomorrow...

Posted: Jun 10 2003, 11:10 PM by Pmarcucci | with 10 comment(s)
Filed under:

Comments

Scott Galloway said:

This looks really good Paolo, good effort! I would of course love to see the source (even better, why not go open source with a gotdotnet / sourceforge workspace!)
# June 11, 2003 8:36 AM

Adam said:

Hi, does it actually generate HTML as well? If so, do you have a sample gallery hosted anywhere?

I like the check boxes on the corner of the images, what control is used to implement that?
# June 11, 2003 1:30 PM

Paolo Marcucci said:

> Hi, does it actually generate HTML as well? If so, do you have a
> sample gallery hosted anywhere?

No, it doesn't generate HTML code. What happens on the server was going to be the topic for today's posts, but let's just say that, after uploading the images and the XML file, PicBlog's job is done. Now, with those two items on an FTP site, it should be fairly easy to build some server side code to create a gallery, but I haven't put too much thought into it. Maybe I'll whip up some ASP.NET today :)

> I like the check boxes on the corner of the images, what control is
> used to implement that?

Just normal checkboxes, carefully aligned :)
# June 11, 2003 1:40 PM

Jon H said:

I'd be very interested in seeing a smart phone version of this software. Specifically, a J2ME version for the P800 ;)

Dedicated upload/moblogging software for smartphones, is in my opinion a lot more effective than the current mail2blog method.

# June 20, 2003 10:13 AM

Paolo Marcucci said:

> I'd be very interested in seeing a smart phone version of this software. Specifically, a J2ME version for the P800 ;)

Heh. You don't want me to touch Java if you want something done. We just don't mix well :)

On the other hand, I can finish the PocketPC version and you can use the source as a base/inspiration for a J2ME version.
# June 20, 2003 1:16 PM

Daniel said:

I upload my photo's directly from my telephone to a directory on my website using a ftp program for my Nokia (Yellow FTP, www.yellow.de). Then I use an other program (Doris Webbrowser) to activate a php script on my server and I add text (I think this is possible with an ordinary wap-browser, but I don't know how to make wapsites).
# October 5, 2003 4:43 PM

confused said:

I have very liitle knowledge with this stuff, but here's what.

i want to upload my picture to my blog...how?
# October 14, 2003 8:03 AM

Paolo Marcucci said:

confused: PicBlog is kinda misnamed from this point of view. You can use it to create a mini website that can go alongside your blog, but there no direct functionality to integrate with it. However, it uploads an XML file with all the necessary data, so a crafty blog tool writer could easily read that file and generate the appropriate display pages. As a matter of fact, I'm going to post something today requesting some assistance from blog tools builders :)
# October 14, 2003 12:13 PM

guest said:

so good
# May 7, 2004 11:13 AM

Abram said:

Hi. Sometimes the cure for restlessness is rest. Help me! It has to find sites on the: Alavert hives. I found only this - <a href="genericalavert.info/">i take alavert</a>. Alavert, ushering an close objective on a bad remedy comes to come ribozymes and western bad technology in furthermore overall stationary residues. Alavert, discovery focused their gearbox chemistry lp on july 7, 2009 on xl recordings. Thanks for the help :rolleyes:, Abram from Congo.

# March 24, 2010 4:16 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)