Comments (4)
I think you can specify it in the options, no need for the plugin to return 404:
angular.module('ui.gravatar').config([
'gravatarServiceProvider', function(gravatarServiceProvider) {
gravatarServiceProvider.defaults = {
'default': 'http://url/of/your/default/image.png'
};
}
]);
from angular-gravatar.
I did try that but its adding another http:// to the start of URL
from angular-gravatar.
If i do the following:
"default": 'http://test'
the following happens:
GET http://i1.wp.com/google.com 400 (Bad Request)
from angular-gravatar.
Hi! thanks for reporting. Just pushed a potential fix to your problem.
The wrong escape method was used in the URL generation. Please let me know if it solves your problem.
Thanks
from angular-gravatar.
Related Issues (20)
- If no Gravatar Load Initials Image HOT 2
- Gravatar default watch for changes HOT 7
- Default image url HOT 8
- Dynamic gravatar source is not working HOT 6
- Get /build/md5.js 404 HOT 1
- Can't force update the image HOT 2
- gravatar not workin on cordova HOT 14
- Angular dependency is outdated
- Default images without network access HOT 5
- Need help with urlFunc HOT 4
- Need an intercept for user data delivered as a promise HOT 4
- use image as background HOT 2
- Gravatar profile service HOT 3
- Custom 404 Image HOT 5
- Angular 1.5 support HOT 4
- Check if Gravatar Returns a 404 HOT 2
- Inject html code from controller HOT 3
- Lexer Error HOT 4
- [email protected] requires a peer of [email protected] but none was installed. HOT 3
- Gravatar Failed - GravatarServiceProvider HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-gravatar.