jquery-file-viewer: An extensive jQuery Plugin for rendering files An extensive jQuery Plugin for rendering files Basic Usage Declare a div target <div id=”foo” data-file-name=”myFile.jpg” data-file-path=”contentmyfile.jpg” data-file-contenttype=”image/jpg”></div> Enter fullscreen mode Exit fullscreen mode $(‘#foo’).fileViewer(); Enter fullscreen mode Exit fullscreen mode It is also possible to instantiate with many divs. <div class=”bar” data-file-name=”myFile.jpg” data-file-path=”contentmyfile.jpg” data-file-contenttype=”image/jpg”></div> <div class=”bar”…

Read More