ssi-uploader | An awesome jquery uploader | File Upload library
kandi X-RAY | ssi-uploader Summary
kandi X-RAY | ssi-uploader Summary
An awesome jquery uploader.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ssi-uploader
ssi-uploader Key Features
ssi-uploader Examples and Code Snippets
Community Discussions
Trending Discussions on ssi-uploader
QUESTION
I have the same problem for every asp.net MVC site I develop, so I am wondering if there is a solution to this.
The site works perfectly when I am developing, however, when I publish the site, I have always problems with bundling. To solve it, I have to disable optimizations.
First of all, bundling joins all the bundled CSS's in only one file in the ~\Content
folder, even when all CSS's inside one bundle is inside a subdirectory. The consequence is that images referenced from the CSS's got lost because they have relative URL's.
The second problem is that for some strange reason, JS bundling system does not want all JS's inside the same file, because JS files reported errors when bundled and site does not work at all.
This is my BundleConfig.cs file that works. If I remove BundleTable.EnableOptimizations = false;
at the end, nothing works. A lot of Javascript errors occur.
ANSWER
Answered 2020-Jun-25 at 04:03You have to use CssRewriteUrlTransform at the time of bundling so that relative image paths (relative from css file location) are converted to absolute path from the website root. An example is below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ssi-uploader
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page