Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Scroll Bar and ID Numbers
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=913
Page 1 of 1

Author:  larrywcc [ 24. Feb 2007, 18:06 ]
Post subject:  Scroll Bar and ID Numbers

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

Author:  TinyWebGallery [ 24. Feb 2007, 18:47 ]
Post subject: 

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

Author:  larrywcc [ 24. Feb 2007, 21:00 ]
Post subject: 

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

Author:  TinyWebGallery [ 24. Feb 2007, 21:12 ]
Post subject: 

I don't think you can make it to extract the cmotion gallery instead a random image. You would have to code that.

/Michael

Author:  larrywcc [ 25. Feb 2007, 19:57 ]
Post subject:  Random Image

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,

Author:  TinyWebGallery [ 25. Feb 2007, 20:01 ]
Post subject: 

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

Author:  larrywcc [ 25. Feb 2007, 20:28 ]
Post subject: 

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:

Author:  TinyWebGallery [ 25. Feb 2007, 20:33 ]
Post subject: 

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

Author:  larrywcc [ 25. Feb 2007, 20:41 ]
Post subject: 

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,

Author:  TinyWebGallery [ 25. Feb 2007, 20:52 ]
Post subject: 

simply go to the howtos - there is a whole example shown ;).

/Michael

Author:  larrywcc [ 25. Feb 2007, 20:58 ]
Post subject: 

AH well I tired.... That is were I found the code....

Author:  TinyWebGallery [ 25. Feb 2007, 21:13 ]
Post subject: 

In the examples folder is a working example in the random.htm and in the iframe include example.

/Michael

Author:  larrywcc [ 25. Feb 2007, 21:17 ]
Post subject: 

Figured it out... after trying many options and now it works.

Thanks,

Author:  larrywcc [ 26. Feb 2007, 02:47 ]
Post subject: 

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

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/