مشکل در لود عکس ها

[right]سلام بچه ها شدیدا به کمکتون نیاز دارم

من سایت آپلود کردم عکس ها هم هست مسیرسون هم درسته ولی لود نمیشن دلیلش چیه؟؟

وقتی هم که مثلا میزینم test.ir/images/top.png مینویسه

Error 404

Unable to resolve the request "images/fabric8.jpg".

کمک کنید فکر کنم مشکلم توی .htaccess هست[/right]




#use char-set in your .htaccess to have a better y-slow grade

IndexOptions +Charset=UTF-8


IndexIgnore */*

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php


#enable gzip

<IfModule mod_deflate.c>

AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript

BrowserMatch ^Mozilla/4 gzip-only-text/html

BrowserMatch ^Mozilla/4.0[678] no-gzip

BrowserMatch bMSIE !no-gzip !gzip-only-text/html

Header append Vary User-Agent

</IfModule>


<IfModule mod_headers.c>

  <FilesMatch "\.(js|css|xml|gz)$">

    Header append Vary: Accept-Encoding

  </FilesMatch>

</IfModule>


#enable caching 

<ifModule mod_expires.c>

  <filesmatch ".(ico|flv|jpg|jpeg|png|gif|js|css|swf)$">

       ExpiresActive on

       ExpiresDefault "access plus 1 year"

   </filesmatch>

</ifModule>


FileETag none



در آدرس دهی عکس ها و فایل ها می تونید از روش زیر استفاده کنید

<?php echo Yii::app()->baseUrl; ?>/images/x.jpg

مشکلتون حل میشه