• nprlisner

    (@nprlisner)


    Hello Muhammad,
    I’m testing out a site in a localhost environment and not able to get image src to work inside a widget. Page http references work just fine. The image src reference inside a page also works fine. Any suggestions?

    <a href="[base_url]?page_id=252"></a> //works

    //inside widget
    <img src="[base_url]/wp-content/uploads/2013/02/img4.jpg" /> //does not work, 404

    //inside page
    <img src="[base_url]/wp-content/uploads/2013/02/img1.jpg" alt="img1" /> // works

    I am testing this version of WordPress
    <meta name=”generator” content=”WordPress 5.2-beta1-45103″>

    Thanks,
    –Ken

    • This topic was modified 5 years ago by nprlisner.
  • The topic ‘Images not working in widgets’ is closed to new replies.