Title: Error message &#8220;Use only width OR height parameter values&#8221;
Last modified: August 4, 2017

---

# Error message “Use only width OR height parameter values”

 *  Resolved [semperaye](https://wordpress.org/support/users/semperaye/)
 * (@semperaye)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-message-use-only-width-or-height-parameter-values/)
 * When using this plugin, regardless if I use only width or height parameter values,
   I get the following error at the header and footer of my page: “Use only width
   OR height parameter values.” If I use the shortcode [thermometer] I do not get
   the error, but as soon as add any width or height parameters it gives me the 
   red letters of death lol. Needless to say…I’ve gone ahead and centered it anyway
   because that how I need it. How can I get rid of this error?
 * Note: I am using beaver builder.

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

 *  Plugin Author [rhewlif](https://wordpress.org/support/users/henryp/)
 * (@henryp)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-message-use-only-width-or-height-parameter-values/#post-9382166)
 * I will investigate. Can you give me the shortcode you use that brings up the 
   error? Presumably you are using the latest version of the plugin?
 *  Thread Starter [semperaye](https://wordpress.org/support/users/semperaye/)
 * (@semperaye)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-message-use-only-width-or-height-parameter-values/#post-9382455)
 * Yup! Thanks for the quick reply!
 * [thermometer width=200 height=300 align=center]
 *  Plugin Author [rhewlif](https://wordpress.org/support/users/henryp/)
 * (@henryp)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-message-use-only-width-or-height-parameter-values/#post-9383723)
 * Hi,
 * If you remove the width parameter from the shortcode then the error message will
   disappear with the image remaining the same size.
 * `[thermometer height=300 align=center]`
 * As the thermometer image is of a fixed scale, the plugin only requires one of
   these parameters to be set for the image to be displayed correctly.
 * Henry
 *  Thread Starter [semperaye](https://wordpress.org/support/users/semperaye/)
 * (@semperaye)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/error-message-use-only-width-or-height-parameter-values/#post-9384576)
 * Oh! Now I understand what the error code means 😛 Thanx! I thought it meant that
   I could only use w & h…it’s confusing because the example instructions show using
   both w & h.

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

The topic ‘Error message “Use only width OR height parameter values”’ is closed 
to new replies.

 * ![](https://ps.w.org/donation-thermometer/assets/icon-256x256.png?rev=3197594)
 * [Donation Thermometer](https://wordpress.org/plugins/donation-thermometer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/donation-thermometer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/donation-thermometer/)
 * [Active Topics](https://wordpress.org/support/plugin/donation-thermometer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/donation-thermometer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/donation-thermometer/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [semperaye](https://wordpress.org/support/users/semperaye/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/error-message-use-only-width-or-height-parameter-values/#post-9384576)
 * Status: resolved