Thinkdreams Theme released !

Skwid Member
Ladies and gentlemen ... Here it is !
Fades on thumbnails, EXIF data, slideshow, reflection, random picture, it's all there !

This is the result of much work from me and Craig, we hope you enjoy it !

You can download the theme from the wiki: http://www.zenphoto.org:8080/confluence/download/attachments/333/thinkdreams-1.0.zip?version=1
Or you can see it in action there:
http://pics.lostocean.net/
There are a few important nodes in the README.txt.

Please submit any bugs here.

(PS: I have another one in the oven, stay tuned !)
«134

Comments

  • Daxeno Member
    TYVM Skwid.
  • You may or may not know this but your exif info is erroring out your image page. looks as if it cannot read somethign or a path error

    Warning: fgetc(): supplied argument is not a valid stream resource in /home/.chat/skwid/pics.lostocean.net/themes/thinkdreams/exif.inc.php on line 504, I have messed with that exif library.. should be an easy fix.

    and about a hunderd other ones..

    Otherwise.. I love the work you guys have done with the theme.. very good work.. I love the way themes are lookin now.

    I just installed it with out errors

    http://beta.chilifrei.net/thinkdreams/
  • also not that anybody SHOULDNT upgrade to the latest version but it does not work with 1.0.1...
    but that is because of the custom image sizes for themes were added in version 1.0.2
  • *sniff* brings a tear to my eye. my baby has grown up.....

    Thanks for the collaboration with me on this skwid. You've been great to work with.
  • Skwid Member
    Yeah I know about the exif ... It's because the call needs to be different depending if zenphoto is installed in a subdirectory or not. I forgot to change it back when I uploaded on my site.

    It should be fixed now, and thanks for letting me know about the version conflict.
  • I meant to say those custom image sizes were implemented with 1.0.3 and NOT 1.0.2.... My bad
  • VERY nice job guys.
  • Installed 1.0 on Zenphoto 1.3 . Slideshow works but clicking on a single image leaves me with a black screen. I edited the thinkdreams-functions.php concerning the exif-data.
    I put "http://www.monday-music-club.de/wordpress/zenphoto/" as my url in. Wrong? Any Hints? Apart from that, it´s very nice work - thanks a lot

    http:/www.monday-music-club.de
  • Skwid Member
    Thanks for the comments !

    I'm really not sure about your problem .. it's really awkward. Does it work fine with other themes ?
  • Doesn't seem to be generating the entire page, it's hanging up on the EXIF stuff (which is why you get the blank screen - it loads just enough to get the black background from the css file). Have you tried disabling the EXIF capabilities, and trying it without them?

    Are you using the phpEXIFRW library (contained within the .inc.php file within the theme) or the built-in php EXIF libraries from your server?

    Another question would be does your ISP (or your server) have the EXIF support compiled (if you're using the built-in EXIF libraries.

    I also know that Skwid had some trouble with the pathing of the statement:

    $er = new phpExifRW("../" . getFullImageURL());

    Skwid - any comments?

    You probably want to keep the getFullImageURL in there, that way if you ever change your URL, you won't have to modify the code.

    Glad you like the theme.

    Thinkdreams.
  • Skwid Member
    Oh yes .. The code should be ("." . getFullImageURL()) if you are not in a subfolder, and with two dots otherwise (in a subfolder).
  • Thanks for your responses. Glad to find some help.
    1. ZenPhoto works with other themes.
    2. I would definetly prefer to use your theme!
    3. I didn´t understand Skwids last hint. Sorry for not beeing Pro enough...
    4. How do i otherwise disable the exif comments?

    Thank you all!
  • one bug and a couple other thoughts for your exif data:
    bug: you're putting an F in front of the ISO rating, maybe put an ISO instead?

    thoughts: focal length and shutter speed are usually more important than ISO to most people, as most who have shot for a while can tell what ISO it was shot in anyhow
  • QuickNick-

    In response to your query, the line you are looking for is in the thinkdreams-functions.php file, at about line 11. If you note above, the line reads:

    $er = new phpExifRW("../" . getFullImageURL());

    If you modify it to read:

    $er = new phpExifRW("." . getFullImageURL());

    instead, it should work, depending upon how deep in your directory structure you are.

    You can disable the exif entirely by removing this line from the image.php file in the theme:

    <?php $exif = getExif(); ?>

    and the div located just below with class="exifdata". That way the EXIF data won't display at all.
  • Pearofducks-

    Thanks for your comments. Actually, looking at the code, I see that both the focal length and the ISO display have an "f" in front of them, so I will make sure to change that.

    And so you know, you can customize what you want to display by reviewing the exif.inc.php file to see what it captures, and then adding in your own custom lines for EXIF metadata for what you want to see. To do this, you'll need to modify the getExif function in the thinkdreams-functions.php and also add a line in the image.php file to include the display of the data you collect. Skwid and I can help you further if you need it.

    Thinkdreams
  • Also, please note that it depends on your model of camera as to what it displays. I cannot get my Powershot A20 to display ISO data for instance, but then again, a Powershot A20 doesn't have the bells and whistles that a Canon EOS Digital Rebel does.
  • Cheers a bunch from Hamburg, thinkdreams!
  • QuickNick. That's cool, my mom and grandmother are both from Marburg on the Lahn in your country.

    Thanks!
  • Sadly enough it works - with the exif data being disabled. And since i work with 4 different cameras, it would have been excellent to show that data. But nevermind - you done a very nice job. Thank you all once more...

    Hell of a good time here in Germany because of the soccer-worldcup. 35 Nations around - over 4 million visitors - streets are very colourful.
    P.S. Marburg is just 200 miles away... Very nice university-town.
  • Well, Nick, don't give up. Between Skwid and I, we'll get to the bottom of your issue. You might try the reverse of the dorectory advice, and add "../../" to the preceding statement, since you are two directories below your root using zenphoto. See what you get then.
  • Daxeno Member
    Does anyone know how to add borders on the Random images? at least 5px.? :(
  • Dax-

    You should be able to style that just like anything else. This call:

    <?php
    $randomImage = getRandomImages();
    $randomImageURL = getURL($randomImage);
    print "<center>getTitle()."'><img src='".$randomImage->getSizedImage('120')."' alt='".$randomImage->getTitle()."'></center>";
    ?>

    If you want, you can add style information into the above line.

    Thinkdreams
  • Skwid Member
    Hum there are some syntax problems in your line of code. Plus the center tag is deprecated.

    This is what I have:

    <?php
    $randomImage = getRandomImage();
    $randomImageURL = getURL($randomImage);
    echo 'getTitle().'"><img src="'.$randomImage->getCustomImage(null, 230, null, 210, 60, null, null).'" alt="'.$randomImage->getTitle().'" id="random" class="reflect" />';
    ?>

    You can change the class and/ or the id and do whatever you want in the css.
  • Daxeno Member
    It is not working. :(
  • Daxeno Member
    everytym i add the id... it says T_String error.
  • Thinkdream, it works!!!!!! I am gonna kneel down towards Florida for several times today. Tell me where to send the "Bratwurst" and the Photobook from Hamburg...
  • Daxeno Member
    i Know which line to add it. but everytime i add the line id="random", it gives me a string error.
  • Daxeno Member
    i get this error when i tried placing a border on the random photos

    Parse error: parse error, unexpected T_STRING in /home/dakseno/public_html/gallery/themes/stopdesign/index.php on line 90
  • Daxeno Member
    Anyways.. ive fixed it. :D

    TYVM.
  • dax-

    That error you got (i know you already fixed it) usually means a syntax error. I usually find i'm missing a quote or ; somewhere in the code.

    And thanks for the update Skwid on the syntax of my lines. I'm never sure about that old netscape <center> tag.
Sign In or Register to comment.