I've been using Moveable Type's blog software (the old free version, 2.661) for a while, but it always seems that integrating images with my blog is a hassle. I tried switching to WordPress but the image upload and resizing process still seems more difficult than it needs to be. My wife won't blog because the process to upload images is too cucumbersome (or so she says). (Our digital camera is 4 mega-pixels, so images directly uploaded at the default resolution don't display very well (or perform well for dialup blog readers.)

Can anyone offer me an example of a server-side Perl CGI script which resizes images using Image::Magick (or some other such resizing/thumbnailing tool) allowing a user to upload a folder of images from their local operating system through a browser? The documentation for Image::Magick seems woefully inadequate.

I envision a two-step process in which my wife uploads 20 or 30 images (which are resized/thumbnailed in the background) and then she begins to write her blog. By the time she is ready to incorporate an image, the thumbnails are available in the thumbnail directory.

Once I have the images uploaded and resized to something web-viewable (say, 480x360) I can use WordPress' image gallery feature to browse and include images in a particular blog entry, which will (I expect) make blogging with pictures much easier.

Alternatively, if anyone knows of some decent blog software that I can host on my own site which seamlessly integrates image uploading/resizing, I would appreciate a pointer to that software.


No good deed goes unpunished. -- (attributed to) Oscar Wilde

In reply to Image uploading and server-side resizing by ptum

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.