lightbox

5 views
Skip to first unread message

DasJan

unread,
Apr 29, 2008, 5:07:51 AM4/29/08
to Gelato CMS
Hi!

I'm also having a lightbox problem.

If I ckick on an image in the tumblelog the box shows up, and the
loading animation appears and stays there without the image ever
loading.

http://metabrot.gesternwarnichtheute.de/jan/lightbox.png

Any ideas?

DasJan

unread,
Apr 29, 2008, 5:34:15 AM4/29/08
to Gelato CMS
Ok, I'm one step further now. I discovered that uploaded files were
saved to my uploads directory without read permissions.

So I added:

chmod("../uploads/".sanitizeName($_FILES['photo']['name']), 0644);

to admin/bm.php and admin/index.php

Now the files have read permissions an I can access them directly by
going to the uploads directory.

My hope was this would solve the lightbox problem, but it didn't.
Lightbox still doesn't load the images, it just sits there loading.

DasJan

unread,
Apr 29, 2008, 5:36:51 AM4/29/08
to Gelato CMS

The installation is located here: http://metabrot.gesternwarnichtheute.de/jan/gelato/

DasJan

unread,
Apr 29, 2008, 5:44:04 AM4/29/08
to Gelato CMS
After some further testing ....

It works fine in Safari. So I restarted Firefox and cleared the cache
and restarted once again and it still didn't work. Then I enabled
Firebug in hopes that it would lead me to the problem. Then suddenly
the lightbox works and the images show up in Firefox. After disabling
Firebug again it's not working anymore. Strange?

pecesama

unread,
Apr 29, 2008, 11:18:44 AM4/29/08
to Gelato CMS
Hi,

some months ago we talk about this problem ( http://abbrr.com/9NH ),
and this was the solution:

Use this jQuery version

http://gelatocms.googlecode.com/svn/trunk/admin/scripts/jquery.js

and this lightbox version

http://gelatocms.googlecode.com/svn/trunk/admin/scripts/lightbox.js

Hust replaces the actual ones on admin/scripts/

Regards,
Pedro.

DasJan

unread,
Apr 29, 2008, 3:52:30 PM4/29/08
to Gelato CMS
I already found that thread earlier and did that, then it didn't work.
Now I just replaced them again and now it seems to be working.

Thanks,
Jan
Reply all
Reply to author
Forward
0 new messages