Candy Database · Documentation
img tag:
[img]_images/logo.png[/img]
[img height=64]_images/logo.png[/img]
[img width=50%]_images/logo.png[/img]- The folder of the page itself.
- The language folder.
- The version folder.
- The database folder.
res:// paths work as well. Put your images in a folder starting with _ (such as _images), so it is not taken for a category.
PNG, JPG, WebP and SVG files work. They can be anywhere in the database folder, even if Godot never imported them.
Size
An image keeps its own size, unless you give one: width= and height=, in pixels or as a percentage of the page (width=100%). An image wider than the page is shrunk to fit, so it never gets cut off.
What is refused
- Images from the internet (
http,https). A database can not fetch anything by itself. - Files outside the database folder.