How to give dynamic image path in wordpress page

Hello I am working with WordPress and I created a page and insert the image into page.

<img src="/wp-content/uploads/2016/09/im_NECorner-300x216.jpg" alt="im_NECorner" width="300" height="216" align="left" hspace="20" vspace="5">

It is working fine on live site.When I downloaded project and put into a

directory name manresa and now url is :->http://localhost/maneresa/

But image is not showing on page I put http://localhost/maneresa/

siteurl and homeurl in wp_option table.But image is using only root

http://localhost/ instead of http://localhost/maneresa/.

Read more here: How to give dynamic image path in wordpress page

Leave a Reply

Your email address will not be published. Required fields are marked *