Create new Image Plugin?

(I have sent this e-mail to the rails list, but haven’t got any
replay. Hope on better luck here. It definitely have to be an engine
kind of plugin :-)).

  • Henrik

I’m working on a CMS for some time now. I need some kind of
functionality to deal with images. As I know there are two plugins
available: SuperImage and FileColumn.

Neither of these have exactly what I want.

What I want is a plugin with the following functions:

  • A poppup window (or ajax field) where you can search for, scroll
    trought pictures, find the one you will have, press on that, and
    automatically get an image link (in bluecloth, redcloth ++) in your
    text form. Of course you should also have the option of
    uploading an image the same place.

  • Images stored in /images/year/week folders

  • Possibility of resizing pictures (Not sure if resizing in uploads
    are best, or if caching of resized pictures when viewing are better).

Unfortunately I’m in a bit pressure of getting my CMS out in
production, so I probably will have to make an easy ad-hoc solution to
cut some time. Hopefully I’ll get some time to work on this later. But
in the mean time I wonder if anybody else have some thoughts about
this, and maybe some time to actually start working on/ make it?

(And besides I’m not an such experienced and clever programmer as the
most of
the other people are :-)).

  • Henrik

Btw:
SuperImage:
http://beautifulpixel.textdriven.com/articles/2006/04/27/superimage-plugin-making-resizeable-uploaded-images-easy
FileColumn: http://www.kanthak.net/opensource/file_column/

----- End forwarded message -----
Henrik Ormåsen

…And I know you didn’t get a response on the Rails list, but that’s
where this sort of question belongs. Spamming inappropriate mailing
lists with your question isn’t especially cool.

:wink:

Henrik =?iso-8859-1?Q?Orm=E5sen?= wrote:

(I have sent this e-mail to the rails list, but haven’t got any
replay. Hope on better luck here. It definitely have to be an engine
kind of plugin :-)).

  • Henrik

That sounds a bit too specific to your needs to be the sort of thing
you’ll find as a ready-made plugin. Nothing wrong with asking, of
course, but it’s likely the sort of thing one writes for one’s own
application, and then if the code is general enough, maybe it can be
made into a plugin afterward.

What you’re describing, though, is all front-end user-interface stuff
for managing images and generating Textile/Markdown links and has
nothing to do with the actual image storage and retrieval, so if I were
you I wouldn’t reinvent the wheel. Use either FileColumn or SuperImage
and build your fancy image selector and the RJS stuff to splice links
into your textareas accordingly.

Henrik =?iso-8859-1?Q?Orm=E5sen?= wrote:

(I have sent this e-mail to the rails list, but haven’t got any
replay. Hope on better luck here. It definitely have to be an engine
kind of plugin :-)).

  • Henrik

I’m working on a CMS for some time now. I need some kind of
functionality to deal with images. As I know there are two plugins
available: SuperImage and FileColumn.

Neither of these have exactly what I want.

What I want is a plugin with the following functions:

  • A poppup window (or ajax field) where you can search for, scroll
    trought pictures, find the one you will have, press on that, and
    automatically get an image link (in bluecloth, redcloth ++) in your
    text form. Of course you should also have the option of
    uploading an image the same place.

  • Images stored in /images/year/week folders

  • Possibility of resizing pictures (Not sure if resizing in uploads
    are best, or if caching of resized pictures when viewing are better).

Unfortunately I’m in a bit pressure of getting my CMS out in
production, so I probably will have to make an easy ad-hoc solution to
cut some time. Hopefully I’ll get some time to work on this later. But
in the mean time I wonder if anybody else have some thoughts about
this, and maybe some time to actually start working on/ make it?

(And besides I’m not an such experienced and clever programmer as the
most of
the other people are :-)).

  • Henrik

Btw:
SuperImage:
textdriven.com - textdriven Resources and Information.
FileColumn: http://www.kanthak.net/opensource/file_column/

----- End forwarded message -----
Henrik Orm�sen