• Resolved ZachMatthews

    (@zachmatthews)


    This is apparently a fairly standard problem to have with a new multisite install, but I have read all the past posts and I can’t seem to figure it out.

    The parent install (itinerantangler.com/blog) works just fine.

    The child install (itinerantangler.com/blog/podcasts) is not showing images either in the media library or on the main site page. The media library is complete and copied over all the content from my /uploads/ directory.

    When I did the multisite, as instructed I created a /wp-content/blogs.dir/ directory, which has been populated with a /2/ subdirectory. You can access content directly from that directory: (https://www.itinerantangler.com/blog/wp-content/blogs.dir/2/files/2012/12/1.jpg).

    I’ve asked my host and my httpd.conf file is apparently set to AllowOverride ‘All’. I can’t verify that myself.

    Here’s my .htaccess file. I did the install in sub-directories, not sub-domains:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /blog/
    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).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress

    I would greatly appreciate any help.

    Thanks,
    Zach

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter ZachMatthews

    (@zachmatthews)

    With respect, the Theme I choose should have absolutely nothing to do with the issues I am seeing on the Administration pages involving the media library and the inability to set a feature image.

    The parent blog, which is the Photoblog page on the overall site, is working just fine. I can set a feature image, and that feature image shows up both as a small thumbnail on the individual post page and also as an actual featured image in the post as viewed by the public.

    In the child blog, which is the /podcasts/ page, I *cannot set a featured image* using the Administration page, regardless of how many times I select the image and regardless of whether I try to set it from the Gallery or from a URL link. It simply doesn’t show up on the Post page in the administration tools–instead I continue to have a ‘Set Featured Image’ link.

    Here are a couple screen grabs:

    https://www.itinerantangler.com/temp/medialibrary.png

    https://www.itinerantangler.com/temp/featureimage.png

    As you can see the thumbnails are grayed out in both. If I go to ‘rebuild thumbnails’ using either the Regenerate Thumbnails plug-in or the AJAX Thumbnail Rebuild plug-in, I get error messages saying the files can’t be found.

    I have confirmed that my server populated the files over, however, when I did the import. There are plenty of pictures in /blogs.dir/2/files/12/.. etc.

    What I think is happening is that somehow the Media Library in the child blog is unable to locate its image files despite having set the .htaccess correctly (as evidenced by the fact that I can now upload pictures to the Media Library, even though the thumbnails are not generated).

    So I am at my wits’ end here. I appreciate your help.

    Thread Starter ZachMatthews

    (@zachmatthews)

    Swapping to the 2011 theme does allow the individual posts to be displayed, *but they have always been displayed if you clicked through to each entry.* Twenty-Eleven doesn’t require featured images and frankly isn’t the blog I’m looking for.

    I swapped the child theme to Snapcase next, which is the theme running on the parent blog, and which relies on featured images (which incidentally work correctly on the parent blog). Unsurprisingly the Snapcase theme did not display any post content either, until you clicked through to the individual entries. In other words it behaved exactly like Pinboard, which is the theme I am trying to make work in the child.

    So the bottom line seems to be that the child blog is not allowing or recognizing feature images. If I can get the feature images function working in the child I anticipate being able to choose any theme I want.

    Thanks again,
    Zach

    Thread Starter ZachMatthews

    (@zachmatthews)

    Ok I just tried one more thing: I uploaded an image using the Media Gallery uploader rather than via the post function. This time it did generate a thumbnail and I was able to choose it (once the thumbnail was visible) as a feature image in a test post:

    https://www.itinerantangler.com/blog/podcasts/

    And it displays on the main gallery page in the proper Pinboard theme as a featured image is supposed to.

    Which leaves me I guess trying to figure out how to locate the missing image files in the Media Library. It looks like the importer populated it with all of the right images, but those images are not themselves being thumbnailed.

    I suppose I could go through all 200 of them…

    Thread Starter ZachMatthews

    (@zachmatthews)

    Looks like I am ok at this point. My thumbnails did not survive the import process but I am batch uploading all my old graphics into the Media Gallery and they are being processed as thumbnails, which allows me to set feature images. A little bit of tedium but well worth it at this point. I think the key must have been getting .htaccess set right, as you thought all along Ipstenu. Thanks again for your help.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    With respect, the Theme I choose should have absolutely nothing to do with the issues I am seeing on the Administration pages involving the media library and the inability to set a feature image.

    I have to point out this is incorrect. I totally get why you think that, but the sad fact is all themes are not created equally :/

    (Also 2011 totally supports featured images, as does 2010 and 2012.)

    Glad you got it working ??

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘No images in multisite’ is closed to new replies.