• Resolved staffan.estberg

    (@staffanestberg)


    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

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

    Thread Starter staffan.estberg

    (@staffanestberg)

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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

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

    Thread Starter staffan.estberg

    (@staffanestberg)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multisite alternative uploads folder doesn't generate thumbnails’ is closed to new replies.