/ Published in: PHP
If you keep all image files to be displayed in a directory this could be a quicker and simplier way to write the proper tag
Expand |
Embed | Plain Text
<?php function image($file){ return; } /* EXAMPLE: <?php image('my-hd-wallpaper.png'); ?> PRODUCES: <img src="./folder/my-hd-wallpaper.png" alt="my hd wallpaper" width="XXX" height="XXX"> */ ?>
You need to login to post a comment.
