The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to Dedicate One Subdirectory for Images? (4 posts)

  1. ithacaindy
    Posted 4 years ago #

    This question has likely been answered. I want to create an images.mydomain.com. Then all of my sites would use that master directory to pull images. How can this be enabled?


  2. Not easily. And with a lot of custom work. What you need to do is:

    Write a plugin that....
    1) seamlessly redirects uploaded images to images.mydomain.com
    2) in such a way as if blog1 and blog2 upload the same image name, it doesn't get over-written
    3) and has an interface so all sites can go there instead of the normal media tab

    And it goes on from there.

    On the other hand. If you just want to have some shared images (and I really do mean 'some'), your best bet is to do it manually and then just manually link up.

  3. ithacaindy
    Posted 4 years ago #

    Thanks. My understanding is that a central image subdirectory is easier with WordPress, rather than WordPress MultiSite, due to the gymnastics MS goes through with virtual sites and urls. Until I map out a plan to convert to the single site version of WordPress, I'll just copy-and-paste the image URLs.

  4. It's six of one, half a dozen of the other.

    Multisite separates all your media because all your sites are separate. That's all. Easier is subjective :)

Topic Closed

This topic has been closed to new replies.

About this Topic