Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(geomap): document the image size limits of an image map
Elian Doran116acf3cde46
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Image maps.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Image maps.htmlindex fdbc9b2b00..358032e8c0 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Image maps.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Collections/Geo Map/Image maps.html@@ -15,12 +15,23 @@</ol><p>The map then shows the image instead of the world map and opens with thewhole image in view. To go back to a world map, remove the relation.</p>-<aside-class="admonition note">- <p>The image is drawn as a single picture, so very large images can fail- to display on devices whose graphics card cannot hold them. Images up to- 4096 pixels on their longer side are safe on practically every device.</p>-</aside>+<h2>Image size</h2>+<p>Images are resized when they are uploaded, so by default the image of+ a map is at most 2000 pixels on its longer side, which can be too coarse+ for a detailed map. To keep an image at a higher resolution, do one of+ the following before uploading it:</p>+<ul>+ <li>In <a class="reference-link" href="#root/_help_4TIF1oA4VQRO">Options</a> → <em>Media</em>,+ raise <em>Max image dimensions</em> or turn off <em>Automatically compress images</em>.</li>+ <li>Upload it through the <em>Import</em> dialog with <em>Compress images</em> unchecked.</li>+</ul>+<p>An image that was already uploaded keeps its size; upload it again after+ changing the settings.</p>+<p>The image is drawn as a single picture by the graphics card, which limits+ how large it can be. Images up to 4096 pixels on their longer side are+ safe on practically every device, and most computers handle up to 16384+ pixels. On a device whose graphics card cannot hold the image, the markers+ and shapes still appear but the image itself does not.</p><h2>Interaction</h2><p>Adding, moving and removing markers, drawing shapes, the popup view andthe contextual menu work as described for the <a class="reference-link"diff --git a/docs/User Guide/User Guide/Collections/Geo Map/Image maps.md b/docs/User Guide/User Guide/Collections/Geo Map/Image maps.mdindex 5bdbce447c..d72944b9bf 100644--- a/docs/User Guide/User Guide/Collections/Geo Map/Image maps.md+++ b/docs/User Guide/User Guide/Collections/Geo Map/Image maps.md@@ -9,8 +9,16 @@ An image map is a geo map drawn over an image of your own instead of a world mapThe map then shows the image instead of the world map and opens with the whole image in view. To go back to a world map, remove the relation.-> [!NOTE]-> The image is drawn as a single picture, so very large images can fail to display on devices whose graphics card cannot hold them. Images up to 4096 pixels on their longer side are safe on practically every device.+## Image size++Images are resized when they are uploaded, so by default the image of a map is at most 2000 pixels on its longer side, which can be too coarse for a detailed map. To keep an image at a higher resolution, do one of the following before uploading it:++* In <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Options.md">Options</a> → _Media_, raise _Max image dimensions_ or turn off _Automatically compress images_.+* Upload it through the _Import_ dialog with _Compress images_ unchecked.++An image that was already uploaded keeps its size; upload it again after changing the settings.++The image is drawn as a single picture by the graphics card, which limits how large it can be. Images up to 4096 pixels on their longer side are safe on practically every device, and most computers handle up to 16384 pixels. On a device whose graphics card cannot hold the image, the markers and shapes still appear but the image itself does not.## Interaction