画像を表示するために fancybox をインストールして使用し始めたばかりですが、縮小化で機能させるのに苦労しています。
まず、minify はと?v=2.1.5
を追加するときに を受け入れませんでした。css
js
現在、fancybox の画像が読み込まれていません。これは、何らかの理由 (私の推測: minify のせい) で、Web サーバーのルートでそれらを誤って探しているためです。
私のセットアップはこれです:
Root: http://localhost/arvores
Minify at: http://localhost/arvores/min
CSS files at: http://localhost/arvores/css
JS files at: http://localhost/arvores/js
ルート (/arvores) の .htaccess ファイルは次のとおりです。
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|robots\.txt|javascript|js|files|icons|images)
RewriteRule ^(.*)$ /arvores/index.php?/$1 [L]
Minify のグループ機能を使用しているため、すべてのファイルに次のようなものがロードされます。
<script type="text/javascript" src="http://localhost/arvores/min/g=image_view_js"></script>
<link rel="stylesheet" type="text/css" href="http://localhost/arvores/min/g=image_view_css"/>
問題は、Chrome が示すように、fancybox の画像を探していることです。http://localhost/css/whateverimg.gif
何か案は?