EPrints Technical Mailing List Archive
Message: #00638
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: question thumbmails/icons
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: question thumbmails/icons
- From: Ulf Laube <ulf.laube@ontochem.com>
- Date: Fri, 25 May 2012 15:24:20 +0200
Hi Tim, it works fine. Thank you! Is there a generally way to open links like http://eprints/9/4/bla.jpg , Official URL, Related URLs with _blank in a new tab? best regards Ulf Am Freitag 25 Mai 2012 13:14:17 schrieb Tim Brody: > On Thu, 24 May 2012 10:37:42 +0200, Ulf Laube <ulf.laube@ontochem.com> > > wrote: > > Hi all, > > > > we are adding docs onto an Eprints on follow way: > > > > $doc_file_name = basename( $doc_file ); > > $doc = EPrints::DataObj::Document::create( $ep_session, $eprint > > ); > > > $doc->set_value( "format", "image/jpeg" ); > > $doc->add_file( $doc_file, "$doc_file_name" ); > > $doc->set_value( "main", $doc_file_name ); > > $doc->commit; > > > > Try to creating a thumbnail > > > > $doc->render_icon_link( %ep_doc_render_icon_link_opts ); > > $doc->render_preview_link(); > > > > with my %ep_doc_render_icon_link_opts = ( > > new_window => 0, > > preview => 1, > > public => 1, > > ); > > > > has no effect (no lightbox). > > > > Any Ideas? > > Thumbnails are generated on-demand by the indexer. If you want to perform a > manual thumbnails generation you will need to do: > > $doc->make_thumbnails(); > > (render* are just generating links to existing thumbnails) -- OntoChem GmbH Heinrich-Damerow-Str. 4 06120 Halle (Saale) Germany Tel. +49-345-478047-4 Fax: +49-345-478047-1 HRB 215461 Amtsgericht Stendal; USt-IdNr.: DE246232735
- References:
- [EP-tech] question thumbmails/icons
- From: Ulf Laube <ulf.laube@ontochem.com>
- [EP-tech] Re: question thumbmails/icons
- From: Tim Brody <tdb2@ecs.soton.ac.uk>
- [EP-tech] question thumbmails/icons
- Prev by Date: [EP-tech] Re: Changing the pagerange display "pp."
- Next by Date: [EP-tech] Re: Connecting to generated MySQL databases & searching by divisions with EPrints API
- Previous by thread: [EP-tech] Re: question thumbmails/icons
- Next by thread: [EP-tech] Unicode characters rendering in IE
- Index(es):