แสดงบทความที่มีป้ายกำกับ image แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ image แสดงบทความทั้งหมด

วันพฤหัสบดีที่ 2 กรกฎาคม พ.ศ. 2552

Kaspersky Block some image in browser. (This happen with my Google Analytics can't work correctly)

Because Banner block function in Kaspersky
so don't try to have image in folder name banner or this word in file name. (ads too)

for all website to show banner correctly disable this function in Kaspersky or
add whitelist to Kaspersky banner function.

วันศุกร์ที่ 20 กุมภาพันธ์ พ.ศ. 2552

Get Image from stream use local path.

have only one sample function here

        private Image GetImageFromLocal( string localPath )
        {
            using (FileStream fs = new FileStream( localPath, FileMode.Open, FileAccess.Read ))
            {
                Image img = Image.FromStream( fs );
                return img;
            }            
        }

Don't sure about performance from local or url and if found bad data.
I will try test later.