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">
<?php printGalleryTitle(); ?> | <?php echo getAlbumTitle();?>
" type="text/css" />
/js/jquery.js" type="text/javascript">
<?php printRSSHeaderLink('Gallery','Gallery RSS'); ?>
<?php zenJavascript(); ?>
<?php require_once(SERVERPATH . "/" . ZENFOLDER . "/plugins/print_album_menu.php"); ?>
<?php printAlbumMenu("list","", "album_menu", "album_menu_active"); ?>
<?php if (!checkForPassword()) { ?>
<?php $_current_image = $_zp_current_image; ?>
<?php while (next_album()): next_image(); ?>
"title="<?php echo getImageTitle();?>"><?php printImageThumb(getImageTitle()); ?>
" title="View album: <?php echo getAlbumTitle();?>">
<?php printAlbumThumbImage(getAlbumTitle()); ?> <?php endwhile; ?>
<?php $currentimagetitle = getImageTitle(); while (next_image(false, $firstPageImages)):<br />
if($currentimagetitle === getImageTitle()) { ?>
<?php getImageTitle();?><?php printImageThumb(getImageTitle()); ?>
<?php } else { ?>
<?php } ?>
<?php endwhile; ?>
<?php $_zp_current_image = $_current_image; ?>
some
<?php printAdminToolbox(); ?>
`
Comments