Hy,
i implemented a uploader swf in the admin backend. It works great so far, only thing i have to fix is a file browser, where i can chose my dir, right now the uploader only goes to one specific folder "video".
I uploaded a thumbnail with the same name as video and when i go to my image.php all i see is the latest video (directly) without any thumbs...
could that be a problem of the image and thumbnail hack?
here is my image.php:
`<?php if (!defined('WEBPATH')) die(); $themeResult = getTheme($zenCSS, $themeColor, 'light'); $firstPageImages = normalizeColumns('2', '6');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php printGalleryTitle(); ?> | <?php echo getAlbumTitle();?></title>
<link rel="stylesheet" href="<?php echo $zenCSS ?>" type="text/css" />
<script src="<?php echo FULLWEBPATH . "/" . ZENFOLDER ?>/js/jquery.js" type="text/javascript"></script>
<?php printRSSHeaderLink('Gallery','Gallery RSS'); ?>
<?php zenJavascript(); ?>
<?php require_once(SERVERPATH . "/" . ZENFOLDER . "/plugins/print_album_menu.php"); ?>
</head>
<body>
<div id="main">
<?php printAlbumMenu("list","", "album_menu", "album_menu_active"); ?>
<div id="container">
<div id="header">
<div id="gallerytitle"><a class="gallerytitle" href="<?php echo getGalleryIndexURL();?>" title="Gallery Index">SOME</a>
<div id="title"><?php printAlbumTitle(true); ?>
// TITLE:<?php printImageTitle(true); ?>
</div>
>>download
</div>
<?php if (!checkForPassword()) { ?>
<div id="image">
<?php }
if (hasNextImage()) { ?>
<?php printCustomSizedImageMaxHeight(400);}
else { ?>
<a href="<?php echo getFirstImageURL();?>"><?php printCustomSizedImageMaxHeight(400);?>
<?php }?>
</div>
<?php $_current_image = $_zp_current_image; ?>
<?php while (next_album()): next_image(); ?>
"title="<?php echo getImageTitle();?>"><?php printImageThumb(getImageTitle()); ?>
">
<?php printAlbumThumbImage(getAlbumTitle()); ?>
<?php endwhile; ?>
<?php $currentimagetitle = getImageTitle(); while (next_image(false, $firstPageImages)):
if($currentimagetitle === getImageTitle()) { ?>
<div class="imagethumb_active">
<?php getImageTitle();?><?php printImageThumb(getImageTitle()); ?>
<?php } else { ?>
"><?php printImageThumb(getImageTitle()); ?>
<?php } ?>
<?php endwhile; ?>
<?php $_zp_current_image = $_current_image; ?>
</div>
some
<?php printAdminToolbox(); ?>
</div>
</div>
</div>
</body>
</html>`