WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: HTML Javascript Adder] toolbar images not showing

[Resolved] [Plugin: HTML Javascript Adder] toolbar images not showing

  • Hi
    Installed this plugin which works perfectly – except some images are hard coded in the php?
    For the images in the toolbar, lines 243, 270, 276.

    example line 270:

    <img src=”http://localhost/wordpress/wp-content/plugins/html-javascript-adder/images/help-icon.png”

    should be:

    <img src=”<?php echo HJA_URL . ‘images/help-icon.png’; ?>”

    http://wordpress.org/extend/plugins/html-javascript-adder/

Viewing 3 replies - 1 through 3 (of 3 total)
  • i’m having the same problem. can you explain in more detail how to fix this?

    Locate the file html-javascript-adder.php which is in the plugins/html-javascript-adder directory.
    Replace all instances of
    src=”http://localhost/’

    with

    src=”<?php echo HJA_URL . ‘

    these should be on lines 243, 270, 276.

    This makes the browser look for the images on the server rather than your computer.

    Plugin Author vaakash

    @vaakash

    @macblaue Thanks for the notification. After testing in the localhost, I forgot to change them back. In the version 3.6 this correction is made.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: HTML Javascript Adder] toolbar images not showing’ is closed to new replies.