--- photos_albumview.tpl.bak.php	2009-08-20 15:39:31.000000000 +0530
+++ photos_albumview.tpl.php	2009-08-20 15:55:13.000000000 +0530
@@ -12,8 +12,8 @@
     (<a href="<?php print $album['album_url'];?>/slide" target="_blank"><?php print t('Open a new window');?></a>)
   </div>
   <?php if($album['access']['edit']) : ?>
-    <a href="<?php print $album['node_url'];?>/edit"><?php print t('Album settings');?></a>
-    <a href="<?php print $album['node_url'];?>/photos"><?php print t('Images Management');?></a>
+    <a href="/node/<?php print $node->nid;?>/edit"><?php print t('Album settings');?></a>
+    <a href="/node/<?php print $node->nid;?>/photos"><?php print t('Images Management');?></a>
   <?php endif; ?>
 </div>
 <?php endif; ?>
