fixing nanogallery2 css import
This commit is contained in:
parent
3939cddf73
commit
436eca0797
|
@ -43,7 +43,7 @@ public class ImagesGallery {
|
||||||
.nanogallery2(
|
.nanogallery2(
|
||||||
{
|
{
|
||||||
thumbnailHeight : '200 XS150 SM150', // RESPONSIVE THUMBNAIL HEIGHT: default=200px, XS resolution=150px, SM resolution=150px
|
thumbnailHeight : '200 XS150 SM150', // RESPONSIVE THUMBNAIL HEIGHT: default=200px, XS resolution=150px, SM resolution=150px
|
||||||
thumbnailWidth : 'auto', // RESPONSIVE THUMBNAIL WIDTH: auto
|
thumbnailWidth : '218 XS150 SM150', // RESPONSIVE THUMBNAIL WIDTH: auto
|
||||||
thumbnailAlignment : 'left',
|
thumbnailAlignment : 'left',
|
||||||
thumbnailBorderHorizontal : 0,
|
thumbnailBorderHorizontal : 0,
|
||||||
thumbnailBorderVertical : 0,
|
thumbnailBorderVertical : 0,
|
||||||
|
@ -149,8 +149,8 @@ public class ImagesGallery {
|
||||||
for (String author : listAuthors) {
|
for (String author : listAuthors) {
|
||||||
txtAuthors+= " "+author +",";
|
txtAuthors+= " "+author +",";
|
||||||
}
|
}
|
||||||
String description = txtAuthors + ". ID Licenza: "+image.getLicenseID();
|
|
||||||
txtAuthors = txtAuthors.substring(0,txtAuthors.length()-2);
|
txtAuthors = txtAuthors.substring(0,txtAuthors.length()-2);
|
||||||
|
String description = txtAuthors + ". ID Licenza: "+image.getLicenseID();
|
||||||
json.put("title", new JSONString(image.getDidascalia()));
|
json.put("title", new JSONString(image.getDidascalia()));
|
||||||
json.put("description", new JSONString(description));
|
json.put("description", new JSONString(description));
|
||||||
json.put("downloadURL", new JSONString(imageContent.getLink()));
|
json.put("downloadURL", new JSONString(imageContent.getLink()));
|
||||||
|
|
|
@ -9,11 +9,6 @@
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
|
|
||||||
<!-- -->
|
|
||||||
<!-- Consider inlining CSS to reduce the number of requested files -->
|
|
||||||
<!-- -->
|
|
||||||
<link type="text/css" rel="stylesheet" href="GeoportalDataViewer.css">
|
|
||||||
|
|
||||||
<link
|
<link
|
||||||
href="//cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.4.3/css/ol.css"
|
href="//cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.4.3/css/ol.css"
|
||||||
rel="stylesheet" type="text/css">
|
rel="stylesheet" type="text/css">
|
||||||
|
@ -24,6 +19,11 @@
|
||||||
<link
|
<link
|
||||||
href="//cdnjs.cloudflare.com/ajax/libs/nanogallery2/3.0.5/css/nanogallery2.min.css"
|
href="//cdnjs.cloudflare.com/ajax/libs/nanogallery2/3.0.5/css/nanogallery2.min.css"
|
||||||
rel="stylesheet" type="text/css">
|
rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
<!-- -->
|
||||||
|
<!-- Consider inlining CSS to reduce the number of requested files -->
|
||||||
|
<!-- -->
|
||||||
|
<link type="text/css" rel="stylesheet" href="GeoportalDataViewer.css">
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- Any title is fine -->
|
<!-- Any title is fine -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
src="//cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.4.3/build/ol.js"
|
src="//cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.4.3/build/ol.js"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
|
|
||||||
|
<link
|
||||||
|
href="//cdnjs.cloudflare.com/ajax/libs/nanogallery2/3.0.5/css/nanogallery2.min.css"
|
||||||
|
rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="<%=request.getContextPath()%>/GeoportalDataViewer.css"
|
href="<%=request.getContextPath()%>/GeoportalDataViewer.css"
|
||||||
type="text/css">
|
type="text/css">
|
||||||
|
@ -29,8 +33,5 @@
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="<%=request.getContextPath()%>/GeoportalDataViewer/GeoportalDataViewer.nocache.js"></script>
|
src="<%=request.getContextPath()%>/GeoportalDataViewer/GeoportalDataViewer.nocache.js"></script>
|
||||||
|
|
||||||
<link
|
|
||||||
href="cdnjs.cloudflare.com/ajax/libs/nanogallery2/3.0.5/css/nanogallery2.min.css"
|
|
||||||
rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<div id="geoportal-data-viewer"></div>
|
<div id="geoportal-data-viewer"></div>
|
Loading…
Reference in New Issue