[EP-tech] Re: thumbnails

Derek Lawrie d.lawrie at nua.ac.uk
Tue Oct 15 10:57:11 BST 2013


I don't understand how the alternative URL gives me different image types?
I've already edited summary_page.xml to output slightly different content,
but what I want to do is to change:

<epc:print expr="$doc.icon('HoverPreview','noNewWindow')}" />

To actually just print out an image tag with my selected image size (I've
already got it generating some custom image sizes)

I would assume that would go something like:

<epc:print expr="$doc.icon('myCustomSize')}" />

But obviously I have no real idea what the syntax would be.

Thanks
Derek





From:  Sebastien Francois <sf2 at ecs.soton.ac.uk>
Reply-To:  Eprints <eprints-tech at ecs.soton.ac.uk>
Date:  Monday, October 14, 2013 4:46 PM
To:  Eprints <eprints-tech at ecs.soton.ac.uk>
Subject:  [EP-tech] Re: thumbnails


Hi,

You can by editing archives/<id>/cfg/citations/eprint/summary_page.xml

Look where the documents/thumbnails are rendered and replace with your
code. You should be able to use the document's "alternative" URL
(your-repo-url.com/id/document/{docid})

Seb

On 14/10/13 15:53, Derek Lawrie wrote:




Hi,
When viewing the abstract is it possible to output the actual image
instead of the thumbnail?
I don't want to use the lightbox effect to get the lrger version, just the
image that it's using.
Thanks

Derek Lawrie
Web Developer and Administrator
T: 01603 751498 | Ext: 6498
W: www.nua.ac.uk <http://www.nua.ac.uk> <http://www.nuca.ac.uk/>
<http://www.nuca.ac.uk/>




Norwich University of the Arts, Francis House, 3-7 Redwell Street,
Norwich, NR2 4SN

Rated top Specialist Arts Institution in the UK (National Student Survey
2013) and best Specialist Institution in Art and Design (Complete
University
 Guide 2014) 

Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late
or incomplete, or contain viruses.
 Therefore, we do not accept responsibility for any errors or omissions
that are present in this message, or any attachment, that have arisen as a
result of e-mail transmission. If verification is required, please request
a hard-copy version. Any views or opinions
 presented are solely those of the author and do not necessarily represent
those of the University.


This email and any files sent with it are intended only for the named
recipient and may be confidential. If you are not the named recipient
please email the sender immediately then delete this message. You should
not disclose the content, distribute or retain
 any copies of this message.


Norwich University of the Arts,
Francis House,
3-7 Redwell Street,
Norwich, NR2 4SN.
Tel: 01603 610561
Fax: 01603 615728
www.nua.ac.uk <http://www.nua.ac.uk>

NUA Business Limited
Registered office:
Francis House,
3-7 Redwell Street,
Norwich, NR2 4SN.
Registered in England & Wales number 3001912


 
*** 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/
Rated top Specialist Arts Institution in the UK (National Student Survey 2013) and best Specialist Institution in Art and Design (Complete University Guide 2014)


Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the University.

This email and any files sent with it are intended only for the named recipient and may be confidential. If you are not the named recipient please email the sender immediately then delete this message. You should not disclose the content, distribute or retain any copies of this message.


Norwich University of the Arts, Francis House, 3-7 Redwell Street, Norwich, NR2 4SN.  
Tel: 01603 610561
Fax: 01603 615728
www.nua.ac.uk

NUA Business Limited
Registered office:
Francis House,
3-7 Redwell Street, 
Norwich, NR2 4SN.
Registered in England & Wales number 3001912


Please consider your environmental responsibility before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20131015/ae987cf9/attachment-0001.html 


More information about the Eprints-tech mailing list