Short description

I would like to see the fabulous Arnica extension by fabelous ReimarBauer integrated into Moin1.8 (And also backported to 1.7... no just kidding)!! I think it is a great extension. However - sorry Reimar - I would name this extension not Arnica but Image (this makes more sense to me and I think most users). Instead of doing a page with #format wiki you can now also do whole gallery pages with #format image. Maybe also Arnica/Image can be extended in a way to have an aligment functionality so you can imitate the way e.g. mediawiki treats images

mockup.png

Maybe there is also a way to provide an interface for extension so that you can call some image processing routines (this might be interesting for AccessibleMoin). In the above picture you can see that already. Clicking on the first button simply enlarges the image, clicking on the second renders it in an optimizied way for protanopia, third for deuteranopia, forth tritanopia, the fith button renders it in grayscale.


Hi Oliver

if you want to add controls to one image on a page that is easier using the transclusion syntax and thinking on parameters for that. One option is to write an action for each option, the action should have a dependency to an icon. Afterwards we have to add a parameter e.g. actions=(enlarge, protanopia, deuteranopia, tritanopia, grayscale). The following lines shows the aligning already. Arnica and those actions can share the same cache files. (I am happy with the name Arnica currently because talking about Image is misleading and it is difficult to implement then something which is more than just an Image)


What do we see here? Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

What do we see here? Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.



Hi Reimar,

yes, you are right. You can do still a lot with the transclusion syntax. The advantage of Arnica (if it would have some built-in special presentation mode) would be that it has a built-in minipage functionality (so the given example above is not well chosen). Often you want to do something like that (or more complex things):

What do we see here? Lorem ipsum dolor sit amet, consectetuer sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.

This speaks more for a parser than an action? Or what do you think? Cheers!

-- OliverSiemoneit 2008-09-02 16:03:17


Hi Oliver

we have a misunderstanding here. The parser already calls a lot of actions. e.g. rotate left, delete. Any icon you see if show_tools is enabled calls on a click the dependent action. If we want a grayscale image we need an action for doing this. It can create the cache file if there is none and show it or show it if it is already there. Of course we can create all the images on the first access of the page but without a queueing system this can become quite expensive. So I think we currently should do this by an action if one requests a greyscaled image. I think I can show later an example with one of the programs you sent to me some weeks ago.

cheers

-- ReimarBauer 2008-09-02 16:59:15


Hi Reimar!

yes, sorry, you are right. Is there a way to configure the toolbar? E.g.:

We can make it configurable

What do you think? And something else: When doing some parameter for transclusion-syntax: Is it possible to use in the image description wikimarkup? (I'm not talking of alt-text, tooltip-help, longdesc attribute but of the above text underneath the image in bold letters "Highlands (Scottland)")

That should be easily possible for one image as it is done by the transclusion syntax (it can call wikiutil.renderText). Arnica is a parser because we wanted this feature for many images at once. -- ReimarBauer 2008-09-02 18:27:39

Cheers, Oliver


Hi Reimar,

as you suggested by mail, I have done now a new feature request for the transclusion syntax, see FeatureRequests/EnhanceTransclusionSyntaxForImages


CategoryFeatureRequest CategoryForMoin2

MoinMoin: FeatureRequests/Arnica4Moin (last edited 2010-01-12 14:25:32 by PascalVolk)