Topic: File Upload preview fails if the image path contains a querystring
phnxdgtl free asked 2 years ago
When using the file upload plugin, and passing in a full image URL as the data-mdb-default-file
property, the image isn't rendered as a preview if the URL contains a querystring.
I'm generating temporary S3 URLs for my image previews, which have signed parameters contained within a querystring. Because the file upload plugin checks to see if the path ends in a valid extension (eg, '.png'), it won't recognise the URL as an image; even if it is a valid image URL, such as "http://dummy-url.com/image.png?signature=12345".
Dawid Wajszczuk staff answered 2 years ago
Hi,
Thanks for your feedback. I have added proper task. We will discuss this in team.
Keep coding,
Dawid
DEVGASA priority commented 8 months ago
hi , this issue is open to the angular mdb-file-upload with amazon s3 to date 2024-28-02
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 3.10.1
- Device: MacBook Pro
- Browser: Chrome
- OS: MacOS 12
- Provided sample code: Yes
- Provided link: Yes