I have downloaded an image from an outside website url and I want to add it to a specific post.
How can I do this (I mean how can I write the code)?
I try some php but it doesn't show me the image sizes, so I need some short example on how to add the image to a post and how to add the data for the image in the wp-posts and wp-postmeta.
The url to the image is something like this:
What exactly I need is to create the data from wp-postmeta.
Thanks in advance