angular-img-http-src

WebJar for angular-img-http-src

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

angular-img-http-src
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

angular-img-http-src
WebJar for angular-img-http-src
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/dougmoscrop/angular-img-http-src

Download angular-img-http-src

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/angular-img-http-src/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>angular-img-http-src</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/angular-img-http-src/
implementation 'org.webjars.npm:angular-img-http-src:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/angular-img-http-src/
implementation ("org.webjars.npm:angular-img-http-src:1.0.1")
'org.webjars.npm:angular-img-http-src:jar:1.0.1'
<dependency org="org.webjars.npm" name="angular-img-http-src" rev="1.0.1">
  <artifact name="angular-img-http-src" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='angular-img-http-src', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "angular-img-http-src" % "1.0.1"
[org.webjars.npm/angular-img-http-src "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

angular-img-http-src

Status: Go horse.

Problem

You used token based auth and you need to serve images from secured routes.

Solution

Use http-src instead of ng-src and it will fetch images using the $http service - meaning Authorization headers added via interceptors will be present - then build a Blob and set the src to an objectURL.

Versions

Version
1.0.1