1 Reply Latest reply: Apr 2, 2009 10:45 AM by 2drumstix RSS

    Embed Lightroom gallery in web page

    2drumstix Community Member
      Hello all,

      Here for help with embedding a Lightroom created gallery into a web page in Dreamweaver. My test page is at http://www.grayareaphotography.com/Copy%20of%20Home%20Page.htm (dont mind the mess this is just a testing page) scroll to the bottom and you'll see the LR gallery embedded. At the top are links to all my other LR galleries, they open in separate pages (perhaps the way LR would perfer it to be done).

      On to the question. I found discussion on how to do this at http://www.bluefire.tv/blog/flashgalleries/using_flashvars.html using flashvars, and I have been able to get the shell of the LR gallery to load, but I can find the code, or mistake or oversight, that will load the actual pictures. I've emailed BlueFire, no reply yet. So thought I would ask here too.

      All my LR galleries, their folders and files reside under my root, grayareaphotography/galleryName.xxx.

      Here is my code for embedding LR galleries thus far. Anyone done this? anyone know or see something I am missing?

      <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="550"codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
      <param name="movie" value="RibbonCutting_GovCenter_111108/resources/gallery.swf"/>
      <param name="flashvars"
      value="livePreview=false
      &baseRefUrl=RibbonCutting_GovCenter_111108/resources/
      &groupxml=mediaGroupData/group.xml
      &stylexml=styles/style.xml
      &localText=localization/localText.xml"/>
      <param name="id" value="gallery"/>
      <param name="quality" value="high"/>
      <param name="align" value="middle"/>
      <param name="name" value="gallery"/>
      <param name="bgcolor" value="#000000"/>
      <param name="allowScriptAccess" value="sameDomain"/>
      <param name="menu" value="true"/>

      <embed src="RibbonCutting_GovCenter_111108/resources/gallery.swf"
      width="700" height="550" align="middle"
      type="application/x-shockwave-flash"
      pluginspage=" http://www.macromedia.com/go/getflashplayer"
      flashvars="livePreview=false
      &baseRefUrl=RibbonCutting_GovCenter_111108/resources/
      &groupxml=mediaGroupData/group.xml
      &stylexml=styles/style.xml
      &localText=localization/localText.xml" quality="high"
      allowScriptAccess="sameDomain">
      </embed>
      <param name="swfversion" value="8.0.35.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="../Scripts/expressInstall.swf" />
      <param name="LOOP" value="false" />
      <param name="wmode" value="opaque" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="RibbonCutting_GovCenter_111108/resources/gallery.swf" width="700" height="550">
      <!--<![endif]-->
      <param name="quality" value="high" />
      <param name="swfversion" value="8.0.35.0" />
      <param name="expressinstall" value="../Scripts/expressInstall.swf" />
      <param name="LOOP" value="false" />
      <param name="wmode" value="opaque" />
      <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
      <div>
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
      <p><a href=" http://www.adobe.com/go/getflashplayer"><img src=" http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
      </div>
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
      </object>