WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite alternative uploads folder doesn't generate thumbnails (5 posts)

  1. staffan.estberg
    Member
    Posted 1 year ago #

    For a WP multisite that I'm working on I have an alternative uploads folder called "uploads-blog". Since upgrading to WP 3.5 I can't seem to get WP to generate thumbnails for the uploaded images in that folder any longer. Whenever I upload a new image to the alternative site only the original image is uploaded. The base site, which uses the regular uploads folder, works. Is there a setting or a function that I am missing in order to get this to work with the new version of WP?
    Currently running version 3.5.1.

    In .htaccess -

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    In functions.php (for the alternative site's theme) -

    add_theme_support( 'post-thumbnails' );
    add_image_size( 'default', 610, 999 );

    Edit: I've noticed that WP now uses the Files folder for alternative uploads instead of my custom folder. While this works (no broken images) it still doesn't generate any thumbnails for them.

  2. How did you change the uploads folder in the first place?

  3. staffan.estberg
    Member
    Posted 1 year ago #

    Through Network Admin > Sites > [Site] > Settings. There are two field to declare there, "Upload Path" and "Fileupload Url".

  4. Do you have AllowOverride set to ALL in your httpd.conf?

  5. staffan.estberg
    Member
    Posted 1 year ago #

    Ipstenu, sorry for the late reply. I checked the config file and AllowOverride was set to ALL. My colleague managed to solve the issue by reinstalling WP from the latest version, not upgrading, and setting up a new multi-site installation. Seems this might be a migration issue from WP3+ to 3.5 and above.

Topic Closed

This topic has been closed to new replies.

About this Topic