Openweathermaps icon not displayable

Greetings to all. I ask for help from you in the community, because I don’t understand the problem and maybe someone will be able to understand it. I have entered the weather information, in a detail page. The setup is as follows:

<img src="@img" align="left" style="width:64px;height:64px;" /><b>** **‏‏‎ ‎‏‏‎ ‎@desc<br></b>

Inserted into the page with an RT taking the settings from a template, where the @img icon is the result of another template building the weather icon link

http://openweathermap.org/img/wn/iconize@2x.png (e.g. iconize: 04n),

while the description is assumed by another template that fetches the data in a similar way, from a fetch set extracted from openweathermaps API.
The result is that everything is fine both within glide and in the version visible in the web browser, while in the iOS version, a box is displayed instead of the image, while the description is perfect.
Have any of you experienced something similar?
Thanks for the help
@Robert_Petitto @ThinhDinh @Jeff_Hager … etc :slight_smile:


Your image link isn’t working for me, but my first suspicion would be that you are using HTTP instead of HTTPS.

That “iconize” thing is a variable. So something like below would work.

https://openweathermap.org/img/wn/11d@2x.png

https://openweathermap.org/img/wn/13d@2x.png

In image;

More info on icon IDs:

https://openweathermap.org/weather-conditions

@profxeni as Jeff said, I suspect this because of you using HTTP instead of HTTPS in the link. I encoutered this with Safari before.

1 Like

Thank you both for your help. I didn’t even realize I hadn’t set the HTTPS protocol, but unfortunately, that wasn’t the problem.
I assume the double passing of variables through the template, caused this problem. I have now eliminated the template that produced the weather icon, inserting the URL directly into the final template and inserting the icon code as a variable, whose code is generated by a lookup taken from a relationship with the weather table.
I attach the screenshot of the solution.
Kind regards

4 Likes

So it has been solved? Nice!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.