[EP-tech] Re: Thumbnail previews on "Browse by Type"
Field A.N.
af05v at ecs.soton.ac.uk
Thu Jan 22 10:43:19 GMT 2015
Hi Jacob
Browse views can be very flexible if you write your own render functions. Have a look in cfg.d/views_render_items_example.pl in your repository's configuration.
...here's one I made earlier: http://langsnap.soton.ac.uk/view/participant/french/105.html -- the function is here: https://github.com/gobfrey/langsnap_eprints/blob/master/eprints_config/cfg.d/z_langsnap.pl (function on line 178, configuration on line 172). No thumbnails, but they've been laid out in a table with lots of metadata showing and links to all downloadable documents.
For a more complex example of customised browse views, see http://refrain.ac.uk/view/abstract_item/ (code available here: https://github.com/gobfrey/medmus/blob/master/eprints_config/cfg.d/zz_medieval_music_views.pl )
--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
On 22 Jan 2015, at 10:12, Jacob Wenzel wrote:
> Hi everyone.
>
> I've have a custom view on my clients repository, where the users are
> able to browse by type of Eprint.
>
> My client would now like to have thumbnail previews on the "Browse by
> Type --> Video" page. Is that a possibility?
>
> Thank you in advance!
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
More information about the Eprints-tech
mailing list