Hey guys,
I hope that you all are good and safe
I made something with editImage node, itβs not anyhow amazing, I would actually call it a bit silly, but I am proud of this.
It get your IP location, ask about weather and generate image for you, you can check this out here .
If you have some suggestions to improve this, do not hesitate
Workflow
Add you discord webhook if you want
Warm,
Simon
8 Likes
jan
February 27, 2022, 9:51pm
2
That is great. Works perfectly. Thanks a lot for sharing with the community!
1 Like
Works like a charm!
Thanks for sharing, such project always open my eyes to cool new ways I can use n8n
1 Like
yelsew
March 13, 2022, 1:00am
6
Hey Hey! I use n8n Desktop Mac and wondering why i might be getting this error?
I love this and would like to add it to my Slack-PABot that im building
jan
March 13, 2022, 8:19am
7
The Edit Image Node could sadly for technical reasons not be supported in the Desktop version and had so get removed.
1 Like
yelsew
March 14, 2022, 2:59am
8
Oh well, looks like ill just have to go create a hosted version ahaha cheers @jan
1 Like
yelsew
March 15, 2022, 11:07am
9
Hey @jan - is the edit image on the roadmap for desktop?
jan
March 15, 2022, 11:13am
10
Sadly not. Not sure how much work it would be to make it work but considering the current resources we have, is it sadly now priority right now.
1 Like
jan
April 21, 2022, 12:19pm
11
Just fyi @jamesb created this great post about enabling the node in the desktop version:
Welcome to the community @jamesb and thanks a lot for sharing this!
2 Likes
onufry
February 26, 2024, 10:55pm
12
I replaced a function node with a code one and create a code with a time function:
return items.map(item => {
const timezone = item.json.timezone / 3600; // Przeliczanie strefy czasowej na godziny
const timezoneSign = timezone >= 0 ? "+" : "-";
const formattedTimezone = `UTC${timezoneSign}${Math.abs(timezone)}H`;
// Time, sunrise and sunset conversion and formatting
item.json.additionals = {
"time": DateTime.fromSeconds(item.json.dt).plus({seconds: item.json.timezone}).toFormat('LLL dd, yyyy HH:mm') + " " + formattedTimezone,
"sunset": DateTime.fromSeconds(item.json.sys.sunset).plus({seconds: item.json.timezone}).toFormat('LLL dd, yyyy HH:mm') + " " + formattedTimezone,
"sunrise": DateTime.fromSeconds(item.json.sys.sunrise).plus({seconds: item.json.timezone}).toFormat('LLL dd, yyyy HH:mm') + " " + formattedTimezone,
};
return item;
});
1 Like