Hi again.
I am not realy sure that understood 2nd question. What do you mean "decorated"? Do you need additional html-markup to your thumbs or what?
With this config all classes will be copied from Tiny to thumb.
before: <img src="assets/original.jpg" width="400" height="100" class="left" />
after: <img src="some_cached_image" width="100" height="25" class="left" /> <-- "left" was copied
And 1st question:
Yes, DR can work without specifying width or height. You need to use $dr_local [ "thumb_use_defaults"] parameter.
$dr_local["thumb_width"]["all"] = 100; // default dimensions
$dr_local["thumb_height"]["all"] = 20;
$dr_local ["thumb_use_defaults"]["all"] = 4; // override original dimensions
With this parameters original width and height of the images will be overrrided by default from config. If you set
$dr_local ["thumb_use_defaults"]["all"] = 1
then DR will use thumb_width and humb_height only if original width and height are both empty.
By default
$dr_local ["thumb_use_defaults"] = 0
and thumb_width and humb_height are not used.