$szPostContent = $post->post_content;
$szSearchPattern = '#(<img.*?>)#';
$a='';
$aPics='';
preg_match_all( $szSearchPattern, $szPostContent, $aPics );
$iNumberOfPics = count($aPics);
echo "<br />Number of pics on each post...............".$iNumberOfPics;
array_push($postimg, $iNumberOfPics);
$iNumberofPics 显示来自单个帖子的图像...查看演示 ..u 会发现在箭头 img 鼠标悬停时滑块消失。而我想连续显示主 div 直到用户留在该页面上..