Problem:
If author has not uploaded his profile pic then the default image i.e `img/anonymous.png` is shown to user. But on the front page/Home page, image is not loading.
Solution: Image is render from the Javascript through location.hostname + path_to_image which is missing 'http://' at the start so image is not loading.
Add 'http://' to the start will fix the issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 2960468.patch | 1.84 KB | calcifer_3119 |
| #5 | 2960468-5.patch | 2.03 KB | zvonimirr |
| #2 | 2960468-2.patch | 1.47 KB | jayasree.e |
Issue fork mediumish_blog-2960468
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jayasree.e commentedSubmitted the patch to fix the issue.Please review
Comment #3
ilgnerfagundes commented@jayasree.e
This new approach works only if the theme is at the root of '/ themes', if it is in another directory like '/ themes / contrib' it doesn't work. The url for the image should take the current directory of the theme.
Comment #4
ilgnerfagundes commentedComment #5
zvonimirrHere is my take on it
Comment #6
baluertlComment #7
anjali rathodThe patch applied successfully but after that the page leads to endless loading.
Comment #8
reenaraghavan commentedComment #9
reenaraghavan commentedComment #12
calcifer_3119 commentedHere's the patch
Comment #13
calcifer_3119 commented