Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (57-Vette, Chosen), 43 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/24/10
Posts: 8
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#242762 - 04/22/11 01:33 PM Thumbnails in iframe?
rivet Offline
journeyman
Registered: 06/21/10
Posts: 60
How do you guys get a post to display thumbs of images in a directory, within an iframe? I know how to do iframes, I have folders uploaded with full sized images and thumbnails (same names) but need to figure out the .php code to make the thumbs display when the post is made. For example:


Html:
<center><iframe frameborder="0" scrolling="auto" width="900" height="700" src="http://www.mysite.tld/members/forum/thumbs.php?folder=date_name"></iframe></center>


I guess I need a simple thumbs.php script that works? I have seen many online, but they always point to a single file, and I need mine to pull all the images from a folder. I have experiemented but nothing so far. Can anyone assist me?

Sorry I couldnt figure out how to make this particular post using the code tags, so that that code would appear...
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#242765 - 04/22/11 01:46 PM Re: Thumbnails in iframe? [Re: rivet]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
i'd go with a nice jQuery implemenation using PrettyPhoto for the lightbox effect.

that would display your thumbs in columns ( configurable ) and rows.

then when clicked you get the full size and can cycle thru all the images

is the directory fixed with the pictures? or are they randomly updated?

are there other directories involved in other posts?
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#242767 - 04/22/11 01:50 PM Re: Thumbnails in iframe? [Re: rivet]
rivet Offline
journeyman
Registered: 06/21/10
Posts: 60
I am using some old sharware called "highslide" it has nice buttons for left/right/close, and click to show full image, but for the life of me, I can't seem to write/configure the thumbs.php file? Highslide was written to call a single file. The purpose of the postings are news and event releases with photos. I manually upload new folders inside a ongoing/updated "gallery" directory, that I have also created. I make a folder inside the new date_xxx/name_xxx folder with full size images, and one called thumbs. The .php script, needs to look for the thumbs to display them, then have the relative paths for the full images when clicked.
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image