Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Integrate Gigapan.org on TWG https://www.tinywebgallery.com/forum/viewtopic.php?f=4&t=2080 |
Page 1 of 1 |
Author: | npinelo [ 4. Aug 2009, 05:42 ] |
Post subject: | Integrate Gigapan.org on TWG |
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¬ifyWhenLoaded=1", height="400" width="90%"> Best regards Nor |
Author: | TinyWebGallery [ 4. Aug 2009, 08:48 ] |
Post subject: | |
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 |
Author: | npinelo [ 4. Aug 2009, 13:15 ] |
Post subject: | |
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 |
Author: | TinyWebGallery [ 4. Aug 2009, 13:58 ] |
Post subject: | |
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¬ifyWhenLoaded=1"; in video.php and use the number as image name. - michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |