Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons missing - img path #26

Open
simonmorley opened this issue Dec 19, 2015 · 2 comments
Open

Icons missing - img path #26

simonmorley opened this issue Dec 19, 2015 · 2 comments

Comments

@simonmorley
Copy link

I've installed this using bower and it's almost working. Would seem the images aren't loading because of the path.

The smily icon loads from:

url(../img/IconsetW.png)

Assuming there something missing from the README

screen shot 2015-12-19 at 17 02 52

@sheyooo
Copy link

sheyooo commented Jan 28, 2016

i think it has to be at the base folder of your project inside [ROOT]/img/

@tokkerbaz
Copy link

@simonmorley, i had too this trouble, i fixed it with this :
First go to app.js that you have downloaded and open it, then find the line 32 $.emojiarea.spritesheetPath = 'img/emojisprite_!.png';
replace it to
$.emojiarea.spritesheetPath = '/img/emojisprite_!.png';
then open jquery.emojiarea.js , find the line 279
return '<img src="img/blank.gif" class="img" style="' + style + '" alt="' + util.htmlEntities(name) + '">';
replace to :
return '<img src="/img/blank.gif" class="img" style="' + style + '" alt="' + util.htmlEntities(name) + '">';`

The Problem was in slash / needed to insert before the img... Hope it helps =))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants