Own proxy cache gate for images

in goldvoice •  6 months ago

The problem with image-gate services has been known for a long time. They are needed not only for caching but also for https sites to load images only from https sites (without transferring unprotected traffic to other sites). After the Golos.blog was blocked (and GoldVoice used their public gateway for images) - it was decided to go to the gateway from Steem. But there also were some problems.

Firstly, improper working out of conditions for avatars (many of you noticed that they were incorrectly cropped around the edges both vertical and horizontal only square ones were displayed well). Secondly, improper handling of webp and svg images. And to delegate these things wasn’t already right. Therefore, we developed our own proxy gate for images. Yeah, on php, yeah, it caches. And yeah, it’s flexible enough (thanks to @arcange for help in testing and wishes for the Honors Board).

Now a little bit of technical details. Example of the picture above:

Format: (w)x(h)(|w|h)(|s)(|a) - width, height, priority at the side at resize, square on the larger side, automatic priority.

In the preview of the posts the size of avatars has been reduced 🖖 

Thanks everybody for attention, we’ll be glad to receive your ongoing support. 💌 Put upvotes, subscribe to @on1x

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @on1x! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!


@on1x, sorry to see you have less Steem Power.
Your level lowered and you are now a Minnow!

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @on1x! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!