Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 6. Dec 2022, 10:05

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: 29. May 2006, 08:35 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
Hello,
I want to use the lightbox feature on the Image page. I am registered, read the how-to 33 and added "$activate_lightbox_image=true;" in "my_config.php".
But nothing happens. There isn´t "lighbox/css/lightbox.css", too.
Do I have to download this programm somewhere else? How do I make it work?


Top
 Profile  
 
 Post subject:
PostPosted: 29. May 2006, 09:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you need 1.4.2 for this - I have included this from this version on.
lighbox/css/lightbox.css should be in the download of this version.
I just rechecked the download. It's in there ;).

And no you cannot use the original lighbox script because I fixed some bugs and made some enhancements to make it nicely work with TWG.

The entry in the config seems good to me ;).

In the download is the config of demo1 where I activated it too.
You can find it at examples/my_config.php_demo1.txt

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 29. May 2006, 12:28 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
ah...! Yes, that´s it!
I´ve downloaded TWG on the 16th may and have not expected that there is a newer version already... :wink:
Now I have "lighbox/css/lightbox.css"
Thanx for the quick reply!!!


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 08:18 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
hi, it´s me again...
I have updated the twg and the lightbox works, but there are still some things I want to ask:
1. Is there a way to activate the "forward/ backward" funktion of the lightbox in the imageview? In the thumbnail view it works, but not in the imageview...
2. It is always shown the first caption, even if you´re watching the 10th picture. I have set the "use-filename-as-caption" funktion tu true.
3. Is it possible when using the tgw in an i-frame to let the lightbox the whole screen fade to black wehen clicking on a picture, not just the i-frame? I have tried the include()php, witch does fade the whole screen, but therefore I have a problem with my navigation. The "index.php" looks fine, but when klicking on an album to choose it, this distroyes my navigation that is written in JavaScript: the background is still there but the text in the div´s not. When clicking the "back" button on the browser everything is fine...


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 08:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

1. it's not possible in the image view because the lighbox script can only show images that are already shown - and I haven't sucessfully attached the lightbox script to the moving thumbs strip.

2. true - I don't change the alt text in dhtml - I have to change that in the next build. I'll let you know when this is fixed.

3.
no it's not - an iframe is like it's own page. using php include is the only way. with the navigation I think maybe css is interfering. have you made global settings in the css or really defined them for each element?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 09:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
redownload TWG 1.4.2 and replace the
inc/image.inc.php and
inc/cmotiongallery.inc.php

and the captions are changed in the lightbox too.

I checked about the lightbox right/left in the image view. It is not possible because the lighbox uses the existing href of a link. The thumbs don't have a nice link but only a javascript function. I think I would have to change the lighbox sript at many point to get this to work ....

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 09:07 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
Ohhh...

I don´t know (...what you mean...)...
I am not a progammer, I am a -"copy + paste" and then editing the script in the "try and error" way- guy...
The script for the navigation is from dynamicdrive... I think you kwon them :wink:

my original page: http://www.olox.de
(bis jetzt nur JavaScript mit 2 Frames- aber ich arbeite daran...)

well, I will try it with include()


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 09:24 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

you could try something else.

TWG includes a header.htm and a footer.htm

if you put a table in header.htm like

<table cellpadding='0' cellspacing='0' height="100%" width="100%"><tr><td>the javascript for the left navigation</td><td><table cellpadding='0' cellspacing='0' height="100%" width="100%">

and in footer.htm like

</table></td></tr></table>

you can include your javascript navigation. but I don't know how good the navigation is because it would have to keep track of his onw state (that you see still the selection of the menu!).

With this solution you can e.g. make twg only to have only 90% of width or height ;).


/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 09:35 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
hey

good idea!
I will try! Results tomorrow...! :lol:


Top
 Profile  
 
 Post subject:
PostPosted: 30. May 2006, 23:44 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
hello!

I´ve tried and tried...
The javascript of the navigation have to be seperated form the twg... So I have done it the other way round! I´ve made a new php side where I included the index.php of twg- and the navigation in an I-frame...
However is the iframe in opera in the forground, but in ie it works (it says "Fehler auf der Seite" on the index.php page, but everything works fine...!)

#removed_broken_link

...it is still a working tile!!!


Top
 Profile  
 
 Post subject:
PostPosted: 31. May 2006, 00:05 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The idae with the iframe for the navigation is good - But I still would put this in header.htm and footer.htm.

I have checked your site with Firefox and it does not look optimal yet.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jun 2006, 09:13 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
Hi!
Everything works fine (in ie) so far, but there is one little thing: sometimes when clicking on the small image to get the big one in the lightbox, there isn´t the "close"- picture shown in the right corner...
Closing the window works all the time, but the "close" image is only shown sometimes . And why sometimes? I don´t like things that works "sometimes"...

#removed_broken_link

_________________
... irgendwas ist ja immer!


Top
 Profile  
 
 Post subject:
PostPosted: 7. Jun 2006, 10:08 
I tried and I always get the close button.
Thats hard to track down.

if FF you can click on the image to close it - but ie handles this differently...
I think you know that the description in ff is shown behind the images!

/Michael


Top
  
 
 Post subject:
PostPosted: 7. Jun 2006, 11:51 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I have added the support to close the image in ie by clicking on the image too. And esc closes it.

x did close the image before already - I will release this sometimes next week :) - it will be 1.4.2.1.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 8. Jun 2006, 11:11 
Offline

Joined: 29. May 2006, 07:13
Posts: 31
Location: Lübeck, Germany
Thanx for that!
And maybe I will modify the code for ff next week...

_________________
... irgendwas ist ja immer!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy