Hi all,

 

Just sharing that I've posted a patch that adds a "Copy link" button the
Tools > Upload feature, which makes it easier to link to files that have
been uploaded into Koha. 

 

For example, uploading a photo of the library via "Tools > Upload" and then
copying the link and pasting it into OpacMainuserBlock in an img element.

 

The patch shows the file URL in a modal so you can manually copy and paste,
plus it uses feature detection to see if it can use the Clipboard API
(available in modern browsers like Chrome, Firefox, Edge - but not newer IE)
to just copy it directly to your browser clipboard. 

 

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25475

 

Would love to get some feedback on this one.

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to