Support for inline "previews" for skin options would be a very helpful UI addition.

In Fusion for D6 we used a bit of a hack to provide previews for skinr options that looked like this:

https://skitch.com/sheenad/gf1ck/skin-previews

It would be preferable to have a way to include option preview images in the hook_fusion_apply_skin_PLUGIN_info() syntax, that would automatically generate the wrapping HTML and description for the pop-up preview image.

Even better would be to have images in the same directory as the skin.inc file to be included based on filename as previews for a skin option with the same key. For example, fusion/skins/core/fusion-callout.png would automatically be used as the preview image for $skins['fusion_skins_general_styles']['fusion-callout'].

Comments

esmerel’s picture

If this gets done, open me a new issue for adding that back into the documentation. I've currently pulled it out of the upgrade 6->7 guide.