User Tools

Site Tools


sharing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sharing [2021/06/15 14:01]
yves created
sharing [2021/06/15 17:44] (current)
yves
Line 1: Line 1:
 ====== Content sharing ====== ====== Content sharing ======
  
 +PMA.slidebox is great for setting up public collections that are relatively static, but occasionally you want to send just one case or one slide out for review, or as a reference to somebody.
  
 +This is where //Content sharing// comes in handy.
 +
 +{{ ::​slidebox_content_sharing.png?​200 |}}
 +
 +Provided you want to share select content from your already [[:​collections|defined collections]],​ you can choose any slide or any case, and copy the relevant source code directly into your own placeholders.
 +
 +{{ ::​slidebox_share_slide.png?​400 |}}
 +
 +We provide various examples of what you can share and how you can embed content:
 +
 +  * Choose to either embed live slide views or static thumbnails, by referring either to ''​thumb.php''​ or ''​slide.php''​
 +  * If you only want to add the occasional live slide view to a snippet of HTML code, use the embed code. It automatically wraps the correct ''<​iframe>''​ code around the abovementioned ''​slide.php''​ for quick and easy website integration. However: be aware that for systematic inclusion of slide content in [[https://​www.pathomation.com/​plugins#​cms|Content Management Systems (CMS)]] or [[https://​www.pathomation.com/​plugins#​lms|Learning Management Systems (LMS)]], we offer better ways through [[https://​www.pathomation.plugins|a variety of plugins]]. ​
 +  * Last but not least, if you want to build powerful digital pathology interfaces yourself, you probably don't want to use the iframe-technique. It doesn'​t scale well, and can even be prohibited for security reasons like XSS or MITM risks. ​
 +  * For the highest level and most flexible level of integration therefore, we provide JavaScript code snippets that rely on ''<​div>''​ placeholders. If you don't know what CSS or JavaScript is, this isn't for you. But if you do: this is your place to start. The snippets offered are boilerplate code based on our [[https://​www.pathomation.com/​developers/#​js|PMA.UI framework]]. Have a look at [[https://​www.pathomation.com/​dev|our developer portal]] to learn more about the most powerful digital pathology slide visualization framework out there!
 +
 +You can both embed cases and individual slides. For cases, the thumbnail URL is now shown. But when you link to a case via our default ''​case.php''​ script, you will be presented with a ([[https://​www.pathomation.com/​developers/#​js|PMA.UI]]) thumbnail gallery to select your slide from.
 +
 +{{ ::​slidebox_share_case.png?​400 |}}
sharing.1623754917.txt.gz ยท Last modified: 2021/06/15 14:01 by yves