Welcome Guest Search | Active Topics | Log In | Register

Avatars not showing on posts and profiles Options · View
cmarz
#1 Posted : Monday, June 16, 2008 2:47:27 PM
Rank: Member


Joined: 1/18/2008
Posts: 12
I'm having a problem where users can select an avatar without a problem but when looking at a users profile or post the avatar shows as the broken image link red X.

I am using 1.9.1.6 (NET v2.0)

I saw a few posts about this but the solution was to edit my web.config. But when I opened up the web.config it was already configured as recommended:

<pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/>

Looking at the source code it seems to have the correct path, but still not showing:

<img id="forum__ctl0_AvatarEditControl_AvatarImg" src="/forums/resource.ashx?url=https%3a%2f%2fcommunity.vazing.com%2fforums%2fimages%2favatars%2fnew%2fdinosaur-dino8.gif&amp;width=50&amp;height=80" border="0" />

Any ideas?
cmarz
#2 Posted : Monday, June 23, 2008 7:15:08 PM
Rank: Member


Joined: 1/18/2008
Posts: 12
Anyone?
Jaben
#3 Posted : Tuesday, June 24, 2008 4:54:12 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,737
Location: Honolulu, HI
Might be because of your use of the HTTPS (secure) url. Not entirely sure.
"Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin

cmarz
#4 Posted : Tuesday, June 24, 2008 1:53:26 PM
Rank: Member


Joined: 1/18/2008
Posts: 12
The site is using a secure URL but this doesn't explain the fact they can choose their Avatar with out a problem. They all show correctly on the page. But when users post you get the red X image.
Jaben
#5 Posted : Wednesday, June 25, 2008 12:21:07 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,737
Location: Honolulu, HI
It's a bug related to resource.ashx and HTTPS (secure) urls.
"Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin

soltys
#6 Posted : Wednesday, June 25, 2008 9:55:26 AM
Rank: Member




Joined: 6/5/2008
Posts: 19
Location: Warsaw, PL
So..?Will it be solved?
Jaben
#7 Posted : Wednesday, June 25, 2008 10:06:34 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,737
Location: Honolulu, HI
Actually, looking at it that's a remote avatar. Verify that your forum would have access to that url.

You may just want to disable "Remote" avatars since they are troublesome.
"Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin

cmarz
#8 Posted : Wednesday, June 25, 2008 6:19:57 PM
Rank: Member


Joined: 1/18/2008
Posts: 12
I do have remote avatars shut off. Why is it using that url?

src="/forums/resource.ashx?url=https%3a%2f%2fcommunity.vazing.com%2fforums%2fimages%2favatars%2fnew%2falien-3dwireframe.gif&amp;width=50&amp;height=80"

It is a local file that is chooser by the user. Here s the url it's using on the choose an avatar page:

src="/forums/images/avatars/new/alien-3dwireframe.gif"


I did change this in avatar.axcs.cs, but I don't think this is the cause of the issue.

Quote:
private string CurrentDir
{
get
{
if ( ViewState ["CurrentDir"] != null )
return ( string ) ViewState ["CurrentDir"];
else
return "new";
}

I didn't want to have my users deal with directories.
Jaben
#9 Posted : Thursday, June 26, 2008 12:07:22 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,737
Location: Honolulu, HI
I see... nevermind about the "remote" thing. Remember that the server is accessing that URL from itself. So for some reason, that domain/url is not working properly from the server.

Not sure what you can do here...
"Honesty may be the best policy, but it’s important to remember that apparently, by elimination, dishonesty is the second-best policy." -- George Carlin

cmarz
#10 Posted : Friday, June 27, 2008 9:08:04 PM
Rank: Member


Joined: 1/18/2008
Posts: 12
I think you are right when I punch in the URL from my computer it works but from the server I get a page can't be displayed. Maybe it has something to do with an IIS setting or DNS. Looks like I have a fun weekend off playing around with both to try and get this to work.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC1 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.088 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET