I just shared it, 
so congratulations go to Alex only :-)

I also found that some pages of the exported EPUB do have problems, 
but the image is always present, afaik. 

For example, in this EPUB (https://toolserver.org/~tpt/wsexport/book.php?lang=it&format=epub&page=Lezioni_e_racconti_per_i_bambini)
I don't see this image: https://it.wikisource.org/wiki/Pagina:Lezioni_e_racconti_per_i_bambini.djvu/81

Aubrey


On Wed, Nov 27, 2013 at 12:56 PM, David Cuenca <dacuetu@gmail.com> wrote:
Aubrey, Alex,

Thank you very much for creating this tool and for sharing it. It is really amazing.
On ca-ws we only found one bug: when exporting the document into ePub or pdf (both with the EpubExporter and the Book Tool), the coordinates are not exported rightly and the cropping has an offset. It might be an incompatibility issue with the ePub exporter or something that we have not configured right. Example:
https://ca.wikisource.org/wiki/Test
http://wsexport.wmflabs.org/tool/book.php?lang=ca&format=epub&page=Test

Aleator said that it could be useful for Wikipedia, and I cannot agree more. Sometimes we spend a lot of time cropping and uploading, when it can be done much faster with this.

Micru





On Mon, Nov 18, 2013 at 11:57 AM, Andrea Zanni <zanni.andrea84@gmail.com> wrote:
Dear all, 
user Alex Brollo has developed a very interesting tool which I think many of you will find very useful.
(afaiu he developed this from a previous tool, but he can explain it better)

To test it, go on your oldwikisource account, 
and in User:YOU/vector.js copy this:

importScript("User:Alex_brollo/cornersDependencies.js");
importScript("User:Alex brollo/corners.js");
importStylesheet("User:Alex brollo/common.css");
The tool will appear under Tools, and it's called "Ritaglio immagini" (crop images).
It opens a window which allows you to select and crop an image directy on the page. 
It is extremely useful to use illustration directly on the page.
It is usable both in View and Edit mode. 

In the Italian Wikisource we have made it a Gadget and button, so it's active for everyone. 

Aubrey

_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l




--
Etiamsi omnes, ego non

_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l