Original issue posted at http://drupal.org/node/176504.

Not sure when this occurred, but I noticed recently when I started using the image module, that images were not displaying after being uploaded. After a long bit of troubleshooting, I found that images dispalyed if I disabled the Avatar Gallery module. Just to be sure, I reenable the module and tried just removing post informationg from image pages. No change. As long as Avatar selection is enabled, images do not display. Please let me know if there are any specific error logs or other information that will be useful in troubleshooting this issue. My image module installation at this point is fresh.

Comments

stella’s picture

Did you mean to report this against the avatar selection or avatar gallery module? They are separate modules. Your report is somewhat confusing on this.

Cheers,
Stella

pyutaros’s picture

Title: Avatar Gallery breaks / doesn't play nice with Image module v5.x.1.5. » Avatar Selection breaks / doesn't play nice with Image module v5.x.1.5.

Sorry, mistitled. And thanks for the lightning fast response. I'm blown away.

stella’s picture

Also, in your issue description you mentioned "avatar gallery", did you mean to use "avatar selection" there too?

I won't be able to look into this in any great detail until tomorrow, but could you provide the following information in the meantime:
* does this only happen in certain browsers / platforms? Or are all browsers affected?
* does it affect all images, including those in image galleries, nodes, etc? Or just images uploaded as avatars via the avatar selection module?
* are specific screens affected, or all pages across the entire site?
* in firefox's error console (under Tools menu), do any related errors appear?
* I presume you have javascript and images enabled in your browser, yes?
* What are your file system settings? I'm particularly interested in the download method - public vs private.

Cheers,
Stella

pyutaros’s picture

Stella,
Thanks again for the quick response. I apologize about the discrepancy in the text. I would have edited the original post if I could. I am strictly speaking about Avatar Selection, even though I typed otherwise by mistake. Here are the answers to your questions.

*Tested in IE and Firefox on Windows XP.
*Only images in image nodes are affected. This includes image galleries. The images from my Gallery2 site display fine and the Avatar images display with no problem.
*Any page that displays an image from an image node is affected.
*I will check Firefox's error console.
*I would say yes, since images display on other websites with no problems.
*Private

Once again, I should clarify that the problem does not necessarily affect your module, but may be caused by your module. Images having to do with Avatar Selection display without issue. Images handled by the image module do not display as long as Avatar Selection is enabled. Perhaps I should view the source of a page to see if duplicate tags are being created, or even module source to see if modules are declaring or calling the same variables. Thanks again for your incredible speed in dealing with this issue.

pyutaros’s picture

I checked my Firefox error console. I get four errors, but I get them regardless of whether I have Avatar Selection enabled. I will list them though they seem unrelated.

error in parsing value for property 'display'. Declaration dropped. Line 43
http://www.mysite.com/modules/system/defaults.css

Selector expected. Ruleset ignored due to bad selector. Line 56
http://www.mysite.com/sites/all/modules/calendar/calendar.css

Error in parsing value for property 'display'. Declaration dropped. Line 19
http://www.mysite.com/sites/all/modules/date/date.css

Expected declaration but found '.'. Skipped to next declaration. Line 32
http://www.mysite.com/sites/all/themes/aurora/layout.css

stella’s picture

Assigned: Unassigned » stella

marked #176504 as a duplicate of this issue.

stella’s picture

I think this is actually the same issue as #163903 where the Avatar Selection module was preventing access to all private files except ones in avatar_selection folder. I suggest you upgrade to the 5.x-2.x-dev release or find the avatar_selection.module code mentioned in the #163903 issue and change the return -1; line to return null;.

Cheers,
Stella

pyutaros’s picture

Upgrading to latest dev seems to have done the trick. I look forward to the next stable release. Thanks again for all of your help. This is by far the best support I have ever gotten for a Drupal module!

stella’s picture

Status: Active » Closed (duplicate)

Great, marking this as a duplicate of #163903 then.

Cheers,
Stella

stkrzysiak’s picture

This is happening to us but we did not use the avatar selection module. The only change we have made recently is that I added the fivestar voting to the bottom of blogs and when commenting, so not sure if that did it........

http://domainname.com/system/files/images/image.jpg is what drupal has in the html source, but this image can not be foundif you try to go to it directly, but this works: http://domainname.com/files/images/image.jpg

And a symbolic link for system->files/ doesnt work either. Odd....

stella’s picture

If you're not using the avatar selection module, then this is the wrong place to request support. Try the image module issue queue perhaps.

stkrzysiak’s picture

Understood, but I posted here for others who may have stumbled upon this thread like me, I wasn't requesting support. Also, the fact that the image module is broke on my end in a different situation may help people working on this issue, it may not, but I just wanted to share my experience. I will open a ticket direct with Image, thanks, and goo dluck on your issue :)