Slideshows outside galleries

rated by 0 users
This post has 8 Replies | 4 Followers

Not Ranked
Posts 3
Points 60
rpallesen Posted: Thu, Mar 22 2007 4:44 AM

I would like have one of my slideshows appear inside a blog post. Has anyone done this before and does anyone know how to accomplish this?

Down the track I would also like to put a slideshow on the main page of my community server.

  • | Post Points: 20
Top 25 Contributor
Posts 1,160
Points 70,020
CS Developers
DanBartels replied on Tue, Apr 10 2007 11:16 AM

Here is my response to a similar request made a bit ago in Gold support...  This comes up from time to time, HTH

SlideShowPro, takes a feed from CS and uses it as the basis for the slideshow....  We ship two different sized slideshow applets with CS, the size of the photo, and some other options are coded into the flash app; the feed of photos however, can be passed in via the flashvars...

<object classid="clsidBig Smile27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="430" height="375" id="SlideshowPro" align="middle" VIEWASTEXT >
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="FlashVars" value="xmlfile=<%= SlideshowPro.SlideshowPicturesPath() %>&xmltype=XML" />
   <param name="movie" value="<%= CommunityServer.Components.SiteUrls.Instance().Locations["galleries"].ToLower() %>SlideshowPro430x375.swf" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#ffffff" />
   <embed src="<%= CommunityServer.Components.SiteUrls.Instance().Locations["galleries"].ToLower() %>SlideshowPro430x375.swf" quality="high" bgcolor="#ffffff" width="430" height="375" name="SlideshowPro" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
   </object>

 

If you look at the bold text above...  check out the xml from SlideShowPictures.aspx, its the magic file, that produces the appropriate feed based on the context from which its called...

http://blog.danbartels.com/photos/cars/SlideShowPictures.aspx

You should be able to pass in any valid feed to this to have slideshow pro display...

Dan

  • | Post Points: 20
Not Ranked
Posts 3
Points 60
rpallesen replied on Thu, Apr 12 2007 12:07 AM

I've tried this in both a blog and in one of the editable contents areas on the front page...and don't have much luck.

The script I inserted is:

<object classid="clsidBig Smile27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="430" height="375" id="SlideshowPro" align="middle" VIEWASTEXT >
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="FlashVars" value="xmlfile=/cs/photos/hawaii2007/slideshowpictures.aspx&xmltype=XML" />
   <param name="movie" value="/cs/photos/SlideshowPro430x375.swf" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#ffffff" />
   <embed src="/cs/photos/SlideshowPro430x375.swf" quality="high" bgcolor="#ffffff" width="430" height="375" name="SlideshowPro" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
 

In the blog itself nothing appears:

http://www.summitconsulting.com.au/cs/blogs/rp2001/archive/2007/04/12/test-slideshow-in-blog.aspx

And in the editable contents area I just get a black square (look at the bottom of the page):

http://summitconsulting.com.au/cs/ 

Any ideas what I'm doing wrong?

 

 

Top 25 Contributor
Posts 1,160
Points 70,020
CS Developers
DanBartels replied on Thu, Apr 12 2007 12:33 AM

Dave Burke challenged me to get this to work, I gave it a shot and ended up with similar results as yours...  in order to get the object tags to appear properly in the post, you may need to change to the "text" only editor...  and you will need to add some "allowed" html to the communityserver.config

in your cs.config add to the <html> section

   <param name="true" value="true" />
   <object classid="true" codebase="true" width="true" height="true" id="true" viewastext="true" />
   <embed src="true" quality="true" bgcolor="true" width="true" height="true" name="true" id="true" align="true" allowscriptaccess="true" type="true" pluginspage="true" />  

this will get your black square into the post; but the slideshow doesnt seem to "start"...  I will have to look at the slideshow flash app closer...  I may have some values hard coded in there...  In the end though you may need to purchase a license for slideshow pro to do any significant customization (I know you may not think this is "significant" but I am sure the creator of slideshow pro doesnt want us to release his app wired in such a way that it works on any site with any feed)

I will contine to look at this tought...

Dan

  • | Post Points: 35
Not Ranked
Posts 3
Points 60
rpallesen replied on Thu, Apr 12 2007 1:50 AM

 Thanks Dan,

 I am looking forward to see what you come up with.

I don't have any intention of using the slideshow outside the context of CS...just want to be able to show multiple rotating photos on certain sites/blogs (but still within the context of CS) to make them a bit more dynamic.

Thanks,

Rene
 

  • | Post Points: 20
Top 500 Contributor
Posts 95
Points 1,500
forumster replied on Thu, Apr 12 2007 9:33 AM

I recently purchased a gold support but dont have any access yet. Can you help on putting slideshow pro in the homepgae? I want it where the pic from this hompegae is. I dont mind purchasing a license from slideshow pro if need be. Its only $25 anyway, isn't it?

  • | Post Points: 20
Top 10 Contributor
Posts 3,323
Points 73,040
MVPs
daveburke replied on Thu, Apr 12 2007 10:23 AM

For the record, I didn't "challenge" Dan Bartels to make this work!  Big Smile  I only asked if he ever used it outside of galleries, knowing that if DanB couldn't easily get it to work then it wasn't doable.

I have added the cs.config markup changes and still am not getting this to work on the site homepage, btw.  I also added a hardcoded XML file for the data and have been unsuccessful.

I understand that it's perfectly reasonable for the CS-licensed flash app to work within the context of photo galleries and not pull in any XML file from any location, and as you say, Forumster, I have no problem purchasing a separate license for slideshow pro if that's required.

Thank you for your efforts in this, Dan! 

Regards,
Dave


 

  • | Post Points: 5
Top 500 Contributor
Posts 84
Points 1,170
muro1 replied on Sun, Aug 19 2007 6:15 AM

Maybe somone should edit this text, seen on this page:

"Built-in Flash slideshow application that can be embedded in a blog or forum provides a unique browsing option for reviewing photos."

  • | Post Points: 20
Not Ranked
Posts 20
Points 235
kggonline replied on Mon, Feb 25 2008 1:29 PM

 any updates on this known issue?

  • | Post Points: 5
Page 1 of 1 (9 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com