Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( File.Exists( profileFolderDirOnWww + filePrefix + "profile.jpg" ) )
- url = profileFolderUrlOnWww + filePrefix + "profile.jpg";
- else if ( File.Exists( profileFolderDirOnWww + filePrefix + "profile.png" ) )
- url = profileFolderUrlOnWww + filePrefix + "profile.png";
- else if ( File.Exists( profileFolderDirOnWww + filePrefix + "profile.gif" ) )
- url = profileFolderUrlOnWww + filePrefix + "profile.gif";
- else if ( File.Exists( profileFolderDirOnWww + filePrefix + "profile.jpeg" ) )
- url = profileFolderUrlOnWww + filePrefix + "profile.jpeg";
- else if ( File.Exists( profileFolderDirOnWww + "profile.jpg" ) )
- url = profileFolderUrlOnWww + "profile.jpg";
- else if ( File.Exists( profileFolderDirOnWww + "profile.png" ) )
- url = profileFolderUrlOnWww + "profile.png";
- else if ( File.Exists( profileFolderDirOnWww + "profile.gif" ) )
- url = profileFolderUrlOnWww + "profile.gif";
- else if ( File.Exists( profileFolderDirOnWww + "profile.jpeg" ) )
- url = profileFolderUrlOnWww + "profile.jpeg";
- else
- url = ProfileImageUrl ?? "";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement