Skip to content

Commit

Permalink
getting images again. Yes: the vue function used by the gallery is v …
Browse files Browse the repository at this point in the history
…2 and view appears now in V3 !

Done a copy of the old view version in extensions.
  • Loading branch information
Patent2net committed Jul 20, 2022
1 parent 3536223 commit 18b13dd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Patent2Net/FusionImages.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def run():
patent_label = get_patent_label(patent)
i = 1
logger.info('Processing patent {}'.format(patent_label))
path_img_base = '{}//{}-{}.tiff'.format(output_path, patent_label, '{}')
path_img_base = '{}/{}-{}.tiff'.format(output_path, patent_label, '{}')
path = path_img_base.format(i)
while os.path.exists(path):
thumb, orig, tiff = generate_thumbnails(path)
Expand Down
12 changes: 11 additions & 1 deletion Patent2Net/extensions/Vue/vue.global.prod.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Patent2Net/templates/ModeleImages.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script charset="utf-8" type="text/javascript" src="../../../Patent2Net/extensions/MagnificPopup/dist/jquery.magnific-popup.js"></script>
<script charset="utf-8" type="text/javascript" src="../../../Patent2Net/extensions/bootstrap/js/bootstrap.bundle.min.js"></script>
<script charset="utf-8" type="text/javascript" src="../../../Patent2Net/media/pouchdb-6.4.3.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuejs"></script>
<script charset="utf-8" type="text/javascript" src="../../../Patent2Net/extensions/Vue/vue.global.prod.js"></script>
<script charset="utf-8" type="text/javascript" src="../../../Patent2Net/media/p2ngallery.js"></script>

<link href="https://unpkg.com/tailwindcss@^1.4.6/dist/tailwind.min.css" rel="stylesheet">
Expand Down

0 comments on commit 18b13dd

Please sign in to comment.