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 17. Oct 2017, 05:49

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 4. Aug 2009, 05:42 
Offline

Joined: 31. Aug 2007, 22:11
Posts: 7
Hi,

I want to integrate gigapan.org pictures on TinyWebGallery like youtube videos are, can you help me?, example code for embedded gigapan's follows:

Code:
<script>
   function FlashProxy() {}
   FlashProxy.callJS = function() {}
</script>
<embed type="application/x-shockwave-flash"
src="http://gigapan.org/viewer/PanoramaViewer.swf?url=
http://share.gigapan.org/gigapans0/18107/tiles/&suffix=.jpg&startHideControls=0&width=15201&height=3929&nlevels=7&cleft=0&ctop=0&cright=15201.0&cbottom=3929.0&startEnabled=1&notifyWhenLoaded=1",
height="400" width="90%">

Best regards
Nor


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

Joined: 1. Aug 2005, 12:53
Posts: 10494
which is the variable? 18107?

or are there different variables like the sub domain as well. Because you can only have one variable which is replaced by the file name.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Aug 2009, 13:15 
Offline

Joined: 31. Aug 2007, 22:11
Posts: 7
Hi,

18107 is filename or gigapan's unique identifier.

width, height, cright and cbottom variables also are unique for this particular file (his size).

startHideContols, width and height variables can be freely configurable to fit page design.

Till I understand subdomain is the same all times. also suffix variable is fixed.

cleft and ctop variables I see ever are =0, I understand this place gigapan on full view on load, but I'm not fully sure.

I don't known what means nlevels variable.

Best regards
Nor


Top
 Profile  
 
 Post subject:
PostPosted: 4. Aug 2009, 13:58 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10494
Should work -

you have to set

$video_flash_site="http://gigapan.org/viewer/PanoramaViewer.swf?url=http://share.gigapan.org/gigapans0/";
$video_autostart_parameter="/tiles/&suffix=.jpg&startHideControls=0&nlevels=7&cleft=0&ctop=0&cright=15201.0&cbottom=3929.0&startEnabled=1&notifyWhenLoaded=1";

in video.php and use the number as image name.

- michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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® Forum Software © phpBB Group

phpBB SEO