10000) { $focalLength = substr($focalLength,0,2); } $exifHTML .= "$focalLength mm, "; } if ($exifHTML !== "") { $exifHTML = substr($exifHTML,0,-2); } //image dimensions list($width, $height, $type, $attr) = @getimagesize($photoFile); $cssWidth = ($width - 10); list($width_m, $height_m, $type_m, $attr_m) = @getimagesize($thumbFile_m); if ($_SESSION['admin']) { $adminTitleJS = "onmouseover=\"this.style.backgroundColor='#666'\" onmouseout=\"this.style.backgroundColor='#111'\" onclick=\"editTitle()\""; $adminCaptionJS = "onmouseover=\"this.style.backgroundColor='#666'\" onmouseout=\"this.style.backgroundColor='#111'\" onclick=\"editCaption()\""; $adminTagsJS = "onmouseover=\"this.style.backgroundColor='#222'\" onmouseout=\"this.style.backgroundColor='#111'\" onclick=\"editTags()\""; $photoPublic = $photo['Public']; $adminEditJS = '
'; } else { $adminTitleJS = ""; $adminCaptionJS = ""; $adminTagsJS = ""; $adminEditJS = ""; } if ($photoDescription == "") { $captionCSS = "display:none;"; } else { $captionCSS = ""; } if ($cntPhoto == 1) { $photoBody = ""; if ($tag !== "") { $photoBody .= "