• This is the situation:

    I have written a guest article for another wordpress site.
    My intention is to send the html version in a text doc so all they have to do is go to an admin page, click text and paste the text doc into their page.
    I want to insert some images. I want to make sure that they are inserted how I want them. So I want to load them to media on my site, insert them into the text file and send it. So that when they paste the text file into the page on their own site the images will appear on their site but be hosted on mine.

    1. Can I host the images on a page that won’t appear on my site but gives me a url that I can use?

    2. What code do I have to use for the image?

    • This topic was modified 3 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 5 replies - 1 through 5 (of 5 total)
  • Write the article as a new page on your site and make it how you want it appear. Once finished and if using Classic Editor, select Text tab so you can Copy & Paste the code. Note that a separate CSS file may have to be created or Embed the CSS into the HTML.

    Also make sure you send the Article as a “.txt” file, not a “.doc” file. You will save yourself a lot of problems.

    Thread Starter cachophrastus

    (@cachophrastus)

    Thanks Rob.

    I had got that far already. I want to host the images in the article on my own site.

    So where do I host them without having to show them somewhere on the site and what code snippet do I use for the images so that when the text file is inserted on the other site, the images come from my site?

    Not sure I understand your confusion. Although you can upload the image anywhere you want within your site, by uploading it into Media makes it easier to create the article and see what it looks like.

    If using WordPress to create the article, images included, you can save the article as a Draft (will not show on your site) or simple delete it / not save it, after you copy the code. You are not deleting the image within Media so it will still show, long as the URL is correct.

    Thread Starter cachophrastus

    (@cachophrastus)

    Hi Rob,

    Yes. I’m a bit dumb. Of course the photos will have the url linking to my site and it’s media. I knew that the other site could use the images hosted on my own site but for some reason I thought that an extra snippet of code would have to be added to direct to my site. Doh!

    They are hosted on a page in my admin which I have not attributed to anywhere specific on my site. I googled the url of one of the images and it shows ok.

    So as my developer is always saying to me: “You make things unnecessarily complicated”

    Many times the learning is in the doing. ??

    If problem solved, please mark thread as Resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to host images on my site for another site?’ is closed to new replies.