Member
Member
PierreSnugg   2008-05-07, 09:33
#1
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>`
Member
Member
PierreSnugg   2008-05-07, 09:51
#2
And also the credit div went away?
Administrator
Administrator
acrylian   2008-05-07, 10:03
#3
This normally means you have a php error somewhere. Take a look at you log.
Member
Member
PierreSnugg   2008-05-07, 10:34
#4
oh, i saw on IE it is working????? but why not on FF?
Administrator
Administrator
acrylian   2008-05-07, 11:54
#5
I just tried it in Safari 3.1 and FF 2 (on Mac) and the thumbs are there in both, however the thumbs dissapear in FF if I resize the browser window a little too much. So I guess this is a CSS problem with the centering.
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.