How to introduce Pictures in TP5 View

for example, in the root directory of the project, there is a head directory where there is a 1.jpg picture. I want to use this picture in the view, so how do I write the src path of the img tag?

Jul.13,2021

there are several methods under the root directory:

1,

<img src="/head/1.jpg" />

2,

<img src="http:///head/1.jpg" />

amount, directly / head/1.jpg


MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36ae6-2c03a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36ae6-2c03a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?