mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-31 14:18:41 +07:00
Update templates.rst
This commit is contained in:
@@ -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?> />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user