LEOXINGU / lftools

Tools for cartographic production, surveying, digital image processing and spatial analysis.
MIT License
52 stars 7 forks source link

Tooltip missing image with distant pictures on a network folder #6

Closed Fabien98 closed 1 year ago

Fabien98 commented 2 years ago

First, thanks for this wonderful and multifonction plugin!

With the Reambulation/Photos with geotag tool It seems that when you process pictures on a networked Windows drive, the tooltip is not rendered. No problem when the folder is on a local drive.

Example When the picture folder is located on \\ZZZ356FA11\folder\PictureFolder\ then in the tooltip properties <img src="file:///[%path%]" width="450"> is not rendered on map

It seems like a QGIS bug and not specifically a plugin bug but do you have any hints in tooltip redaction to make this working even on networked drive? (and making this function more resilient?)

Fabien98 commented 1 year ago

I finally found the correct syntax with the image in tooltip..

<img src="file:///[%path%]" width="450">

<img src="file://[%path%]" width="450">

I close the issue

LEOXINGU commented 1 year ago

@Fabien98 , thank you for the tip! I implemented an improvement in the LFTools code and it is now working for both cases.