顯示圖像我要顯示的圖像格式視圖如何笨
<img src="<?php echo base_url('images/login.jpg'); ?> " width="90" height="40" />
但它不工作。 當我寫
<img src="images/login.jpg " width="90" height="40" />
它顯示了瀏覽器,但不顯示在本地主機
是否在我的.htaccess中的問題
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /helloworld/
# Disable rewrite for valid directory/files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#map all request urls to a specific controller method
RewriteRule ^(.*)$ index.php?/{controller}/{method}/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
請人幫我
它不起作用?它根本不顯示?你得到的任何錯誤? – Sina
通過檢查元素檢查圖像是否正在加載 –
它正在加載但圖像不顯示 –