• When looking at the single site Settings/Media menu, there are Image Sizes, Embed and Uploading files options. In multi-site, there is no Uploading files options. In my sites, this means all images are ‘attached’ to the post instead of embedded which is what I want.

    I can’t find anywhere in multi-site where you can turn the Uploading files area on and then set the uploads folder.

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

    (@ipstenu)

    ?????? Advisor and Activist

    The uploading files options in that area was only used for changing the location of the media storage. In MultiSite, it’s something you shouldn’t mess with if you’re not familiar with it.

    However. Go to yourdomain.com/wp-admin/network/settings.php and look for “Upload Settings” ?? Once you set those, you can upload images per normal.

    In my sites, this means all images are ‘attached’ to the post instead of embedded which is what I want.

    you can still embed an image in a post without it being attached to the post. It just means you’re linking to the picture.

    Thread Starter Dave Warner

    (@davidewarner)

    I did go to the Network Admin settings and set those up. They are correct. Andrea – The problem is – when you click on the Add an Image button (in multi site) and attempt to embed it, it makes it an attachment no matter what:

    <a href="https://www.vennervox.com/you-take-the-good-you-take-the-bad/jobless" rel="attachment wp-att-4121"><img class="aligncenter size-full wp-image-4121" src="https://www.vennervox.com/files/2011/07/JOBLESS.jpg" alt="" width="149" height="214" /></a>

    If I go to a site that is NOT multi-site and do the same thing, it embeds it properly:
    <a href="https://www.davidwarnerstudio.com/wordpress/wp-content/uploads/2011/07/IMG_6776-Edit_iPad.jpg"><img class="size-medium wp-image-1081 alignright" title="? David Warner Studio" src="https://www.davidwarnerstudio.com/wordpress/wp-content/uploads/2011/07/IMG_6776-Edit_iPad-300x160.jpg" alt="" width="300" height="160" /></a>

    Both images were imported exactly the same way, both (looking at the code) are inserted entirely different. I don’t want them as attachments – I wanted them embedded!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Those are both correctly ’embedded’ codes…

    If I go to https://www.vennervox.com/you-take-the-good-you-take-the-bad the image shows up.

    The only difference is the URL WP uses.

    Thread Starter Dave Warner

    (@davidewarner)

    The issue is, on one site, you use Fancy Box (for instance) and have the image pop up in a box. On the other (Venner Vox) that doesn’t work. Click on an image, takes you to a page with the image, which then asks you if you want to see it larger, which just puts it on a blank page. NOT what I want! ??

    rel=”attachment

    is that the bit you mean?

    Thread Starter Dave Warner

    (@davidewarner)

    Andrea – yes, and I’m not putting that in there manually, that’s just the way the system is doing it. I have about 20 different WP sites, two of them multi-sites with a few sites off of them. I’ve noticed that on all the multi-sites, they attach instead of embed and I’ve never noticed that before. I have looked everywhere and can’t figure out why? But, it does cause images to show differently as I mentioned to Ipstenu a minute ago.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s default WP behavior. Nothing’s wrong with what you’re seeing. If you want FancyBox, you have to install and configure it per site.

    "rel is an attribute of <link> and <a> elements, it is intended to provide navigation information to a conforming user agent. "

    It being mentioned in the url does not actually attach it to the post, as that is a slightly different behavior behind the scenes. There’s a flag in the db that gets set when an image is “attached” to the post and this is the same in multsite as single. There’s nothing in the code to do anything different.It

    The other thing you haven’t checked is plugins active on both sites.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Image embed versus image attachment’ is closed to new replies.