Where should static files such as pictures and js in codeigniter be placed in the project?

if you want to develop a ci project, where do you put static files such as pictures, js, css, etc.
what should I do with url when accessing pictures? For example, if you put it in the asset directory at the level of index.php, the url for accessing the image is: hostname/asset/img/temp.jpg, where the asset in url is unnecessary, how to avoid this ugly url?

Jun.22,2022

is best placed on cdn alone. Don't put it with the web program. If you do not want to put it together, you can use the htaccess file to modify the url redirection, or use nginx to configure a separate secondary directory to use.

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-1b32c81-2b5bb.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-1b32c81-2b5bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?