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, 10: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  [ 8 posts ] 
Author Message
 Post subject: Random Photo and tags
PostPosted: 20. Aug 2009, 03:22 
Offline

Joined: 20. Aug 2009, 03:08
Posts: 5
I am embedding TWG in another webpage. It have the random photo working but how can I display automatically the IPTC already open on the right or the left.

I use the:
Code:
image.php?twg_album=&twg_random=1&twg_type=random&twg_random_size=200&twg_random_subdir=true


1. I don't even get the top 40 tag menu at the top right or any menu item in the random function. I get the menu when I display the gallery and the individual photo.
2. Changing the "twg_random_size=" does not make any change in the size of the photo or the top right menu display.

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: 20. Aug 2009, 08:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
this code shows a random image - not more.

How and where do you want to get a menu item or the topx cloud?

http://www.tinywebgallery.com/en/faq.php#h4

shows how to do the setup.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 21. Aug 2009, 22:58 
Offline

Joined: 20. Aug 2009, 03:08
Posts: 5
TinyWebGallery wrote:
http://www.tinywebgallery.com/en/faq.php#h4

This is the: 4. How to setup a random image of topx image on a different site/frame. It does not show how to display the TWG top right menu and/or display the IPTC tags. What I need is to display the IPTC tags.
Code:
<a href ='index.php?twg_random=1'>
<img src="image.php?twg_album=xxx|zzz&twg_random=1&twg_type=random&twg_random_size=200">
</a>

I don't see how to display the IPTC tags, I only see these parameters:
twg_type
twg_album
twg_random
twg_random_size
twg_random_subdir


Top
 Profile  
 
 Post subject:
PostPosted: 22. Aug 2009, 07:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
right - because it is to display a random image and not iptc data.

iptc data is used to be extracted by TWG and uses as captions or tags.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Aug 2009, 17:56 
Offline

Joined: 20. Aug 2009, 03:08
Posts: 5
TinyWebGallery wrote:
right - because it is to display a random image and not iptc data.

iptc data is used to be extracted by TWG and uses as captions or tags.


I'm not sure I explained myself properly, english is not my first language. I'd like to display both the photo and the keywords. So how can display it? Style sheets? webpage? How to add it?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: 25. Aug 2009, 23:39 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
You cannot show iptc data automatically on a different page with the random image because the data is not available there.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 28. Aug 2009, 03:34 
Offline

Joined: 20. Aug 2009, 03:08
Posts: 5
TinyWebGallery wrote:
You cannot show iptc data automatically on a different page with the random image because the data is not available there.

No, I want to do it on the same page? How?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: 28. Aug 2009, 07:14 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to implement that because if it is on a different page it is not connected to TWG anymore. With images this is possible because the src of an image can come from a different page.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

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