Own created share button doesn't appear correctly.
1. It does not appear at all in full view of a node (even though the module is configured correctly, and the image has the same charateristics as the default image).
2. It does appear in teaser view of a blog entry, even though 'Display in node TEASERS' is unchecked.

example:
http://czarnapolewka-devel.multi.obin.org
Main page has list of events, that shoul bring up an AddToAny custom share button in full view of a node.
The 'blog' link proivedes list of teasers of blog entries. The custom AddToAny share button should not be there!

Comments

micropat’s picture

Title: No custom button image in full node » No custom button image in full node (due to relative URL; fixed)
Status: Active » Closed (fixed)

You need to prepend a slash to your URL, so you have:
/files/images/share.png

markconroy’s picture

Just FYI,

I was having a similar issue with this today, user the path for my custom image as sites/default/files/img/addtoany-custom.png

Custom image showed up on home page, contact page, etc, but not node pages due to pathauto.

The fix for me was to use a full URL for the image: http://www.example.com/sites/default/files/img/addtoany-custom.png

bsandor’s picture

Issue summary: View changes

If my file is located in root:
If I use full URL, into my files root it is working: http://domainname.com/filename.png
If I use only /filename it does not work

If I move my file to files:
and use /files/filename.png It dos not work.
if i use http://domainname.com/sites/default/files/filename.png it does work

Do I need any additional settings for files folder or something? I don't want to keep my file in root also don't want to keep a full url in settings as of I dont want to keep this setting in my mind.

I just want to use /files/filename.png as a setting. How can I do it?

Thanks