Own proxy cache gate for images

in #goldvoice7 years 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

Sort:  

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!

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

You made more than 4000 upvotes. Your next target is to reach 5000 upvotes.

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

Do not miss the last post from @steemitboard:

Meet the Steemians Contest - Intermediate results

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @on1x! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem community has lost an epic member! Farewell @woflhart!
SteemitBoard - Witness Update
Do not miss the coming Rocky Mountain Steem Meetup and get a new community badge!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!