last update
This commit is contained in:
@@ -735,6 +735,8 @@ function zenphoto_handler($atts, $content=null) {
|
||||
*/
|
||||
|
||||
$filename = $_SERVER["DOCUMENT_ROOT"] . '/zenphoto/' . 'cache/' . $album . '/' . urlencode($img) . '_' . $size . '_watermark.jpg';
|
||||
echo $filename;
|
||||
|
||||
$zp_size = getimagesize(htmlentities($filename));
|
||||
|
||||
$zenphoto_img = (($caption != "") ? '<div id="zp_' . $rnd . '" style="width: ' . ($zp_size[0] + 10) . 'px" class="wp-caption aligncenter">' : '');
|
||||
|
||||
Reference in New Issue
Block a user