Title: Image handling
Last modified: August 22, 2016

---

# Image handling

 *  [cvc1968](https://wordpress.org/support/users/cvc1968/)
 * (@cvc1968)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-handling-2/)
 * I’m a bit confused about image handling. I’m not sure if what I’m seeing is the
   way it SHOULD be or if its a bug.
    I’m broadcasting from siteA.com to siteB.com.
   The post I’m broadcasting has an image placed using WPs default Add Media button.
   Here is the example code from the post on site1.com: `[caption id="attachment_3911"
   align="alignleft" width="1313"]<img class="size-full wp-image-3911" src="http://
   siteA.com/wp-content/uploads/sites/2/2013/02/Square-Dancers.jpg" alt="Dancers
   Rehearse" width="1313" height="875" /> Dancers Rehearse[/caption]`
 * After broadcasting, here is the same code as it appears on siteB.com:
    `[caption
   id="attachment_3998" align="alignleft" width="1313"]<img class="size-full wp-
   image-3911" src="http://siteA.com/wp-content/uploads/sites/2/2013/02/Square-Dancers.
   jpg" alt="Dancers Rehearse" width="1313" height="875" /> Dancers Rehearse[/caption]`
 * Now siteB.com has an entry in the Media library (ID 3998) which lists the file
   URL for this file as:
    `http://siteB.com/wp-content/uploads/2014/10/Square-Dancers.
   jpg` but its displaying a broken image icon because Square-Dancers.jpg does not
   exist in that location within siteB.com’s uploads folder. I can’t find it anywhere
   in siteB.
 * The image in the broadcasted post is still displaying properly, because it is
   still linking to the image on siteA.com.
 * So my question is, what is supposed to happen that isn’t? Either:
    A. the image
   is supposed to be getting copied to siteB in the location listed in the file 
   url field in the Media Library entry. AND the url in the post should be changed
   to that url as well. B. The media library entry should be keeping the file url
   the pointing to the file on siteA, so that it doesn’t appear to have a broken
   image link. C. There shouldn’t be a media library entry created at all.
 * I feel that something isn’t working as intended, but I’m not certain what’s intended.
   I can live with the result for now, since my images are appearing in the siteB
   posts (linked to the images stored on siteA), but I don’t like having those broken
   images showing up in siteB’s media library.
 * Any ideas?
 * [https://wordpress.org/plugins/threewp-broadcast/](https://wordpress.org/plugins/threewp-broadcast/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-handling-2/#post-5421931)
 * To answer your question:
 * The image should exist on siteB.
 * If it doesn’t exist there then something went wrong. A debug dump might tell 
   us what didn’t work.
 * The img tag src property is not automatically modified. If you have used a gallery
   shortcode the media on siteB would be automatically referenced.
 * I have written some documentation pertaining to attachments and media and what
   not. Have a read and get back to me on whether it is any good.
 * [http://plugins.plainview.se/threewp-broadcast/documentation/attachments-images-and-media/](http://plugins.plainview.se/threewp-broadcast/documentation/attachments-images-and-media/)
 *  Thread Starter [cvc1968](https://wordpress.org/support/users/cvc1968/)
 * (@cvc1968)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-handling-2/#post-5421967)
 * So I’m guessing I need to UN-broadcast the post(s), then turn debugging on, then
   re-broadcast in order to get that debug dump? Would that be the correct procedure?
 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/image-handling-2/#post-5422029)
 * You can simply rebroadcast.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image handling’ is closed to new replies.

 * ![](https://ps.w.org/threewp-broadcast/assets/icon.svg?rev=1013783)
 * [Broadcast](https://wordpress.org/plugins/threewp-broadcast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/threewp-broadcast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/threewp-broadcast/)
 * [Active Topics](https://wordpress.org/support/plugin/threewp-broadcast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/threewp-broadcast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/threewp-broadcast/reviews/)

## Tags

 * [file-url](https://wordpress.org/support/topic-tag/file-url/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [media library](https://wordpress.org/support/topic-tag/media-library/)

 * 3 replies
 * 2 participants
 * Last reply from: [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/image-handling-2/#post-5422029)
 * Status: not resolved