I find it awkward to go check on the results when creating or tuning a preset.
This patch shows a demo of the result right in the UI form, so you can see the changes.
Currently it just applies the preset to a default image (druplicon.png) and displays it, and a link, but the image chosen could be made configurable in a setting somewhere.

UI is not polished, but it helps ME a lot.


interesting idea but i'd want to see some method for cleaning up all the temp images... maybe we could just delete the file first before outputting the preview link?

Temp images?
It creates a single one inside the preset folder. Using the preset invocation as normal.
When the preset is modified, it gets flushed along with the rest.
You end up with one sample image per preset.

Anything useful I can do to improve it?

Status:Needs review» Fixed
new71 bytes

Had a little time to work on this. I did some cleanup and added in the big druplicon logo from http://cvs.drupal.org/viewvc.py/drupal/contributions/docs/marketing/logo... so you can see how the actions will affect larger images.

Thanks! Committed to HEAD.

new1.5 KB

wrong patch...

cool. :)

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Version:6.x-2.0-beta1» 5.x-2.x-dev
Status:Closed (fixed)» Needs review
new1.44 KB

I was considering the 5.x-2.x branch closed to features but this is so freaking useful that I'm willing to backport it.

Status:Needs review» Fixed

committed to DRUPAL-5--2.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.