I modified the Stopdesign theme fairly heavily and added a few new features, such as being able to click on certain parts of the image to move to the next image/previous image/full view.
I also added a fade in when the image is loaded (amongst other things)
Take a look:
Here.
Feel free to
download it and use it.There are still a few bugs, but if you download it and find any, please let me know and I will update the download etc.
Send me an email if you use it, I would love to see..
Ben Sp
Comments
Having said that, let me point out a bug. This bug is actually inherent of the StopDesign theme since Blider first ported it from MT to zenphoto. It will only affect those who set "cruft-free-url" to "true", ie, on servers with mod-rewrite. Let's hope ppl like youself can solve it.
using your gallery as an example, steps to Bug:
1) click to http://www.benspicer.com/photos/
2) click on any of the albums
3) click on "photos" on the navigation bar to go back to the gallery index
4) click on "view all galleries"
result:
- "The album page does not exist." appears
temporary solution:
- set "cruft-free-url" to "false". Yeah that sucks, but i have to do that in order for my gallery to be fully functional, until this bug is squashed.
i fixed this for 0.9.. now let me think..hmm..
you have to actually make that path static, so for me: i set the link as benspicer.com/photos/archive.php - its dirty but it works. i'll update the documentation in the download.
if you use it, please send me a link I would love to see people using it - then I wouldnt feel like I wasted a weekend (ha, sympathy vote!)
It works fine in FF 1.5 though.
Although i'm not using your theme per se, i certainly do appreciate you releasing it as i've learned alot from your codes. I've taken bits of your codes, including the fade-in.js and added them to the default theme. Your name and a link to your site will be mentioned in my colophon once i got my site fully kicking.
You can take a look at the current state of my gallery here: http://giolovesgod.com/gallery
cheers
adas: im suprised just how bad it looks in Opera - but I'll get about fixing that (ps, maybe you should open some more windows?!)
genosypheus: yep, i know it looks bad in IE6, had a look at work today, its a bit of a mess, huh. Will get around to fixing it asap, promise! And when I do, I'll submit it to trisweb/Luckyspin and see if they'll include the image rollovers in the core code, its simple to implement. Thanks for the link, thats very kind. If you have any questions, feel free to mail me.
BenSp.
while i'm trying to figure it out, here are 2 comments about the "install.txt" file.
1) it references a "zen" folder that's supposed to be contained within the install files, but there is no "zen" folder. instead, later on, we are given instructions on how to edit the i.php and temp.....php files.
2) instruction #3 says to edit "index.php"
which index.php, however? the one in the root, or the one in the theme folder?
but here's the roadblock i'm hitting in getting this template to work (fyi, i've already set up the default template on 2 different servers for 2 different people, zenphoto v1.0.1).
i've been working on this for 5 hours. 3 separate installs just by the book per included instructions. finally just started adding your template mods in one by one. the roadblock occurs when i put the "archive.php" file into the root directory, and then call that via the "view all galleries" link on the root level index.php, said link going to "myurl.com/zenphoto/archive.php". the error sems to be when that goes to the "archive.php" found in the theme folder. right there, everything breakds down, and absolutely nothing i've tried for the past 5 hours can past this: the "getAlbumLinkURL" is telling me that here is where an album's location is:
myurl.com/zenphoto/januaryphotos/
when it's really here:
myrul.com/zenphoto/albums/januaryphotos
and so the "all galleries" link is turning up completely empty, with just the well-designed header. i've tried absolutely every htaccess, functions.php, config.php mod mentioned in these support forums. my only hope is the possibility that the 5 beers i've consumed in trying to troubleshoot this these past 5 hours has somehow impaired my judgment. -g-
elsewise though, darn good job. it looks good on your site!
right, your questions
1. zen is the included with the default install, and thats where you will find the two files to edit. I'll clear the documentation up, thanks for the pointer.
2. it means the index.php in the stoppeddesign folder. that was a fix for genosypheus' problem, earlier
and your second post: well, you say that your arhive.php file found in the root of the downloaded zip tries to go to zenphoto/theme/archive.php? Well, thats where its supposed to! Im using the same files, and it works ok for me. Try downloading the file and starting afresh, as if number 2 messed up, then that might something to do with it..?
Good luck
It also comes with a step by step installation guide that is pretty fool proof (or so I hope!). Sadly when I originally released it, the docs were pretty slim, now they're a lot better.
There are lots of bug fixes, and a few new features, take a look here and download here.
If there are any bugs, let me know and I'll fix them,
enjoy! ;D
download the zip again and overwrite the images folder
(thats all you have to do)
also update your index.php page, thats been changed slightly, too
enjoy,
bensp
I'd rather not have people hacking their installs to install a theme. Better to make everything compatible with everything else, so if there's anything we can do to facilitate that, let us know. Thanks.
reference:
http://citrusandroid.com/bug.png
"Click on a thumbnails to view the image."
should (obviously) be:
"Click on a thumbnail to view the image."
or
"Click on the thumbnails to view the images."
http://www.shannonandsteve.com/test/images/zenphoto/index.php
pearofducks (nice name ;D) and Studlee2
The bug is fixed, it was from me testing trying to wrap a drop shadow image all the around an image.
If you already have ZP installed edit image.php:
<div class="wrap1"> -delete
<div class="wrap2"> -delete
<div class="wrap3"> -delete
< a href="<?=getFullImageURL();?>" title="<?=getImageTitle();?>">< ?php printDefaultSizedImage(getImageTitle()); ?>< /a>-do NOT(!) delete
</div> -delete
</div> -delete
</div> -delete
Lines 20 to 26, delete all but the middle line (the link!)
and then update your photos.css file by deleting lines 784 to 799.
Sorry about the inconvienience, it seems I uploaded the wrong files.. (how stupid of me..). The zip has been updated too
The IE7 thing - I dont have access to IE7, or to a PC to install it on. It could possibly be due to IE7 not yet supporting opacity properly, as its only in beta2. Its works fine on all Mac browsers, and IE6 and FF on Windows.. Dont worry about it for the moment, as IE7 is having loads of bug problems displaying loads of big sites, and only a tiny percentage of skilled internet warriors (!) are using it ;D
I think I have narrowed the problem down to a path issue. My site is on a shared hosting account, so I had to install it in a sub domain. The only way I was able to get the site to function was to make this modification to the functions.php:
[code]
/*
if (strstr(basename(dirname($_SERVER['SCRIPT_NAME'])), "zen")) {
define('WEBPATH', dirname(dirname($_SERVER['SCRIPT_NAME'])));
} else {
define('WEBPATH', dirname($_SERVER['SCRIPT_NAME']));
}
*/
define('SERVERPATH', dirname(dirname(__FILE__)));
define('SERVERCACHE', SERVERPATH . "/cache");
define('WEBCACHE', WEBPATH . "/cache");
define('WEBPATH', '');
[/code]
When I log in, im redirect to the full subdomain path, /username/www.domainname.com. I have to go back and refresh admin.php in order to access admin. And also, the admin link never shows up on the front page - im pretty sure zenphoto doesn't know I am logged in.
Any ideas?
"Fatal error: Call to a member function on a non-object in /homepages/30/d27367848/htdocs/nickman/wordpress/zenphoto/zen/template-functions.php on line 400"
shows up...?!?! When i change to the default theme, it´s all the same. Could anybody help me, if possible?
http://www.nickman.de/wordpress/zenphoto/
QuickNick: errr.. i guess it would be the zenphoto 0.9 install, upgrade and try again, this theme was developed for version 1.0
Again, this issue is with being on a subdomain, not the theme itself.
I'm wondering how to make unlimited galleries instead of the default six on the front page. I'd like to make the front page an archive-like page, and get rid of the 'View All Galleries' button.
Any ideas how to do that?
One possible bug that I have noticed is that under Gallery Data, the number of photos did not decrease after I deleted some pictures. I clicked 'refresh' in zenphoto admin to no avail (maybe I screwed something up myself to cause this problem?).
Again, thanks for the great theme.