Cloudimage.io: Cached, Cropping, Resize, a i ʻole Watermarked Images ma ke ʻano he lawelawe

API Cloudimage no ka Compression Kiʻi, Cropping, Caching

I kēia mau lā, e hana iki ana wau ma kēia pūnaewele no ka wikiwiki. Ua wehe wau i kahi o nā ʻoniʻoni e neʻe e hoʻomaʻalahi i ka pehea e monetized a hoʻohui ʻia ai, akā lohi ka wikiwiki o ka pūnaewele. Hilinaʻi wau e pili ana i kaʻu mea heluhelu a me kaʻu huli hulina hiki Ma hope o ke noi ʻana i ke kōkua o kuʻu hoaaloha, ʻo Adam Small, ka mea e holo wikiwiki ana i ka uila paepae kūʻai waiwai, ʻo ka mea mua āna i kuhikuhi ai he mau kiʻi nunui kaʻu e hoʻouka nei i kaʻu ʻaoʻao podcast.

Hoʻomaha ʻole kēia mai ka kiʻi ʻana mai o nā kiʻi mai kahi pūnaewele ʻaoʻao ʻekolu aʻu i mana ʻole ai. ʻO ke kūpono, makemake wau e ʻoki a cache iā lākou ma kahi, akā a laila makemake wau e kākau i kahi hoʻohui paʻakikī. ʻAʻole e hōʻike ʻia, ʻoiai me ka hoʻohui paʻa, weliweli ka manawa e lawe ai a hoʻonui i ka nui o nā kiʻi. No laila, ma hope o ka hana ʻana i kahi ʻimi pūnaewele, loaʻa iaʻu kahi lawelawe kūpono - Kapua.io

Nā hiʻohiʻona o Cloudimage.io

  • Ma ka kiʻi kiʻi mua, hoʻoiho ʻo Cloudimage i kāu kiʻi kumu no kāu bākeke kikowaena / S3, a ahu iā ia ma kā lākou hana nui.
  • Hiki iā Cloudimage.io ke koho i kahi koho, ʻoki, kiʻina, kahawai, a kāpī i ke kiʻi e pane a mālama i kou manawa.
  • Hāʻawi ʻia kāu mau kiʻi i kāu mea kūʻai aku i ka wikiwiki o ke kukui ma o nā CDN wikiwiki, a laila ʻoi aku ka maikaʻi o ka hoʻololi a me nā kūʻai aku.

No kaʻu hoʻokō ʻana, loaʻa iaʻu kahi hānai podcast kahi aʻu e makemake ai e hōʻike i nā kiʻi podcast ma 100px wale nō e 100px akā, pinepine, nui nā kiʻi kumu (i ka nui a me ka fileize). No laila - me Cloudimage, hiki iā mākou ke hoʻopili wale i ka URL Kiʻi i ka Cloudimage API, a hoʻonui ʻia ke kiʻi a cache maikaʻi ʻia.

https://ce8db294c.cloudimg.io/hua /100x100 / x /https://images.fireside.fm/podcasts/images/c/c5d9b182-9c16-43a8-873d-ccc51c40dd8b/episodes/b/b638ca26-7bd9-4f6a-b039-99792720ff4a/cover.jpg

E nānā i ka URL piha:

  • Kaha inoa subdomain iā CloudImage
  • Kauoha e ʻoki i ke kiʻi
  • Hoʻonohonoho ʻia nā ana i 100px e 100px
  • ʻO kaʻu ala faila kumu

Ua hiki nō iaʻu ke laka pū i kaʻu mau URL ma kahi e hiki ai iaʻu ke hoʻohana i ka Cloudimage API i hiki ʻole i nā poʻe ʻē aʻe ke ʻaihue. I loko o kekahi mau minuke, ua mākaukau ka hopena, a i loko o ka hola ua hoʻokō wau i ka hopena i kā mākou Hānai Podcast Widget.

Pehea kou manaʻo?

Ke hoʻohana nei kēia pūnaewele i ka Akismet e ho'ēmi i ka spam. E aʻo pehea e hanaʻia ai kāuʻikeʻikepili.