Extension talk:EditImage

From mediawiki.org
Latest comment: 12 years ago by Octify in topic Instructions

This is really awesome idea. I've thought of it before but never had time to try to build something like this. One question--are the images diff-able yet? Diff is an integral part of the wiki experience. Also I think that it'd be even better if images were able to be edited while inside a wiki page. Smaug 16:13, 14 August 2008 (UTC)Reply

No, images are not diffable yet (which would be cool, but should probably be a separate (core) development to this extension). At the very least, having them side by side would be useful. Beyond that I have difficulty imagining how the diff page could highlight differences. I'm sure there are some interesting possibilities though.
Regarding "editing images while inside a wiki page", I don't know that would be desirable because it could have unintended effects, if the image takes on your edits everywhere it is used. There have been proposals for extending the image syntax though - something like [[Image:foo.jpg|crop=100x200]] or something...not really changing the image, just the thumbnail that is displayed when it is embedded for that page. --pfctdayelise 04:52, 20 August 2008 (UTC)Reply

Suggestions[edit]

What I've always wanted on a Wiki is to be able to reuse an existing image on my Wiki on another page but with it showing the cropped area.

For example, the original image may have two objects on it. I'd then use the crop extension to use the image again on a second image tag (or on a different page) to show the 2nd object.

Alternatively I could use it to have tow image tag on a page. The first one shows the full image and the second image shows a zoomed up area of that image.

I'd not want to create a permanent 2nd image using the crop function, just a cached version to save disc space.

What do you think?

I guess it would mean a tool to crop/edit and a new Image: tag to show the modified image.

ie CropImage:Image.jpg|x1|y1|x2|y2|width|height|etc..

Comments?

--Quatermass 19:09, 19 September 2008 (UTC)Reply

A cropped/zoom thumbnail ability would be very nice. For instance, it would be more useful to show just the upper corner of File:HypsoTintedContours.pdf (waiting to be renamed from another file as this is written though) in a thumbnail, so if one could specify a pair of coordinates to excerpt between that would be nice. Something like "x0,y0;x1,y1" might be cleaner than the many pipe form suggested above. Among other things, it's probably easier to parse, and you could accept edge cases with implicit coordinates for missing portions i.e; ";x1,y1" has implicit x0, y0 of 0,0 and "200,500;" has an implicit x1,y1 equal to the bottom right corner of the image. --Belg4mit 21:36, 6 August 2011 (UTC)Reply

Contact iaza.com for more functions?[edit]

I love the idea of this extension, but it doesn't seem to have any features at the moment. Perhaps you could contact iaza.com and collaborate. I believe iaza.com provides all possible ImageMagick functions with a simple web interface, so there might be a lot of simple copy/pasting from their code to improve this extension. I don't know how to do this myself, so I'm just putting the link here so that someone with more knowledge about these things could do it. -- Nilli 08:08, 15 April 2011 (UTC)Reply

Instructions[edit]

Hi, maybe it's just because I'm new, but I can't seem to find out how to use this? It seems to have installed fine, but I can't find any directions for it... --Octify 23:41, 18 December 2011 (UTC)Reply