Support » Networking WordPress » Images loaded ok to server, but images aren't displayed

  • Hi,

    I know this is an issue that has gotten a lot of attention here in forum. Nevertheless, I haven’t found solution to my problem.

    First of all my setup:
    – WordPress 3.0.1
    – IIS 6
    – Windows Server 2003
    – Multisite feature enabled
    – .htaccess done as explained in here
    – copied the .htaccess settings from (Tools -> Network screen) to .htaccess file in the root of my wordpress site
    – multisite done as subdirectories (not subdomains)
    – I have enabled the image (media) upload

    And the problem:

    Uploading images on the mainblog works fine and in subblogs images are uploaded to correct place on the server but none of the images are displayed neither in the Media library or in posts where images are used. Uploaded images are displayed as broken images in the media library and the posts.

    Upload Path is ‘wp-content/blogs.dir/2/files’
    Fileupload Url is ‘http://intra/wordpress/myotherblog/files’

    If uploaded image is used in a post, the img’s src is:
    which doesn’t work. If the src is:
    image is displayed.

    Any ideas what might cause problem? I’m guessing that this has something to do with the htaccess and uploaded files rewrite rule? Any help would be appreciated! I did go through the forum posts but nothing seems to help… Just let me know if I can provide more information to solve this problem.

    .htaccess file contains the following:

    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Images loaded ok to server, but images aren't displayed’ is closed to new replies.