📜 ⬆️ ⬇️

Download new media file from URL

Dear habrayuzer, the following question arose. Where would you find a plugin for WordPress, which would allow downloading a media file from a URL, not a computer?
Why do I need this?
On one of my blogs is the Arthemia Free theme. In this topic, each topic has an additional field with a link to the downloaded graphic file. This image file is scaled and used for a more visual topic. Now the algorithm for working with these files is:
  1. Google looking for a picture
  2. We keep on the computer
  3. Upload to the site
  4. The original source of the image is recorded in the body of the post.

Obviously, the file should be uploaded to your hosting, otherwise the script will not scale. But why on your computer? It is not at all clear to me why paragraph 2 and paragraph 3 should be separated from each other. I hope in the comments people will give advice on how to combine them.

')

Source: https://habr.com/ru/post/79672/


All Articles