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


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

@s3
I took a look to your site's source,
and I see you use roebox
``
Did you try to use slimbox? I don't know what is roebox,
maybe there is something wrong with this java script?




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

Hey monster. Thanks for all your help so far. I've moved to slimbox and it is still giving me issues. The picture is launching below the thumb, etc...




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

maybe you have bad scripts? i dont know
try my files http://www.pawelnawrocki.com/files/slimbox/




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

Must be jinxed. Got a clean copy of eff, downloaded your slimbox, installed, and still broke. it must be magic!




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

At least it isn't just me, s3! I have the same issue. I appreciate the effort monster. I actually have been using your copies of the js and css files all along downloaded directy from your site's directories. Any chance we could just simplify things and you could just zip/tar your entire theme we could work from there. I don't expect you to clean it up for our use - just as is. Thanks again.




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

If I look at the photo that is displayed below the thumbs it just looks like the right third of it is displayed. Interestingly, using the keyboard arrows does move it to the next picture and the transitions look good. Just no overlay as it should. We must be missing something minor.

php 5.1.6
Apache/2.2.3 (Fedora)




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

@permesso
http://www.zenphoto.org/trac/attachment/wiki/ZenphotoThemes/effervescence1.1%2Bslimbox.zip




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

Thanks monster! I got it working with that. I didn't go back and compare things to see why it didn't work before. Thanks for your time.

I am now working through getting it working via https not http. In my setup, I have to use SSL for zenphoto (port 80 is blocked incoming). It appears that there are some issue with using SSL with mootools using the Window.onDomReady() function. I had to download the uncompressed version of the tools and do the mod discussed here:

http://forum.mootools.net/topic.php?id=1738&replies=4

I am still getting inconsistant results though. BTW monster, which parts of mootools are needed to make this work? I pretty much just did them all to get it working.




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

Here are the modules required by Slimbox:

Native: Array, String, Function, Element
Window: Window.Base, Window.Size
Effects: Fx.Style, Fx.Styles (optionally Fx.Transitions)




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




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

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 - 2007-03-12

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 - 2007-03-12

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 - 2007-03-12

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 - 2007-03-12

@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 - 2007-03-13

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 - 2007-03-13

I agree with s3. Thanks, monster!




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

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.