You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allows use of img tags in HTML label content. The following logic is applied:
Image path is set via the src="xxx" attribute. Local, HTTP, and base64 encoded paths are permitted
Any image format readable by QGIS can be used
Image sizes can be specified via the width="##" and height="##" attributes. If width or height is not specified it will automatically be calculated from the original image size
If width or height are specified, they are considered to be in POINTS
The css width/height settings are NOT respected (this is a Qt limitation)
Images are not supported for curved text labels
Images are placed inline only, floating images are not supported
Sponsored by City of Freiburg im Breisgau
Commits tagged with [need-docs] or [FEATURE]
"[feature] Support img tags in HTML label text\n\nAllows use of img tags in HTML label content. The following logic\nis applied:\n\n- Image path is set via the src="xxx" attribute. Local, HTTP, and\nbase64 encoded paths are permitted\n- Any image format readable by QGIS can be used\n- Image sizes can be specified via the width="##" and height="##"\nattributes. If width or height is not specified it will automatically\nbe calculated from the original image size\n- If width or height are specified, they are considered to be\nin POINTS\n- The css width/height settings are NOT respected (this is a Qt\nlimitation)\n- Images are not supported for curved text labels\n- Images are placed inline only, floating images are not supported\n\nSponsored by City of Freiburg im Breisgau"
The text was updated successfully, but these errors were encountered:
Request for documentation
From pull request qgis/QGIS#58716
Author: @nyalldawson
QGIS version: 3.40
Support img tags in HTML label text
PR Description:
Allows use of img tags in HTML label content. The following logic is applied:
Sponsored by City of Freiburg im Breisgau
Commits tagged with [need-docs] or [FEATURE]
"[feature] Support img tags in HTML label text\n\nAllows use of img tags in HTML label content. The following logic\nis applied:\n\n- Image path is set via the src="xxx" attribute. Local, HTTP, and\nbase64 encoded paths are permitted\n- Any image format readable by QGIS can be used\n- Image sizes can be specified via the width="##" and height="##"\nattributes. If width or height is not specified it will automatically\nbe calculated from the original image size\n- If width or height are specified, they are considered to be\nin POINTS\n- The css width/height settings are NOT respected (this is a Qt\nlimitation)\n- Images are not supported for curved text labels\n- Images are placed inline only, floating images are not supported\n\nSponsored by City of Freiburg im Breisgau"
The text was updated successfully, but these errors were encountered: