update 2025-04-14
This commit was merged in pull request #10.
This commit is contained in:
@@ -24,10 +24,11 @@ class Pics(rio.Component):
|
||||
if self.active_picture is None:
|
||||
grid = rio.Grid(row_spacing=0.4, column_spacing=0.5, margin_right=1)
|
||||
for i, link in enumerate(self.session[services.DatabaseService].get_picture_paths()):
|
||||
thumbnail_link = rio.URL(str(link) + "&thumb=1")
|
||||
grid.add(
|
||||
rio.Button(
|
||||
rio.Image(
|
||||
link,
|
||||
thumbnail_link,
|
||||
height=12,
|
||||
width=12
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user