I am getting this strange url and an obvious broken image link when it is pulled. This is for users that have uploaded their avatar. I have confirmed the avatar/picture is in fact uploaded.

When i check image/picture properties the URL listed is:

http://mysite.com/sites/default/files/imagecache/Default-profile/http://...

What could be causing this?

Dave

Comments

dsellers154’s picture

Title: User Picuture error as it is pulled from strange location » User Picture error as it is pulled from strange location
stella’s picture

Where is this image loaded that gives this error? Does the image appear correctly in the avatar selection on the profile edit page? If you select it as your avatar, does it appear correctly when viewing the user profile page? Does it appear correctly on the manage avatars page?

dsellers154’s picture

*Where is this image loaded that gives this error?
The URL that i posted earlier is from the Avatar Block. Sry I should have stated that.
Avatars are in folder: /sites/default/files/avatar_selection/
Uploaded pictures are in folder: /sites/default/files/pictures/

*Does the image appear correctly in the avatar selection on the profile edit page?
The uploaded pictures do not appear in the avatar section. they are not in the avatar selection folder.

No picture appeared anywhere except in the avatar block. That is where i got the url above. I can navigate to the uploaded profile picture and view it.

*If you select it as your avatar, does it appear correctly when viewing the user profile page?
Avatars that are selectabe in the pool are all working great. Uploaded pictures are not "selectable" as stated above.

*Does it appear correctly on the manage avatars page?
I did not want to make uploaded pictures available to the avatar pool so they are again in a different folder.

BTW, thanks for responding so fast. I really appreciate it.

Dave

stella’s picture

Where is the Avatar Block defined? What module provides it?

dsellers154’s picture

Well, I actually didnt remember how I was generating the block, but after digging i remember i am using the 6.x Avatar Blocks module from the developers website. I will move this post to that topic. THanks for heading me in the right direction.

Dave
ww.net505.com

stella’s picture

Status: Active » Closed (won't fix)
dsellers154’s picture

Status: Closed (won't fix) » Active

OK, so now this problem has prompted me to learn views. I have read that not only can I create my very own avatar block with views, but I can also solve world hunger and bring national peacef[thats what they say]. So, I am on my way. I have created a view and selected user pictures to displaybut am still having the same problem

There are a few of the User Pictures that come up with the same file location of: http://www.mysite.com/sites/default/files/imagecache/Default-profile/htt...

Other uploaded pictures that work are located at:
http://www.mysite.com/sites/default/files/imagecache/Default-profile/pic...

And avatars that work are at:

http://www.hawaiianlife.com/sites/default/files/imagecache/Default-profi...

The uploaded pictures are infact in the /sites/default/files/pictures/ file and there are uploaded pictures that are working properly.

Do you have any idea why a few of these pictures would be causing the site to create the wrong URL above?

Dave

stella’s picture

Perhaps you could export the view and attach it here - it's impossible for me to figure out what's happening from your description alone.

Perhaps also compare the values for an uploaded pic vs an avatar_selection pic in the picture column in the users table.

stella’s picture

Status: Active » Postponed (maintainer needs more info)
dsellers154’s picture

Hey Stella
this is an isolated incident, i cants seem to recreate it. If it pops back up ill open another ticket. I just re-uploaded the pics. It seems that this happened right about the time i defined a default image.

Thanks

Dave
www.net505.com

stella’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

Ok, well please feel free to reopen if you encounter the same issue again.

Cheers,
Stella

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.