Title: Image toggle doesn&#039;t seem to work
Last modified: August 21, 2016

---

# Image toggle doesn't seem to work

 *  ResolvedModerator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/)
 * Hi there! This is a really cool little plugin.
 * I’m using it on a test site and the only toggle that doesn’t seem to be working
   is “image.” Whether or not I have the “image” checkbox selected in the widget,
   the weather graphics **always** show, and the display looks identical. Both with
   or without “image” checked off, my display looks like this:
 * [http://cl.ly/image/3N2c3J1f2H0t](http://cl.ly/image/3N2c3J1f2H0t)
 * I also tried the shortcode version using `image=0` but got the same result.
 * Is there something I’m missing or is this a bug? Thanks very much for having 
   a look!
 * [http://wordpress.org/extend/plugins/alfie-wp-weather/](http://wordpress.org/extend/plugins/alfie-wp-weather/)

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

 *  Plugin Author [appcuarium](https://wordpress.org/support/users/appcuarium/)
 * (@appcuarium)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929340)
 * Hi Kathryn,
 * It looks like a conditional is missing in the code, filed a bug request to the
   developers. Meanwhile, you could change line 12 in alfie-wp-weather.php so it
   looks like this:
 * `<div class="alfie-wp-weather-object {{daynight}}" <?php if ( $options['alfie_wp_weather_image']){?
   >style="background-image: url({{image_bg}}{{daynight}}.png); background-repeat:
   no-repeat;" <?php } ?>>`
 * Thanks for pointing this out.
    Best regards. The Alfie Team
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929341)
 * Thanks for the speedy attention. That did remove the large image, and left the
   two smaller ones below – assume that’s how it’s supposed to look?
 * [http://cl.ly/image/3S1w0q0C3k1a](http://cl.ly/image/3S1w0q0C3k1a)
 *  Plugin Author [appcuarium](https://wordpress.org/support/users/appcuarium/)
 * (@appcuarium)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929344)
 * Actually that’s what it does, it removes the main image without altering the 
   text distribution. A deeper level of personalization is planned for future releases.
   I’ll ask the devs to include in the next version one checkbox + shortcode parameter
   for toggling on/off the forecast images, too.
 * Best regards.
    The Alfie Team
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929345)
 * Thanks very much! The extra option would be handy in the future and I appreciate
   your quick reply. 🙂
 *  Plugin Author [appcuarium](https://wordpress.org/support/users/appcuarium/)
 * (@appcuarium)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929548)
 * Hi Kathryn,
    We just released an update including your suggestions.
 * Best regards.
    The Alfie Team
 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929550)
 * Most excellent – thanks for letting me know!
 * By the way, I included your plugin in a presentation I did at this year’s WordCamp
   San Francisco. 🙂
 *  Plugin Author [appcuarium](https://wordpress.org/support/users/appcuarium/)
 * (@appcuarium)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929551)
 * Dear Kathryn,
 * Thank you very much for your support 🙂
 * Kind regards.
    The Alfie Team

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

The topic ‘Image toggle doesn't seem to work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/alfie-wp-weather_f6f1e6.svg)
 * [Alfie WP Weather](https://wordpress.org/plugins/alfie-wp-weather/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/alfie-wp-weather/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/alfie-wp-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/alfie-wp-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/alfie-wp-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/alfie-wp-weather/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [appcuarium](https://wordpress.org/support/users/appcuarium/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/image-toggle-doesnt-seem-to-work/#post-3929551)
 * Status: resolved