Hi Jody,
Thanks very much for your suggestion. Unfortunately, it didn't solve the problem. It did however show something suspicious. I don't have
Context.Response.ContentType = contentType.ToLower();
or
return image;
anyway in my code!
I have included the DisplayCommunityImage method from ImageHandler.cs (including my modifications per your suggestion). Is it possible that I am running a different/older version of the CSK? The csproj file in my solution is named "CommunityStarterKitCSVS_v1_0.csproj". Is there a later version than 1_0?
private void DisplayCommunityImage(HttpContext context, string fileName) {
SqlDataReader dr;
dr = ImageUtility.GetCommunityImage(fileName);
if(dr.Read()) {
SqlBinary buffer= (byte[])dr["Image_imageData"];
context.Response.ContentType = dr["Image_contenttype"].ToString();
// Start Damien's Changes
context.Response.Cache.SetCacheability(HttpCacheability.Public);
context.Response.BufferOutput =
false;
// End Damien's Changes
context.Response.BinaryWrite((byte[])buffer );
}
}
I haven't really made any siginificant mods to the base application (only theme's changes), so, short of me using an older versioin, I don't know why I would be having this issue when others aren't.
Any ideas?
Thanks very much for your support.
Damien
PS - I checked out your art site Jody, very impressive!