urlloader Questions

3

Solved

In my scss file, I use background-image: url("../../../assets/images/home/banner-mobile.png"); The application runs successfully, but no background image is shown: The background image UR...
Plasmo asked 29/11, 2021 at 2:28

3

Solved

I'm trying to figure out the difference between url-loader vs file-loader. What does DataURl mean? The url-loader works like the file-loader, but can return a DataURL if the file is smaller tha...
Saltern asked 3/3, 2018 at 2:22

1

Solved

I am getting following error while loading image from local directory in my Next.js application Failed to compile ./pages/components/image.png 1:0 Module parse failed: Unexpected character '�' (1:0...
Research asked 16/6, 2021 at 22:25

4

I am using webpack with some plugins and loaders to take my src/ folder and build a dist/ folder. url-loader (which falls back to file-loader when images are larger than a specific limit) is output...
Bearcat asked 14/12, 2018 at 22:7

7

I am not able to import images in my headercomponent.ts. I suspect it is because of something i am doing wrong while compiling ts(using webpack ts loader) because same thing works with react( wher...
Engage asked 22/3, 2016 at 7:40

4

Solved

I'm using webpack's url-loader plugin and have it configured as: { test: /\.(ttf|eot|woff|woff2|svg)$/, loader: "url-loader?limit=50000" } It output files > 50k to the file system, but I can't...
Letreece asked 5/12, 2015 at 20:3

7

Solved

I've been trying to figure out how to dynamically add images via React and Webpack. I have an image folder under src/images and a component under src/components/index. I'm using url-loader with the...
Matty asked 16/9, 2015 at 15:31

0

I'm having webapp in react with server side rendering feature running on node server. I'm using local images from assets directory (as shown below: <img src={require('../../../assets/img/image....

1

I’m trying to inline some fonts as base64-encoded Data URI’s but am having no luck with Webpack’s url-loader. Which is weird because the url-loader seems to be doing just that for my image and svg ...
Nero asked 15/1, 2017 at 2:4

3

Solved

I am facing a problem in Webpack regarding Relative Path. Let me try to explain the scenario : I have 2 separate project in Workspace directory : Project-A [Bundling using Gulp] : Stable &...
Mispronounce asked 23/12, 2016 at 19:18

2

Solved

I have the following Webpack config (roughly, it has been simplified for this post): const rootPublic = path.resolve('./public'); const LOCAL_IDENT_NAME = 'localIdentName=[name]_[local]_[hash:base...
Superpose asked 4/3, 2016 at 0:58

1

Solved

I have two files: ./img/mypic.png ./js/help/targets/target.js In target.js: <img src={require("../../../img/target.png")} /> With webpack.config.js: 14 module: { 15 loaders: [ 16 {...
Internuncial asked 27/5, 2015 at 14:16

1

Solved

I'm trying to load an image file that's right next to the .SWF file. Something like this: var loader:URLLoader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.BINARY; loader.addEventLis...
Abana asked 23/5, 2011 at 0:8

2

I am developing image uploader in Flash. I use FileReference.browse to browse image then resize this image to 1000 x 1000 px, if the image is very big and then upload to server. I want to show prog...
Pea asked 2/10, 2009 at 22:57

3

Solved

I'm using a URLLoader to send a few key/value pairs to a php script, which then turns them into an e-mail, sends it (or not), and then echoes a string with a response. At first it works fine. The ...
Lapham asked 2/3, 2009 at 20:51

1

I am uploading a file to a server using a multipart URLLoader. I am able to upload the file fine. I have tried to listen to the progress event on the URLLoader but it only fires at the very end of ...
Huston asked 21/9, 2010 at 1:2

3

Solved

What I am trying to accomplish is to upload some binary data, specifically a ByteArray representing a PNG image, to a server using the URLLoader class in conjunction with URLRequest. When I set th...

1

Solved

I'm going to be as specific and verbose as possible and include some of the code I'm using. I already did a search and found this question, which seems similar; however the author there was using A...
Vernitavernoleninsk asked 28/10, 2009 at 17:5

1

Solved

Is there a way to access the response headers from an HTTP result when using Flash/Flex's URLLoader? Setting the request headers is possible, as is accessing the response code, but getting a hold ...
1

© 2022 - 2024 — McMap. All rights reserved.