Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clickable thumbnail #106

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions geoportal/www/catalog/search/results.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -589,10 +589,14 @@ function rsGetQualityOfService() {

<% // Abstract and thumbnail %>
<h:panelGroup>
<%// Thumbnail can be clicked and will show at original size >
<h:outputLink title="" target="_blank" value="#{record.thumbnailLink.url}"
styleClass="reviewResult">
<h:graphicImage id="_imgRecordThumbnail"
alt="#{gptMsg['catalog.rest.thumbNail']}"
rendered="#{not empty record.thumbnailLink.url}"
value="#{record.thumbnailLink.url}" width="64" height="64" styleClass="resultsThumbnail" />
</h:outputLink>
<h:outputText id="_txtAbstract" styleClass="resultsContent" value="#{record['abstract']}" />
</h:panelGroup>

Expand Down