1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 15:26:19 +00:00

[preview] Show image file's preview

Conflicts:
	seahub/views/repo.py
This commit is contained in:
lian
2014-12-08 11:31:54 +08:00
committed by llj
parent 95a3123354
commit c8cde80e7d
7 changed files with 143 additions and 44 deletions

View File

@@ -3,4 +3,3 @@ from seahub.utils import get_site_scheme_and_netloc
def get_thumbnail_src(repo_id, obj_id, size):
return os.path.join(get_site_scheme_and_netloc(), "thumbnail", repo_id,
obj_id, size)