Mercurial > libervia-web
comparison libervia/pages/photos/album/page_meta.py @ 1326:089742e065e3
pages (files/list, photos/album): updated thumbnails size limits
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Aug 2020 09:31:26 +0200 |
parents | f511f8fbbf8a |
children | d6bcb0cf92d2 |
comparison
equal
deleted
inserted
replaced
1325:009542289bc9 | 1326:089742e065e3 |
---|---|
15 self.getPathArgs(request, ["service", "*path"], min_args=1, service="jid", path="") | 15 self.getPathArgs(request, ["service", "*path"], min_args=1, service="jid", path="") |
16 | 16 |
17 | 17 |
18 def prepare_render(self, request): | 18 def prepare_render(self, request): |
19 data = self.getRData(request) | 19 data = self.getRData(request) |
20 data["thumb_limit"] = 1200 | 20 data["thumb_limit"] = 800 |
21 data["retrieve_comments"] = True | 21 data["retrieve_comments"] = True |
22 files_page = self.getPageByName("files_list") | 22 files_page = self.getPageByName("files_list") |
23 return files_page.prepare_render(self, request) | 23 return files_page.prepare_render(self, request) |
24 | 24 |
25 | 25 |