0

I am trying to use custom HTML in a widget and I can't make an img tag to work because I have no idea where to store the image.

Where does one store an image inside a WordPress website ? And not by "Upload Image", no. By using FTP. Where exactly do I have to store images so that I can link them to an img tag.

1
  • Why not upload image? That would be the default way to store images in WordPress
    – kero
    Commented Nov 26, 2020 at 17:49

2 Answers 2

0

To get img url first upload it to media library, then click on the img you want to use, and see the full url in the img details. see photo attached with a circle around the url of the img.

img uploaded to media

2
  • Thank you. This works. Is this the only solution ?
    – Jorje12
    Commented Nov 27, 2020 at 14:42
  • I use this option. What do you want to achieve? Commented Nov 30, 2020 at 18:24
0

wordpress by default stores the images in folders by month and year on /wp-content/uploads/folder_named_year_month and the paths to where they are store can be seen in database on the table wp_posts and the thumbenails on wp_postmeta.

check this article for more info

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.