Ok, does me well. Saves postage ;o) Since the slideshow tends to freak out sometime, i set the duration in the slideshow.js to 2.0 sec.. (line 127 `new Effect.Appear(this.photo, {duration: 2.0, queue: 'end',` That works well. One more bug: When i split an album up in several parts, the slideshow only plays the first one. Even when i look at part 3, it plays part 1 when i choose the slideshow. I now put 97 images on one page, doesn´t look very neat. P.S. I translated a lot of the theme into german.
Yes i've got it working. But i think it would be better to put the thumbnails on the random photos instead of the full photo. im still trying to figure this out. does anyone know how to do this?
I did a new install and then just activated the theme, but this is the error message I get ... any ideas?
Fatal error: Call to undefined function: printcustomalbumthumbimage() in /home/bon2005/public_html/klaimandesigns/gallery/themes/thinkdream/index.php on line 28
but reflexion.js has a bug in IE : albums thumbs are not clickable when reflexion works. There is a simple way to fix that : in index.php, add this line to the album img tag :
When I am looking to this theme, I see a little square behind your text in the EXIF data (you know, the one you sometimes get when a character isn't available). After model and date. It does the same thing if I install the theme on my gallery. What is that? How can I get rid of it?
I believe that is some extraneous data from the EXIF call, but I was never sure. Anybody care to take a stab at what it might be?
I've been living with it, but it'd be nice to have someone tell me what might be causing it. I thought it had something to do with a newline character, but I could never fix it.
Ah okay. If anyone knows a solution, that would be great. I am going to take a look at it too.
- edit - It is gone, if you change on line 791 of exif.inc.php the following: $ByteCount to $ByteCount-1. But I wonder if that is the good way. I doubt it.
I have small problem.. Why is my fadein script non bitsy only in Firefox? I am running local server apache, in opera, there is loading image very bitsy and in IE it even doesnt work... I have the same fadein.js file as you, Skwid..
A good example for using the separate libraries rather than the built in functions is not every person has EXIF capabilities built into their PHP installations. But either way that is more comfortable, it's just making the theme a bit more flexible.
I thought about keeping it in, but it was kind of redundant since the album dates really aren't working yet, and the main index page from the stopdesign theme did not much else but show the first 6 galleries. I suppose for anyone who wanted that function they could add it back in. The theme automatically shows only the first 6 albums anyway, and then a nice quick access navigation numbered list to get to the rest.
I didn't want to change the zenphoto architecture too much. That way when you upgrade, you don't have so much work when you replace files in the directory.
okay .. thank you .. I just removed the <a href ...
btw when I changed the "if (isset($zpitems[1]) && $zpitems[1] != 'slideshow')" I couldn't browse the album pages anymore.. just the first 6 on the mainpage. I changed it back and everything was fine again .. and the slideshow within the albums works as well ...
It was recommended to us (Skwid and I) to make that change per Trisweb, the developer, due to a mod_rewrite bug. That's why the album page broke when you made the change. The slideshow is an integral part of the album.php.
I didn't mess around too much with new pages in Zenphoto. We did do a separate credit.php page, but that use just a call to ?p=credits (as seen in the theme's footer). You could theoretically do that in your theme, and make custom pages to do what you want.
The archive page incidentally is all that is. The link on the stopdesign theme just links to href="index.php?p=archive", which is the archive.php file.
I get a series of erros like these when I click on an individual photo (ZP 1.03 with thinkdreams 1.0).
Note that the directory fix suggested in the posts above did not work (the path is still correct), nor commenting out the EXIF stuff. It also takes a long time before the errors show up, it is as if the browser hangs - the CPU time also shoots up to 100% (this is on a local PC).
ZP is installed in the 1photo directory under the root of my WIN/PC installation. All other themes work fine.
Warning: fopen(../zenphoto/albums/France/Aigueze 1689.jpg): failed to open stream: No such file or directory in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 464
Warning: filesize(): Stat failed for ../1photo/zenphoto/albums/France/Aigueze 1689.jpg (errno=2 - No such file or directory) in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 467
Warning: filectime(): Stat failed for ../zenphoto/albums/France/Aigueze 1689.jpg (errno=2 - No such file or directory) in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 468
Warning: fgetc(): supplied argument is not a valid stream resource in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 471
Warning: feof(): supplied argument is not a valid stream resource in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 479
Warning: fread(): supplied argument is not a valid stream resource in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 517
Hi Thank you very much for this great theme. I found bugs but I don't know how to correct them. The thumbnails are not displaying good with Opera. There is a problem with the hover fonction with Konqueror: when the mouse is on a thumb, this one disapear. If I remove those lines: ` filter: alpha(opacity=100);
Issue 1. Galleries link does't work. Issue 2. if you look at my site, there is an issue when a album name becomes too long. I figure this is either a margain or a height issue in the css. I tried chanign a few i thought would fix it to no avail. Ideas? (besides shrinking the size of my title)
1. yup. we never utilized that link. what i did was just put an empty link to # in the href=" " code for the link. The original stopdesign theme had an archive page, and the index page didn't show more than 6 albums. Skwid and I changed that. 2. Shrinking the size of the title would be my suggestion. One thing I did was to activate the album date features which are disabled in the code right now. They work OK, as long as you stick to the date format. That way, you can remove the date in each title, which may help your formatting issues. The stopdesign theme is very "constraining" in its css, such that you can't play with the album layout very easily without messing up the layout itself.
I ended up combining a few things I learned over the past few months, and built my current theme, see at:
To your htaccess. You also have to make some modifications to your template-functions.php to correct a bug in the mod_rewrite functionality per Trisweb:
if (isset($zpitems[1]) && $zpitems[1] != 'slideshow') $req_image = $zpitems[1];
It needs to be added at about line 47 of the code, right below: if (isset($zpitems[0]) && $zpitems[0] != 'page') $req_album = $zpitems[0];
As it stands, just installation of the theme, without these modifications, the slideshow won't work properly, as the index.php isn't interpreting the slideshow linkages properly.
I think the original Q/A regarding this issue is somewhere on the forums. Look for "thinkdreams" and you should be able to trawl through my posts to find the original work Skwid and I did with Trisweb's help.
To answer the IE query, well, suffice to say I'm a hardcore firefox user. IE makes me cringe with incompatibility. I copied a lot of the code from the Stopdesign theme, and the Stopdesign theme has issues of its own with IE. So, unfortunately, I never took the time to modify it to work properly in both browsers. I know that's not much help, but Skwid and I didn't think to code in some cross-browser compatibility.
Thanks man for your prompt and informative reply. If I get a chance, I will write a fix in both css and php files for cross browser compatability. IE sucks, but unfortunately, still is the most widely used browser to date. IE 7 suggests more comp with CSS 2 but no doubt it will be on Microsofts terms as to what will be compatable, and what will simply be arrogance.
Comments
glad you got it working. actually if you're sending bratwurst, split it up and send one to canada for Skwid (provided he's not a veggie kind of guy)
(Only kidding, no gifts necessary - i'm just glad you got it working and enjoy it.)
Thinkdreams.
Since the slideshow tends to freak out sometime, i set the duration in the slideshow.js to 2.0 sec..
(line 127 `new Effect.Appear(this.photo, {duration: 2.0, queue: 'end',`
That works well.
One more bug: When i split an album up in several parts, the slideshow only plays the first one. Even when i look at part 3, it plays part 1 when i choose the slideshow. I now put 97 images on one page, doesn´t look very neat.
P.S. I translated a lot of the theme into german.
That's what should be in the theme also ..
Fatal error: Call to undefined function: printcustomalbumthumbimage() in /home/bon2005/public_html/klaimandesigns/gallery/themes/thinkdream/index.php on line 28
Many thanks
but reflexion.js has a bug in IE : albums thumbs are not clickable when reflexion works.
There is a simple way to fix that : in index.php, add this line to the album img tag :
onclick="document.location.href='<?=getAlbumLinkURL();?>';" style="cursor: pointer;"
Does anyone fixed the exif display in IE ?
What seems to be the trouble with EXIF in IE?
Thinkdreams.
This can be fixed in photo.css replacing #desc elements by
#desc {
float:right;
width:50%;
margin-left:-250px;
padding-top:120px;
font-size:85%;
line-height:1.6em;
}
#desc h1 {
max-width:30em;
margin:0;
padding:10px 15px 5px 265px;
border-width:0;
font:bold 100% Verdana,Sans-serif;
line-height:1.6em;
letter-spacing:0;
text-transform:none;
text-align:left;
}
#desc>h1 {
}
#desc p {
max-width:30em;
margin:0;
margin-left: 260px;
padding:3px;
border-width:0;
line-height:1.6em;
letter-spacing:0;
text-transform:none;
text-align:left;
}
#desc>p {
}
#desc div {
max-width:30em;
margin:0;
margin-left: 260px;
padding:3px;
border-width:0;
line-height:1.6em;
letter-spacing:0;
text-transform:none;
text-align:left;
}
#desc>div {
}
I've been living with it, but it'd be nice to have someone tell me what might be causing it. I thought it had something to do with a newline character, but I could never fix it.
- edit -
It is gone, if you change on line 791 of exif.inc.php the following: $ByteCount to $ByteCount-1.
But I wonder if that is the good way. I doubt it.
I found the solution. Use the trim function in PHP. Example:
//Camera Model
if ($er->ImageInfo[TAG_MAKE]){
$info['model'] = trim($er->ImageInfo[TAG_MODEL]);
}
Btw, another thought, why not just use exif_read_data() instead of the script included in your theme? Seems very easy.
Thinkdreams.
I thought about keeping it in, but it was kind of redundant since the album dates really aren't working yet, and the main index page from the stopdesign theme did not much else but show the first 6 galleries. I suppose for anyone who wanted that function they could add it back in. The theme automatically shows only the first 6 albums anyway, and then a nice quick access navigation numbered list to get to the rest.
I didn't want to change the zenphoto architecture too much. That way when you upgrade, you don't have so much work when you replace files in the directory.
Thinkdreams.
btw when I changed the "if (isset($zpitems[1]) && $zpitems[1] != 'slideshow')" I couldn't browse the album pages anymore.. just the first 6 on the mainpage. I changed it back and everything was fine again .. and the slideshow within the albums works as well ...
http://www.zenphoto.org/support/topic.php?id=599#post-3278
It was recommended to us (Skwid and I) to make that change per Trisweb, the developer, due to a mod_rewrite bug. That's why the album page broke when you made the change. The slideshow is an integral part of the album.php.
I didn't mess around too much with new pages in Zenphoto. We did do a separate credit.php page, but that use just a call to ?p=credits (as seen in the theme's footer). You could theoretically do that in your theme, and make custom pages to do what you want.
The archive page incidentally is all that is. The link on the stopdesign theme just links to href="index.php?p=archive", which is the archive.php file.
Does that help?
Thinkdreams
Note that the directory fix suggested in the posts above did not work (the path is still correct), nor commenting out the EXIF stuff. It also takes a long time before the errors show up, it is as if the browser hangs - the CPU time also shoots up to 100% (this is on a local PC).
ZP is installed in the 1photo directory under the root of my WIN/PC installation. All other themes work fine.
Warning: fopen(../zenphoto/albums/France/Aigueze 1689.jpg): failed to open stream: No such file or directory in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 464
Warning: filesize(): Stat failed for ../1photo/zenphoto/albums/France/Aigueze 1689.jpg (errno=2 - No such file or directory) in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 467
Warning: filectime(): Stat failed for ../zenphoto/albums/France/Aigueze 1689.jpg (errno=2 - No such file or directory) in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 468
Warning: fgetc(): supplied argument is not a valid stream resource in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 471
Warning: feof(): supplied argument is not a valid stream resource in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 479
Warning: fread(): supplied argument is not a valid stream resource in c:\easyphp\www\1photo\zenphoto\themes\thinkdreams\exif.inc.php on line 517
Thank you very much for this great theme.
I found bugs but I don't know how to correct them.
The thumbnails are not displaying good with Opera.
There is a problem with the hover fonction with Konqueror: when the mouse is on a thumb, this one disapear. If I remove those lines:
` filter: alpha(opacity=100);
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1.00; opacity:1;`
from the photo.css file, it's ok but without this effect.
thank you
If I'm not mistaken, neither of those browsers support the alpha transparency functionality (at least not with the way the css is currently coded)
Anybody else care to comment?
The opacity is not an essential function, Skwid and I just put it in there for look and feel.
Issue 1. Galleries link does't work.
Issue 2. if you look at my site, there is an issue when a album name becomes too long. I figure this is either a margain or a height issue in the css. I tried chanign a few i thought would fix it to no avail. Ideas? (besides shrinking the size of my title)
Thoughts?
2. Shrinking the size of the title would be my suggestion. One thing I did was to activate the album date features which are disabled in the code right now. They work OK, as long as you stick to the date format. That way, you can remove the date in each title, which may help your formatting issues. The stopdesign theme is very "constraining" in its css, such that you can't play with the album layout very easily without messing up the layout itself.
I ended up combining a few things I learned over the past few months, and built my current theme, see at:
http://www.thinkdreams.com/zenphoto
It matches my blog:
http://www.thinkdreams.com/blog
I borrowed a lot from Chili's JoshuaInk port, and then tweaked the look and feel a bit.
1. When I click on the slide show link, I get the following error: Zenphoto error: image does not exist.
The URL track shows as follows: www.[domainname].com/gallery/[album name]/slideshow
*URL info shown without parenthesis
2. Your theme looks and works (other than the issues I am posting) great in Firefox, but looks totally tragic in IE.
Your help resolving this would be great.
Did you make modifications to your htaccess file to support the slideshow functionality? You've got to add:
RewriteRule ^([^/]+)/slideshow/?$ index.php?album=$1&view=Slideshow [L,QSA]
To your htaccess. You also have to make some modifications to your template-functions.php to correct a bug in the mod_rewrite functionality per Trisweb:
if (isset($zpitems[1]) && $zpitems[1] != 'slideshow')
$req_image = $zpitems[1];
It needs to be added at about line 47 of the code, right below:
if (isset($zpitems[0]) && $zpitems[0] != 'page')
$req_album = $zpitems[0];
As it stands, just installation of the theme, without these modifications, the slideshow won't work properly, as the index.php isn't interpreting the slideshow linkages properly.
I think the original Q/A regarding this issue is somewhere on the forums. Look for "thinkdreams" and you should be able to trawl through my posts to find the original work Skwid and I did with Trisweb's help.
To answer the IE query, well, suffice to say I'm a hardcore firefox user. IE makes me cringe with incompatibility. I copied a lot of the code from the Stopdesign theme, and the Stopdesign theme has issues of its own with IE. So, unfortunately, I never took the time to modify it to work properly in both browsers. I know that's not much help, but Skwid and I didn't think to code in some cross-browser compatibility.