<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.gmail-pl-v
{mso-style-name:gmail-pl-v;}
span.gmail-pl-c1
{mso-style-name:gmail-pl-c1;}
span.gmail-pl-s
{mso-style-name:gmail-pl-s;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:241108691;
mso-list-type:hybrid;
mso-list-template-ids:259276262 -1 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:\F06E;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi everyone,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is probably out of topic, but still related with the thumbnail.</p><p class=MsoNormal>I tried this and I noticed that the thumbnail generated when I first upload the layer is different then when I click Set Thumbnail from layer editing page.</p><p class=MsoNormal>In addition to the different thumbnail size/quality, the thumbnail from “Set Thumbnail” button have basemap. </p><p class=MsoNormal>While the thumbnail from upload layer page is just using a white background.<br>I tried to track the code, but it seems to be using the same function, though.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Regards,</p><p class=MsoNormal>-- </p><p class=MsoNormal>Rizky Maulana Nugraha</p><p class=MsoNormal>rizky@kartoza.com</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:paolo.pasquali@gmail.com">Paolo Pasquali</a><br><b>Sent: </b>Friday, June 19, 2020 2:24 PM<br><b>To: </b><a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel</a><br><b>Subject: </b>Re: [GeoNode-devel] Thumbnail quality</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Dear devs,</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Just for the record. It is not a matter of quality but size. The thumbnail size can be changed in the settings with:</p></div><div><p class=MsoNormal><span class=gmail-pl-v><span style='font-size:9.0pt;font-family:Consolas;color:#E36209;background:#FFFBDD'>THUMBNAIL_GENERATOR_DEFAULT_SIZE</span></span><span style='font-size:9.0pt;font-family:Consolas;color:#24292E;background:#FFFBDD'> </span><span class=gmail-pl-c1><span style='font-size:9.0pt;font-family:Consolas;color:#005CC5;background:#FFFBDD'>=</span></span><span style='font-size:9.0pt;font-family:Consolas;color:#24292E;background:#FFFBDD'> {</span><span class=gmail-pl-s><span style='font-size:9.0pt;font-family:Consolas;color:#032F62;background:#FFFBDD'>'width'</span></span><span style='font-size:9.0pt;font-family:Consolas;color:#24292E;background:#FFFBDD'>: </span><span class=gmail-pl-c1><span style='font-size:9.0pt;font-family:Consolas;color:#005CC5;background:#FFFBDD'>240</span></span><span style='font-size:9.0pt;font-family:Consolas;color:#24292E;background:#FFFBDD'>, </span><span class=gmail-pl-s><span style='font-size:9.0pt;font-family:Consolas;color:#032F62;background:#FFFBDD'>'height'</span></span><span style='font-size:9.0pt;font-family:Consolas;color:#24292E;background:#FFFBDD'>: </span><span class=gmail-pl-c1><span style='font-size:9.0pt;font-family:Consolas;color:#005CC5;background:#FFFBDD'>200</span></span><span style='font-size:9.0pt;font-family:Consolas;color:#24292E;background:#FFFBDD'>}</span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cool. Thank you devs.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ciao,</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Paolo</p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, Jun 11, 2020 at 3:09 PM Paolo Pasquali <<a href="mailto:paolo.pasquali@gmail.com">paolo.pasquali@gmail.com</a>> wrote:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=MsoNormal>Dear devs,</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I've seen that the thumbnail generation has been changed (<a href="https://github.com/GeoNode/geonode/issues/4881" target="_blank">https://github.com/GeoNode/geonode/issues/4881</a>).</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>It looks like the jpeg compression is quite high and imho this affects the image quality. Is there a way to improve it or maybe change the thumbnail format to png?</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thanks!</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ciao</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>P.</p></div></div></div></blockquote></div><p class=MsoNormal style='margin-left:4.8pt'><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>