ÓÃjsÈ¡µÃͼƬmimeÀàÐÍ£¬ºÃÏñijЩͼƬÀàÐÍÈ¡²»µ½¡£ ÑÝʾͼƬµÈ±ÈÀýËõС function Wa_SetImgAutoSize(img) { //var img=document.all.img1;//»ñȡͼƬ var MaxWidth=100;//ÉèÖÃͼƬ¿í¶È½çÏÞ var MaxHeight=50;//ÉèÖÃͼƬ¸ß¶È½çÏÞ var HeightWidth=img.offsetHeight/img.offsetWidth;//ÉèÖø߿í±È var WidthHeight=img.offsetWidth/img.offsetHeight;//ÉèÖÿí¸ß±È alert("tes...
by yejr - phpÎĵµÖÐÐÄ - 2005-12-01 13:59:28 ÔĶÁ£¨627£© »Ø¸´£¨0£©
¿à¿àÕÒÁ˺ܾã¬·å»ØÂ·×ª£¬Í»È»¿´µ½ÁËÕâ¸ö£¬ÄܶԸ¶¼òµ¥µÄÓ¦ÓþÍ×ã¹»¡£ ÑÝʾͼƬµÈ±ÈÀýËõС function Wa_SetImgAutoSize(img) { //var img=document.all.img1;//»ñȡͼƬ var MaxWidth=100;//ÉèÖÃͼƬ¿í¶È½çÏÞ var MaxHeight=50;//ÉèÖÃͼƬ¸ß¶È½çÏÞ var HeightWidth=img.offsetHeight/img.offsetWidth;//ÉèÖø߿í±È var WidthHeight=img.offsetWidth/img.offsetHeight;//ÉèÖÿí¸ß±È...
»¹ÓкܶàͼƬ̫ÇåÎúÁË£¬·¢²»ÉÏÀ´ ÂÛ̳ҪÇóͼƬ²»Äܳ¬¹ý750*700µÄ ¿ÉÊÇ£¬ÎÒÕâÀïÓкܶàͼƬÊÇ1024*768µÄ ´¦ÀíºÃÁË£¬ÔÙ·¢ÉÏÀ´ ҲϣÍû°ßÖñÄܸÄÏÂÉèÖ㬿ÉÒÔ·¢±È½Ï´óµÄÕÕÆ¬£¬Ð»Ð»£¡
$arr=getimagesize("images/album_01.gif"); echo $arr[3]; $strarr=explode("\"",$arr[3]); echo $strarr[1]; ?>