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 24. Nov 2024, 13:47

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  [ 10 posts ] 
Author Message
 Post subject: lightbox in random image
PostPosted: 17. Jul 2008, 05:28 
Offline

Joined: 16. Jul 2008, 16:26
Posts: 14
I have installed the tinywebgallery 1.7.4 and registered version. I want to add the lightbox into random image. So what I will do for this?


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 11:22 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you would have to implement (very easy) this by yourself because the random image
is intended e.g. to be on an external page. There you simply have to add the lightbox parameters.
The help on lytebox or lighbox2 will help you there.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 13:52 
Offline

Joined: 16. Jul 2008, 16:26
Posts: 14
For external page I am using for image source is <img src="twg/image.php?twg_album=&twg_random=2&twg_type=random&twg_random_size=110&twg_random_subdir=true">
and I am putting the anchor parameter is

<a href="" rel="lytebox" title="">
<img src="twg/image.php?twg_album=&twg_random=2&twg_type=random&twg_random_size=110&twg_random_subdir=true">
</a>

My question is what will be the value of href of anchor?


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 14:31 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
right - tricky ... right now I think that cannot be done because the link has to be dynamic (because of the random image)

and the
"index.php?twg_random=1" does return a full page. You would have to extend the random functionality that the full image is returned.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 14:46 
Offline

Joined: 16. Jul 2008, 16:26
Posts: 14
please give me a example of external page for random image with lytebox.


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 14:59 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
http://www.tinywebgallery.com/en/faq.php#h4

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 18:53 
Offline

Joined: 16. Jul 2008, 16:26
Posts: 14
how-to 4 has been described only for random image not lytebox. I want to display the random image dynamically(twg_album will be empty) with the effect of lytebox. Is it possible?


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 19:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
No - I already wrote this before! you would have to code this by yourself - not very hard to do.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 20:03 
Offline

Joined: 16. Jul 2008, 16:26
Posts: 14
Myself can not to do and thats for I told you.


Top
 Profile  
 
 Post subject:
PostPosted: 17. Jul 2008, 20:17 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't have time right now.

And if you like a customization you simply have to pay me...

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 77 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