mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Update templates.rst
This commit is contained in:
parent
339928f325
commit
cbad43abfa
@ -64,5 +64,5 @@ To generate links to images use the **imagePath** function:
|
||||
|
||||
.. code-block:: php
|
||||
|
||||
<img src="<?php\OCP\Util::imagePath('myapp', 'app.png'); // img/app.png?> />
|
||||
<img src="<?php print_unescaped(image_path('myapp', 'app.png')); // img/app.png?> />
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user