WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Thumbnail images have stopped working on multi-site (8 posts)

  1. eventindustrynews
    Member
    Posted 2 years ago #

    Hi Every one i am having an issue with WordPress multi-site that is boiling my brain its affecting both my top level site and sub domain sites

    I am using the latest version on WordPress and my theme uses a php file called timthumb.php to resize images uploaded in the post to display them on the main page as thumbnails

    Now this was working but now its stopped

    I have looked at my server files and timthumb is creating the thumbnails, but for some reason they cant be found

    here is my htaccess code, which checking other forums seems to be right

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    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]
    </IfModule>
    # END WordPress

    I have checked with my hosting and all permissions are set correctly on the server

  2. I have looked at my server files and timthumb is creating the thumbnails, but for some reason they cant be found

    Because TimThumb and Multisite don't get along.

  3. eventindustrynews
    Member
    Posted 2 years ago #

    Hi Ipstenu

    Tell me about it :)

    Do you know if there are any alternative options?

  4. Don't use TimThumb? Honestly, it depends WHY you're using it. I've never used it, and never needed it, so I don't understand the world's dependency on it. The normal WP media upload works for me.

  5. eventindustrynews
    Member
    Posted 2 years ago #

    Its built in to my theme to display thumbnails on the home page for posts

    are there alternative scripts that can be used or other ways to display thumbnails?

  6. Did you know that functionality was built in to WordPress itself? ANY theme can use the featured image in a post and display it on the front page.

    What theme this? I know that the WP theme repository no longer hosts anything with timthumb (and it would not shock me to learn that plugins will be next ...).

  7. eventindustrynews
    Member
    Posted 2 years ago #

    The theme is by solostream, took your advice and my friend who is a web developer at corporate web solutions removed it and used the in built WP functionality

    Thanks for your help!

  8. AlexBlink
    Member
    Posted 2 years ago #

    Hi, now am fix it.
    Following should be added to Start of script .htaccess files:

    SecFilterEngine Off
    SecFilterScanPOST Off
    # BEGIN WordPress

    Work's again.

    Best regards

Topic Closed

This topic has been closed to new replies.

About this Topic