Req Resize Images on the fly
#6
(2014-10-21, 20:35)Tolriq Wrote: For me it's client responsibility to manage cache of re-sized images.

You just need to provide correct HTTP cache headers and 304 answers based on change of original image cache.

Just talking from my side but dealing with Android devices with 6 different possible DPI so 6 different size for the same image in the same screen depending on phone, means if size are limited on server side they won't be very useful.

Well they are already limited now. You only get the image in the original resolution. The idea was to provide a few additional sizes like 256px width and 512px width (with adjusted heights). That way you don't get exactly the size you want but especially in case of e.g. 256px width you can still save a lot of bandwidth.

But yes it comes down to who is responsible for caching. The problem with HTTP caching headers is that our webserver doesn't really have that functionality i.e. we don't keep track of what has been requested by who and if that file has changed in the meantime.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average


Messages In This Thread
Resize Images on the fly - by millerf - 2014-10-21, 13:48
RE: Resize Images on the fly - by Montellese - 2014-10-21, 16:04
RE: Resize Images on the fly - by millerf - 2014-10-21, 16:16
RE: Resize Images on the fly - by Montellese - 2014-10-21, 18:31
RE: Resize Images on the fly - by Tolriq - 2014-10-21, 20:35
RE: Resize Images on the fly - by Montellese - 2014-10-21, 20:52
RE: Resize Images on the fly - by Tolriq - 2014-10-22, 09:09
RE: Resize Images on the fly - by topfs2 - 2014-10-22, 10:34
RE: Resize Images on the fly - by da-anda - 2014-10-22, 15:21
RE: Resize Images on the fly - by joethefox - 2014-10-24, 08:14
RE: Resize Images on the fly - by topfs2 - 2014-10-24, 16:21
RE: Resize Images on the fly - by Tolriq - 2014-10-24, 11:52
RE: Resize Images on the fly - by Montellese - 2014-10-25, 16:40
RE: Resize Images on the fly - by Montellese - 2014-10-25, 21:17
RE: Resize Images on the fly - by Milhouse - 2014-10-25, 22:37
RE: Resize Images on the fly - by Tolriq - 2014-10-26, 10:20
RE: Resize Images on the fly - by johanj - 2014-11-28, 09:45
RE: Resize Images on the fly - by millerf - 2014-11-28, 16:01
RE: Resize Images on the fly - by johanj - 2014-12-03, 13:53


Logout Mark Read Team Forum Stats Members Help
Resize Images on the fly00
This forum uses Lukasz Tkacz MyBB addons.