Hey guys I just downloaded the script and it seems like it will do exactly what i need it too but there are a few adjustments I would like to make and I was hoping that some one could help me out or if this is a repost atleast point me to the info.
I would like to know if there was a way to bypass the "albums" and just go straight to the pictures inside the album as I wont be using more then one and it is pointless to have visitors click on an album. for example I have it setup in
http://www.beyondrandom.com/shirttest but I want it to go directly to
http://www.beyondrandom.com/shirttest/test/ Did I explain that right? lol sorry if its a little off but I hope someone can help me out. Thanks.
Comments
` <?php $firstimage = $_zp_current_album->getImages(); // get the first image of the current album in the loop?>
" title="View album: <?php echo getAlbumTitle();?>"><?php printAlbumThumbImage(getAlbumTitle()); ?>`
But note that this will be problematic if you plan to use subalbums, because they would be displayed on album.php and skipped too.
Mod_rewrite redirection as you asked on your other thread would be a possiblity as would be a html redirection.
Do you use Zenphoto in combination with another site? If so you could try a static link, too.
PS: If you are really trying to setup a pure photoblog, you might try www.pixelpost.org, too, that works exactly that way (not that I really like to suggest one of our opponents...:-))
If I made a screen cast of what exactly I want, would you be willing to customize it for me? with compensation of course
If so let me know, Thanks again!
As to the above code, you could simply remove the next_album loop, then the album would not be shown anymore.
http://screencast.com/t/S5ZHlhzmd
1. a simple html meta redirection:
`
/">
`
2. htaccess redirection:
`Redirect /zenphoto http://www.yoursite.com/zenphoto/`
Just use the album url you see when browse your only album. If you use the meta redirection you don't need the htaccess redirection of course.
<head>
<?php zenJavascript(); ?>
<title><?php echo getBareGalleryTitle(); ?></title>
<link rel="stylesheet" href="<?php echo $zenCSS ?>" type="text/css" />
<?php printRSSHeaderLink('Gallery',gettext('Gallery RSS')); ?>
<meta http-equiv="refresh" content="5; URL=<http://www.hedshot.co.uk/index.php?album=cartoons>/">
</head>
As a result the page goes to my index page, waits a few seconds and then tells me that the url can not be found on the server. Can you tell me exactly where I am going wrong.
If it is easier could you tell me how to implement the htaccess redirection. I dont seem to have a .htaccess file in the folder!
Please help. Zen photo seems to be a brilliant product but I am sadly not!
Thanks
Place on top of your index.php file before everything else:
`<?php header("Location: ttp://www.hedshot.co.uk/index.php?album=cartoons"); ?>`