Browse Source

Improve options

Signed-off-by: Rémi BERTHO <remi.bertho@dalan.fr>
master
Rémi BERTHO 9 months ago
parent
commit
a15fdb2ad6
Signed by: Rémi BERTHO <remi.bertho@dalan.fr> GPG Key ID: EE3B917931C07B64
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      SimplePanoramaViewer
  2. 2
    1
      html/index.html

+ 1
- 1
SimplePanoramaViewer View File

@@ -15,7 +15,7 @@ app = QApplication(sys.argv)
15 15
 app.setApplicationName("SimplePanoramaViewer")
16 16
 
17 17
 if len(sys.argv) < 2:
18
-	img_dialog = QFileDialog.getOpenFileName(None, "Open image", str(Path.home()), "JPG Images (*.jpg *.JPG *.jpeg)")
18
+	img_dialog = QFileDialog.getOpenFileName(None, "Open image", str(Path.home()), "JPG Images (*.jpg *.JPG *.jpeg *.pjpeg *.pjpg *.PJPG)")
19 19
 	img = img_dialog[0]
20 20
 else:
21 21
 	img = path.abspath(sys.argv[1])

+ 2
- 1
html/index.html View File

@@ -49,10 +49,11 @@
49 49
 	var PSV = new PhotoSphereViewer({
50 50
 		container: 'photosphere',
51 51
 		panorama: '__IMG_PATH__',
52
+		caption: 'Panorama displayed with Photo Sphere Viewer V3.4.0',
52 53
 		time_anim: false,
53 54
 		default_fov: 40,
54 55
 		min_fov: 5,
55
-		max_fov: 60,
56
+		max_fov: 75,
56 57
 		navbar: [
57 58
 			'autorotate',
58 59
 			'zoom',

Loading…
Cancel
Save