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 30. Nov 2022, 22:04

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  [ 14 posts ] 
Author Message
PostPosted: 24. Feb 2007, 18:06 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
I have templates that I use for each listings. ( Pages show information about a business, name, address etc.. ) and I want to add the scroll bar to their own images if they have any. I figure out the random images that work great and simple to do. But I would like to add the scroll images like on your main screen on each of my pages.

Second, because of the each template used an ID is there a way to change the ID on the images to match the ID that is on my system ?

Thanks,

Larry


Top
 Profile  
 
 Post subject:
PostPosted: 24. Feb 2007, 18:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it's quite hard to extract the scrollbar and make it random too. I generate a lot of Javascript code on the fly to archive that on the detail page - there is no simple way to extract that.

2. You mean the id you use for the random image? you can actually use anything there! It has just to be unique on the page you include! the id is used to find the right gallery if you click on one of the random images.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Feb 2007, 21:00 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
I used this code, for random display...

$ckey= the listing id

<a>
<img>
</a>

I don't want to make the scroll bar random. But if $ckey = 2 then that will display the listing id plus the scroll bar of their gallery images. If this does not work then I will just use the random part of the code.

Another example, if you see the link below

www greatplaces4u com/home/search_detail.php?ckey=69

sorry can't post a link though

Under the
Learn more about the life and times of Margaret Tobin Brown.

I would like to put a scrolling images of the gallery if any.

Thanks for any help,
Larry


Top
 Profile  
 
 Post subject:
PostPosted: 24. Feb 2007, 21:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I don't think you can make it to extract the cmotion gallery instead a random image. You would have to code that.

/Michael


Top
 Profile  
 
 Post subject: Random Image
PostPosted: 25. Feb 2007, 19:57 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
I use the code to random 1 image. Works great.

Code I use is

<a>
<img></a>

If I use this twice to show two images they display the same image. Is there away to display two different images ?

You have to registered the program for only 10 Euro per domain/host what is that in USD ?

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 20:01 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you should post real code. I don't see something.

You have to use different values for twg_random

1, 2, 3 is fine

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 20:28 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
Not sure how to make it real for you.

Your system keeps deleting everything no matter what I do.... So sorry it can't be real enough... guess I will figure it out...

I try to send PM to you but when I pre-vew it... The code is gone. So I give up............. :cry:


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 20:33 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have to post at least 3 posts before you can post urls - spamprotection!
now you have 4 - try again. and use bcc
for code

Code:
code


Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 20:41 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
Code:
<a>
<img>
</a>


In preview I use the code and it shows the box but not the code... :x

maybe you can post a simple code that will show two random images from one directory ?

Thanks for you help,


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 20:52 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
simply go to the howtos - there is a whole example shown ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 20:58 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
AH well I tired.... That is were I found the code....


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 21:13 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
In the examples folder is a working example in the random.htm and in the iframe include example.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 25. Feb 2007, 21:17 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
Figured it out... after trying many options and now it works.

Thanks,


Top
 Profile  
 
 Post subject:
PostPosted: 26. Feb 2007, 02:47 
Offline

Joined: 24. Feb 2007, 17:55
Posts: 17
Well, I have the ID pass along that works, Displays 2 random images and now has the scroll bar shows images in that listing....

Ah, all works well.... :D


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 4 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