Skip to content

Commit a90092c

Browse files
committed
added a note about the images in the toolbar
1 parent f9ae4e9 commit a90092c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

guides/internals/profiler.rst

+7
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,13 @@ profiler.
448448

449449
All blocks have access to the ``collector`` object.
450450

451+
.. tip::
452+
453+
Built-in templates use a base64 encoded image for the toolbar (``<img
454+
src="src="data:image/png;base64,..."``). You can easily calculate the
455+
base64 value for an image with this little script: ``echo
456+
base64_encode(file_get_contents($_SERVER['argv'][1]));``.
457+
451458
To enable the template, add a ``template`` attribute to the ``data_collector``
452459
tag in your configuration:
453460

0 commit comments

Comments
 (0)