Closed (fixed)
Project:
Weather
Version:
7.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
16 May 2012 at 09:53 UTC
Updated:
10 Jan 2013 at 09:45 UTC
After upgrading from 1.1 to 1.2 the images (sun, clouds etc.) show on the block disappered. The only thing that is left is src="" in html.
Comments
Comment #1
vvs commentedI'm too. Not with custom image or original.
Back to 1.1...
Comment #2
toddy commentedHi,
do you have edited the weather template or are you using your own template for displaying the block? The image variable has changed, instead of $weather->image_filename there is now a complete <img> tag for inclusion in the template. So instead of
you would now use something like this:
Regards,
Tobias
Comment #3
toddy commentedComment #4
Gessle commentedThat seems to be the problem. I noticed this change, but I didn't remember that I had created my own template.
Thank you for the correction! :)
Comment #5
pdeclarens commentedHello,
De: "bspite several attemps changing the location, I fail to get anything else than this:
location name, broken clouds, temperature... and no images
the bloc looks like this:
Current weather
Nantes: Broken clouds, 10 °C
Current weather
AK - Adak Island, Adak Airport: Overcast, 13 °C
I had a look at the tpl file and I do have at line 10 :
print $weather->image;I tried to add in the Directory ;;/site/all/modules/weather/images but it made no difference.
thanks for your help!
Comment #6
toddy commentedThis looks like you've enabled the "compact block" for weather. Could you check that, please? With that setting, the image (and other information like wind etc.) are suppressed. Simply disable that setting, and the images should appear.