# Create new Image Plugin?

**URL:** <https://www.ruby-forum.com/t/create-new-image-plugin/95664>\
**Category:** Engines\
**Created:** [June 8, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/create-new-image-plugin/95664 "2006-06-08T14:24:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henrik\_SSiso-8859-1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/3be4f8/32.png) [@Henrik\_SSiso-8859-1](https://www.ruby-forum.com/u/Henrik_SSiso-8859-1)\
**Post date:** [June 8, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/create-new-image-plugin/95664/1 "2006-06-08T14:24:58Z")

</div>

(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](http://beautifulpixel.textdriven.com/articles/2006/04/27/superimage-plugin-making-resizeable-uploaded-images-easy)  
FileColumn: [http://www.kanthak.net/opensource/file\_column/](http://www.kanthak.net/opensource/file_column/)

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

---

<div class="post-metadata">

**Author:** ![Henrik\_SSiso-8859-1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/3be4f8/32.png) [@Henrik\_SSiso-8859-1](https://www.ruby-forum.com/u/Henrik_SSiso-8859-1)\
**Post date:** [June 14, 2006, 6:20pm UTC](https://www.ruby-forum.com/t/create-new-image-plugin/95664/2 "2006-06-14T18:20:07Z")

</div>

…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.

😉

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

---

<div class="post-metadata">

**Author:** ![Henrik\_SSiso-8859-1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/3be4f8/32.png) [@Henrik\_SSiso-8859-1](https://www.ruby-forum.com/u/Henrik_SSiso-8859-1)\
**Post date:** [June 14, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/create-new-image-plugin/95664/3 "2006-06-14T18:17:57Z")

</div>

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&nbsp;-&nbsp;textdriven Resources and Information.](http://beautifulpixel.textdriven.com/articles/2006/04/27/superimage-plugin-making-resizeable-uploaded-images-easy)  
> FileColumn: [http://www.kanthak.net/opensource/file\_column/](http://www.kanthak.net/opensource/file_column/)
> 
> ----- End forwarded message -----  
> Henrik Ormï¿½sen
