fix: OctoPrint logo in README.md #423

Merged
jneilliii merged 1 commits from patch-1 into master 2024-01-22 17:57:38 +01:00
jneilliii commented 2024-01-22 05:34:50 +01:00 (Migrated from github.com)
No description provided.
HumbleDeer commented 2024-01-22 17:40:24 +01:00 (Migrated from github.com)

I've got an alt/dupe of this, but with the logo from the docs directory: https://github.com/dw-0/kiauh/pull/424

I've got an alt/dupe of this, but with the logo from the docs directory: https://github.com/dw-0/kiauh/pull/424
dw-0 commented 2024-01-22 17:45:04 +01:00 (Migrated from github.com)

I wonder which solution would be better/more future-proof. Im not sure why the image disappeared, not sure what has changed on their side.

I think we will take this approach for now. So thank you for your (both) contributions!

I wonder which solution would be better/more future-proof. Im not sure why the image disappeared, not sure what has changed on their side. I think we will take this approach for now. So thank you for your (both) contributions!
jneilliii commented 2024-01-22 18:52:59 +01:00 (Migrated from github.com)

I'm not exactly sure what the camo link is from, but shows as how it's linked on the readme in the repo. For direct link to github content I would probably use https://github.com/OctoPrint/OctoPrint/blob/master/docs/images/octoprint-logo.png?raw=true or direct from the website maybe https://octoprint.org/assets/img/logo.png

I'm not exactly sure what the camo link is from, but shows as how it's linked on the readme in the repo. For direct link to github content I would probably use `https://github.com/OctoPrint/OctoPrint/blob/master/docs/images/octoprint-logo.png?raw=true` or direct from the website maybe `https://octoprint.org/assets/img/logo.png`
dw-0 commented 2024-01-22 19:16:11 +01:00 (Migrated from github.com)

Honestly im not sure why i decided for the camo link in the past 😅 maybe wasn't the best idea. If it breaks again, we should rather go for one of the other links.

Honestly im not sure why i decided for the camo link in the past 😅 maybe wasn't the best idea. If it breaks again, we should rather go for one of the other links.
HumbleDeer commented 2024-01-23 21:19:56 +01:00 (Migrated from github.com)

For direct link to github content I would probably use https://github.com/OctoPrint/OctoPrint/blob/master/docs/images/octoprint-logo.png?raw=true

You can find a solution implementing this in the PR I made. It doesn't use the raw parameter, but GitHub handles that gracefully. I obtained the nonraw link through GitHub's methods of obtaining the permalink.

I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.

> For direct link to github content I would probably use `https://github.com/OctoPrint/OctoPrint/blob/master/docs/images/octoprint-logo.png?raw=true` You can find a solution implementing this in the PR I made. It doesn't use the raw parameter, but GitHub handles that gracefully. I obtained the nonraw link through GitHub's methods of obtaining the permalink. I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.
dw-0 commented 2024-01-23 21:24:13 +01:00 (Migrated from github.com)

I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.

Thank you for the info @HumbleDeer, are you willing to reopen your PR, update it if necessary and we merge it afterwards?

> I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links. Thank you for the info @HumbleDeer, are you willing to reopen your PR, update it if necessary and we merge it afterwards?
HumbleDeer commented 2024-01-23 21:26:39 +01:00 (Migrated from github.com)

I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links.

Thank you for the info @HumbleDeer, are you willing to reopen your PR, update it if necessary and we merge it afterwards?

Sure!

> > I also think using this link is better, because it's less likely to get purged from GitHub's CDN servers. The camo links are CDN meta-links. > > Thank you for the info @HumbleDeer, are you willing to reopen your PR, update it if necessary and we merge it afterwards? Sure!
Sign in to join this conversation.