Title: Set custom image URL
Last modified: August 30, 2016

---

# Set custom image URL

 *  Resolved [summatix](https://wordpress.org/support/users/summatix/)
 * (@summatix)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/)
 * An option should be added to set a custom image URL.
 * Also, wp_localize_script should be used to set the options instead of outputting
   JavaScript directly.
 * Is this plugin on github?
 * [https://wordpress.org/plugins/float-to-top-button/](https://wordpress.org/plugins/float-to-top-button/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515158)
 * Hey summatix,
 * Okay, a custom image URL makes sense. I will add it.
 * Not sure what you mean by:
 * > Also, wp_localize_script should be used to set the options instead of outputting
   > JavaScript directly.
 * And no, the plugin is on SVN, not on github…
 * peace,
    Rolf
 *  Thread Starter [summatix](https://wordpress.org/support/users/summatix/)
 * (@summatix)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515180)
 * wp_localize_script is a better way to configure options than inlining JavaScript
   directly. If it was on git I’d make the changes myself, but I don’t want to deal
   with SVN.
 *  Plugin Author [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515182)
 * Hey summatix,
 * When you install the plugin, you have all the sources 😉
 * Why do you need git for that?
 * peace,
    Rolf
 *  Plugin Author [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515183)
 * In other words: just make the changes and send them to me.
 * BTW: you support is much appreciated!
 * peace,
    Rolf
 *  Thread Starter [summatix](https://wordpress.org/support/users/summatix/)
 * (@summatix)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515244)
 * Here is what I mean:
 * [Removed inline JavaScript in favor of using wp_localize_script](http://pastebin.com/s1vaSmW3)
 *  Plugin Author [cageehv](https://wordpress.org/support/users/cageehv/)
 * (@cageehv)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515302)
 * Hey summatix,
 * I just released version 2.0.7 of the plugin.
 * Changes:
    – Custom image URL – Changeable Z-index of the overlay – Localization
   of the inline javascript
 * Many thanks for your help and support!
 * peace,
    Rolf

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Set custom image URL’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/float-to-top-button_d7d7d7.svg)
 * [Float to Top Button](https://wordpress.org/plugins/float-to-top-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/float-to-top-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/float-to-top-button/)
 * [Active Topics](https://wordpress.org/support/plugin/float-to-top-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/float-to-top-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/float-to-top-button/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [cageehv](https://wordpress.org/support/users/cageehv/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/set-custom-image-url/#post-6515302)
 * Status: resolved