Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extension when download image #895

Closed
Edo2610 opened this issue Mar 17, 2023 · 2 comments
Closed

Add extension when download image #895

Edo2610 opened this issue Mar 17, 2023 · 2 comments
Labels
Milestone

Comments

@Edo2610
Copy link

Edo2610 commented Mar 17, 2023

Describe the bug

Hi,
I load an image on photosphere using the base64 source and when I donwnload the image it will downloaded without extension and with the first characters of the base64 code as name
image

There's a way to customize the download name of the image adding also the extension?

Thank you

Online demo URL

No response

Photo Sphere Viewer version

5.1.2

Plugins loaded

No response

OS & browser

Chrome 111.0.5563.65 and Edge 111.0.1661.41

Additional context

If I change the extension of the downloaded file, the image is shown correctly, so the file is good!

@Edo2610 Edo2610 added the bug label Mar 17, 2023
@mistic100 mistic100 added this to the 5.1.3 milestone Mar 17, 2023
@mistic100 mistic100 added feature and removed bug labels Mar 17, 2023
@mistic100
Copy link
Owner

mistic100 commented Mar 17, 2023

Two improvements for the next version :

  • will use panorama.[type] as default name when the panorama is base64
  • add downloadName option if needed

@github-actions
Copy link

This feature/bug fix has been released in version 5.1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants