EPrints Technical Mailing List Archive

Message: #05815


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Citations and covers


Hi eprinters,

I am uploading audio to my repository as eprints. Each eprints comes with 2 documents:
1) the audio file, content: original
2) the cover, content: cover

then in my summary, I have:

<epc:set name='docs' expr='$item.original_documents()'>
                    <!--<epc:set name='docs' expr='$item.documents()'>-->
                    <epc:if test="length($docs) gt 0">
                        <epc:foreach expr="$docs" iterator="doc" limit="1">
                            <div id="summary_downloads" class="summary-widget">
                                <epc:choose>
.....
                                <epc:when test="$doc.thumbnail_url('audio_mp4').is_set()">
                                        <audio controls="">
                                            <source src="" type="audio/mp4" />
                                            <source src="" type="audio/ogg" />
                                            <p class="vjs-no-js">
                                                <epc:phrase ref='summary_page:vjs-no-js' />
                                            </p>
                                        </audio>
                                    </epc:when>

which is working fine, but I would like to show the cover image with the audio. How can I access it?

Best regards,
Denis