Storing images on a local site


sorry for the elementary question.

When I’m building a local site on WordPress, should I be storing my images in an “img” folder and then using CSS “background-image” to show these photos? That way, when I go live, the image root address won’t change.

As it stands, I am just uploading each photos and inserting it directly into the post, then styling it with CSS when need be. However, this means I’m getting big, clunky roots that will have to change when I go live (i.e. localhost/corporate/wp-content/uploads/2012/05/1-new.jpeg).

, mcranston18 4 years 2020-02-08T08:38:32-05:00 0 Answers 64 views 0

Leave an answer