ZenphotoCMS Forum
Thickbox for full image - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: Thickbox for full image (/thread-1169.html)

Pages: 1 2 3 4


Thickbox for full image - s3 - 12-03-2007

Monster: Thanks. It seems to be working. I'm going to have to go back and compare what I did and what you have. My frustration is not that simply doesn't work, rather, that I do not understand what was broken!

Permesso, tell me what you find. I'm running into the same issue.




Thickbox for full image - s3 - 12-03-2007

Monster: It seems, as I've taken a closer look, you've added this subalbum section here:

This makes it work (https), but, when I take it out, it no longer works.

Can you explain this? When I open up your album.php into dreamweaver, it says the code isn't fully functional and has some issues with syntax.

[*]" title="View the album

    " title="View album: ">



Thickbox for full image - s3 - 12-03-2007

You know what monster, if you could explain how you got it to work on http: instead of https: that would be awesome.




Thickbox for full image - permesso - 12-03-2007

I think everything is working for me now. I had 2 issue with getting ssl/https access completely working.

  1. mootools - symptom was security warning box about secure and non-secure content. I had to download the non-compressed version of mootools.js (see monster's post for parts needed) and then I had to change the following line in that file:

document.write("")

to

document.write("")

  1. apache - odd apache issue that may have been because of reverse-proxying I am doing. Symptom was a blank page when any browser other than IE was used (firefox, safari, etc). I has to make sure nokeepalive was set for SSL. Default setting in apache for IE is to turn it off which is why IE worked. I added this and it worked for me. Not sure if it is a good idea :)

SetEnvIf "User-Agent" "Mozilla.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0


Hope this helps. I thought the problems were still occurring but after clearing cache on the browsers, things have been good.




Thickbox for full image - monster - 12-03-2007

@permesso & s3
Hi guys,
this theme which I uploaded to zenphoto official repository
http://www.zenphoto.org/trac/attachment/wiki/ZenphotoThemes/effervescence1.1%2Bslimbox.zip
is modified last version of effervescence (1.1)
Subalbum support was added by Craig - not me.
I added only slimbox feature, which took me less than 2 minutes.
I've created slimbox and copied there all required files
mootools.js, slimbox.js, slimbox.css and gifs for next/previous/close buttons.
Than I added three new lines to the head of album.php
`




Thickbox for full image - s3 - 13-03-2007

Thanks monster. I'm sure all of us have our real full time jobs and are working on zen on the side... so, appreciate all your time!




Thickbox for full image - permesso - 13-03-2007

I agree with s3. Thanks, monster!




Thickbox for full image - tposen - 31-03-2007

I've read through the thread, but I'm a bit hazy on what I need to change if I have a table prefix.

`function getRandomImages() {

$result = query_single_row("SELECT zenimages.filename, zenimages.title, zenalbums.folder FROM images INNER JOIN albums ON zenimages.albumid = zenalbums.id ORDER BY RAND() LIMIT 1");

$image = new Image(new Album(new Gallery(), $result['folder']), $result['filename']);

return $image;

}

`

The prefix is "zen"... it seems as though I changed it properly, but I am getting a line of text with a bunch of text overlaid. If I hightlight it, it tells me that it can't find a "zenfiesta" table. (Which I tried earlier...)
`

= zenalbums.id ORDER BY RAND() LIMIT 1 ) Failed. Error: Table 'zenfiesta.images' doesn't exist`

I don't know where the hell it's pulling "zenfiesta" from. I tried that prefix awhile back, but I have since changed it. It cannot be found in the customfunctions folder. Weird.

Did I add the prefix business correctly?
Thanks for your time! And, excuse my noobness.