« archives

September 2005
S M T W T F S
« Aug   Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

recently

news from around the web

» view all

zenphoto 0.9

September 27th 2005

Zenphoto 0.9 fixes a lot of stuff. From the changelog:

  • Removed web_path and server_path config variables. They are now automatically deduced (and there was much rejoicing).

  • Added theme functions: getPrevImageThumb() and getNextImageThumb() – return the path

    to the thumbnail of the previous or next image relative to the current image.

  • Fixed bugs with using next_image() (for iterating through all album images) on an image page. You should now be able to use any loop anywhere without affecting the state.

  • [Bug 005102] Images smaller than the standard image size will not be sized up anymore.

  • [Bug 005125] AJAX-editing no longer strips HTML from titles/descriptions.

  • [Bug 005086] Using zenphoto without mod_rewrite should work fine now.

Go grab it at zenphoto.org.


This entry was posted on Tuesday, September 27th, 2005 at 1:07 pm and is filed under Release Announcements, zenphoto. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


23 Responses to “zenphoto 0.9”



  1. tom Commented at 1:16 am on September 28th 2005

    you are a genius my friend. i can’t wait to update!

  2. Jeremy Commented at 8:13 pm on September 28th 2005

    Genius indeed. Great job!

  3. Jan Commented at 1:13 am on September 30th 2005

    I upgraded from 0.8 and it’s working great! Thanks!

  4. Joen Commented at 2:08 am on September 30th 2005

    Beautiful stuff, Tristan.

    Eventually, I’d like to do a few changes to the default theme. Specifically, I think it’s a good idea to include the next thumbnail and the previous thumbnail IN the next/prev buttons. Also, there’s just something about the header / breadcrumb combination that doesn’t have enough space.

    Perhaps for the big 1.0?

    By the way, my friend on IIS is still having a few problems with his ZP .9 installation. He’s getting this error:


    Notice: Undefined index: SCRIPT_FILENAME in [url]zenconfig.php on line 86

    and later on


    Notice: Undefined index: SCRIPT_FILENAME in [url]zenconfig.php on line 90
    Error: The 'albums' directory cannot be found or is not readable.

  5. Joen Commented at 2:18 am on September 30th 2005

    I just noticed some things.

    On IIS, the variable called $_SERVER['SCRIPT_FILENAME'] doesn’t exist.

    The closest match is _SERVER["SCRIPT_NAME"], which returns the filename with a preceeding slash, for instance /phpinfo.php.

  6. Tristan Commented at 9:50 am on September 30th 2005

    Hmmm… that’s a hard one. I gotta have the path somehow. If you could look on IIS for whatever variable has it, that’d be great.

    Until then you can hardcode the path at the bottom of config.php to make it work.

  7. Simon Commented at 7:17 am on October 1st 2005

    Im allso seeing some weird behavoir.
    Everything works well up to, I have to enter my username/password in the setup located at:
    http://foto.simz.dk/zen/setup.php

    I enter the data and suddenly I get a 404 error at:
    http://foto.simz.dk/cgi-system/zen/setup.php

    Im running PHP-CHI over at dreamhost. Expect that to be the problem. $_SERVER[‘SCRIPT_NAME’] dosen’t return the right variable.

  8. Tristan Commented at 10:39 am on October 1st 2005

    Yep, you’re right. Simon, if you could send me a dump of a phpinfo() that would be most helpful. Send it to trisweb at this domain. Thanks.

  9. Simon Commented at 12:52 am on October 2nd 2005

    Mail shipped.

  10. tsservo Commented at 10:48 am on October 2nd 2005

    I am also on Dreamhost and was having the exact same “cgi-system” issue as Simon. Running as PHP-CGI.

    I just fixed my problem and it works like a charm.

    In .htaccess I set:
    RewriteBase /home/username/photos.pengins.net

    My ZenPhoto install is actually in photos.pengins.net/zen and I had to leave off both the /zen and the trailing slash.

    In my Dreamhost control panel, I set the subdomain that I was running Zen on to run as PHP5.

    Once I did that, I went to setup.php and happily saw:

    database connected
    We’re all set to create the database tables: zen_photos_albums, zen_photos_images, and zen_photos_comments.
    Go!

    Maybe this will work for you.

  11. tsservo Commented at 11:05 am on October 2nd 2005

    Oh yea, and after I got it installed, I had to change

    RewriteBase /home/username/photos.pengins.net

    to

    RewriteBase /zen

    and then everything worked just fine.

  12. Tristan Commented at 2:01 pm on October 2nd 2005

    Yeah, that .htaccess stuff can be a pickle sometimes. Just have to set it to the relative path from the base domain.

    From Simon’s email I think I have a better way to get the server path variable that should fix this weird php-cgi stuff (which I’ve never even heard of!). I’ll get a bugfix release out soon to address that.

  13. timothy Commented at 8:30 am on October 3rd 2005

    tristan, i thought you might be interested to see this…

    http://www.maxkiesler.com/index.php/weblog/comments/147/

  14. Tristan Commented at 11:08 am on October 3rd 2005

    Timothy – those are very interesting.

    It’s also interesting to note that anyone can make those kinds of interfaces with Zenphoto. I believe it has a very robust backend, and the theme engine really is capable of anything you want to use it for. Not to mention you can switch back and forth between that and a standard interface, or even provide a simpler and more accessible interface for less abled users.

    Frankly, they’re hyping the buzzwords. I mean, who puts a “bookmark this page on del.icio.us” link on a web site? That’s just arrogant man.

    Personally I believe AJAX needs to be used with more discretion. The browser does a great job at loading new pages and running the navigation like users know, and throwing all that away is just ignorant. AJAX is a great technology when it’s used right, but I see it as nothing more than a pretty tech demo when used exclusively.

  15. timothy Commented at 7:16 am on October 4th 2005

    i agree whole-heartedly and was merely pointing out their version so you’d see just how much better yours is… i know i noticed the difference.

  16. Jon Commented at 3:27 pm on October 4th 2005

    Just came across ZenPhoto and I love it. I currently use coppermine and am going to make the switch to zen very soon.

    I made a modification to the thumbnail script so that sharper thumbnails are created. You can see an example at http://www.imalm.com/zp/house/

    Please email me so that we can get this enhancement into the code.

  17. Stephan Commented at 2:42 pm on October 20th 2005

    Hi, I was looking for something nice and clean just like ZenPhoto, but need support for different languages.

    So I added a simple way to translate the strings into different languages and created a german translation. Drop me a mail if you are interested ;o)

  18. Robb Irrgang Commented at 1:51 pm on November 18th 2005

    Currently working on setting up Zenphoto and wanted to report that the way you resolve paths does not work on a CGI-PHP based host like dreamhost. I can tweak the code a bit – and probably will – ‘cause I want this thing to work.

  19. Tristan Commented at 12:20 am on November 19th 2005

    Robb – I am aware of that bug. Hopefully will be fixed for 1.0. Path resolution will definitely be improved at the very least. Thanks for testing!

  20. David Commented at 6:53 pm on December 11th 2005

    Any way that some sort of financial contribution would speed up the development process?

  21. Tristan Commented at 3:26 am on December 12th 2005

    Ooooh… I’m sure it wouldn’t hurt…

  22. David Commented at 10:03 am on December 12th 2005

    Is there a donation system already in place?

  23. Yann Vandeputte Commented at 1:01 pm on February 17th 2006

    Hello Tristan,

    Thanks for your Zenphoto that I recently discovered. As a contribution, for your next version, I’ve made a french translation you can see here: http://entrevoisins.free.fr/zenphoto/

    I’ve also translated the admin. I can send you all the files in french and I can translate every new stable version as well.

    All the best and congratulations for this beautiful stuff!

    Yann

Leave a Reply

Some XHTML allowed.