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

Avatars not displayed for anonymous users #96

Open
serge73 opened this issue Apr 23, 2016 · 2 comments
Open

Avatars not displayed for anonymous users #96

serge73 opened this issue Apr 23, 2016 · 2 comments

Comments

@serge73
Copy link

serge73 commented Apr 23, 2016

If anonymous comments are allowed and enabled to show avatars,
avatars are not displayed for anonymous users.

The path to the defaultUser.png wrong

2016-04-23_9-13-42

@davilima6
Copy link
Member

davilima6 commented Apr 25, 2016

I couldn't confirm the bug. src attrs are indeed like you showed (absolute urls for logged-in users and relative to anonymous) but, while it does hurt caching and should be fixed, Acquisition suceeds in showing the right image. For instance, can't you access http://localhost:8080/Plone/news/defaultUser.png or even http://plone5ux.herokuapp.com/Plone/news/aggregator/defaultUser.png?

@serge73
Copy link
Author

serge73 commented Apr 25, 2016

Sorry for my English. I've misunderstood what you wrote.
The problem is for the authorized user and anonymous alike.

I use IP for the instance in which added Plone.
http://192.168.1.10:8504 - instance
http://192.168.1.10:8504/Plone - installed Plone.
If a comment from an anonymous user, then the path to the image goes to the root of the instance. But there's nothing there.

I tested with the rewrite module of apache and have used the DNS name. The problem is gone. Don't know what to do, close or not to close this issue...

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

No branches or pull requests

2 participants