<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi Michael,</p>
<p>Well, you could try the "Layer Tree Image Legend Widget" plugin
available from (1).<br>
Basically if you have an image (png or jpg) of the raster 'date'
you can display it in the layer legend.<br>
Note that with QGIS 3.18, the "<i>huge useless R G B legend</i>"
is still displayed...</p>
<p>Regards,<br>
Benoit<br>
</p>
<p>(1) <a class="moz-txt-link-freetext" href="https://github.com/BC-Consulting/image_legend_widget">https://github.com/BC-Consulting/image_legend_widget</a></p>
<p>P.S. This is a plugin I've created.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 25/05/2021 15:22, Michael Dufty
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MEYPR01MB71673D8F4FB6A19F4567F31B9C259@MEYPR01MB7167.ausprd01.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@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;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Has anyone got a good solution to display
aerial photo dates in the legend?<o:p></o:p></p>
<p class="MsoNormal">I can change the name of the layer, but
then it displays a huge useless R G B legend. Is there any
way to turn this off? Setting the patch size to 0 doesn’t
seem to be possible for local images, although it does work
for WMS layers.<o:p></o:p></p>
<p class="MsoNormal">Alternatively is there a way to just put a
manual line of text in the legend, other than with dummy
layers/groups?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span
style="color:#1F497D;mso-fareast-language:EN-GB">Michael
Dufty</span></b><span
style="color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
</body>
</html>