Slideshowpro do not show images!!
example :
http://www.sociart.it/drupal/content/prova-slideshow-1
I follow step by step the documentation about ssp module :
install ssp, setting module ssp and permission
copy slideshowpro.swf in /drupal/sites/default/ssp/slideshowpro.swf
(SlideShowPro_Standalone_197)
create node slideshowpro and upload images ok!,
I have already attivate clean urls and private file system,
and all permission to folder,
but my slideshowpro dont' work !!
There is not file in subfolder ssp_thumbnail of the imagecache !!
But I see the images in folder imagefield_thumbs, I don't understand.

this is a xml file
http://www.sociart.it/drupal/node/6/0/images.xml

I use version 6.x-1.0-alpha9 of module
and version 6.13 of drupal

Can you help me please ?
What can I do?

CommentFileSizeAuthor
#22 ssp_how_to_install.txt1.83 KBMarc Hoefman

Comments

Adam S’s picture

I followed the directions and I'm having problems with the player not loading too. Here is a link to a gallery with one picture. http://thechefsgalley.com/openpublish/asdfasdfasdf My drupal site is in a subfolder. Does that affect the callback of xml file paths?

I'm using version 1.9.7 of slideshowpro and the openpublish instillation (http://drupal.org/project/openpublish) profile with drupal 6.14 .

chrisck’s picture

Hi All,

I would like to know how to get SSP working as well. I'm quite a newbie to drupal and ssp. I have the 191 Standalone version. I put it in drupal_directory/ssp. Specified the absolute path to drupal_directory/ssp in the configuration settings. Now what do I do? Where can I upload images/movies? I created a content slideshow. But what am I supposed to do with it?

I would very much appreciate any help given!

Thanks!

riban’s picture

go to
create content ---> slideshow
and you can upload images inside !
and the ssp module create slideshow automatically
(If all goes well)

Adam S’s picture

Thanks for returning the message. I really appreciate it. It would be very nice if drupal and slideshowpro were tightly integrated. Lots of developers use drupal and there really isn't a good out of the box image gallery yet. The idea with the slideshowpro module is to create a piece of content with many images attached to it and then render it to xml.

This might be worth your while working on. I'm sure that easy integration of slideshowpro into drupal will be a huge hit.

Thank you for your time,

Adam

Here is some more information:

* Drupal 6.14
* Openpublish instlation profile http://drupal.org/project/openpublish
* ssp 6.x-1.0-alpha9 The module project page is http://drupal.org/project/ssp
* SlideShowPro_Standalone_197 .
* Developer's demo page http://sspdemo.grass.co.ve/
* Project page issues que http://drupal.org/project/issues/ssp?text=&status=All&priorities=All&cat...
* attached is a screen shot showing firebug.

* http://thechefsgalley.com/node/108

1. I cut this out of the html source code.

  <div class="content">

        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="565" height="248" id="loader" align="middle">

    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="true" />
    <param name="FlashVars" value="paramXMLPath=/?q=node/108/0/params.xml" />
    <param name="base" value="." />
    <param name="movie" value="/sites/all/modules/ssp/slideshowpro.swf" /><param name="quality" value="high" /><param name="bgcolor" value="" />
    <embed base="." FlashVars="paramXMLPath=/?q=node/108/0/params.xml" src="/sites/all/modules/ssp/slideshowpro.swf" quality="best" bgcolor="#121212" width="565" height="248" name="loader" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>
    </div>

2. "paramXMLPath=/?q=node/108/0/params.xml" passed as an argument yields this xml file:

http://thechefsgalley.com/?q=node/108/0/params.xml

  <?xml version="1.0" encoding="UTF-8"?>
    <params>
    <customParams                
    	navButtonStyle = "Default"
    />
    <nativeParams
    	albumBackgroundAlpha = "1"
    	albumBackgroundColor = "0x303030"
    	albumDescColor = "0xCCCCCC"
    	albumDescSize = "9"
    	albumPadding = "8"
    	albumPreviewScale = "Proportional"
    	albumPreviewSize = "54,41"
    	albumPreviewStrokeColor = "0xFFFFFF"
    	albumPreviewStrokeWeight = "1"
    	albumPreviewStyle = "Inline Left"
    	albumRolloverColor = "0x262626"
    	albumStrokeAppearance = "Visible"
    	albumStrokeColor = "0x141414"
    	albumTitleColor = "0xFFFFFF"
    	albumTitleSize = "10"
    	audioAutoStart = "On"
    	audioLoop = "Off"
    	audioPause = "Off"
    	audioVolume = ".8"
    	autoFinishMode = "Switch"
    	cacheContent = "None"
    	captionAppearance = "Overlay on Rollover (if Available)"
    	captionBackgroundAlpha = ".75"
    	captionBackgroundColor = "0x000000"
    	captionHeaderBackgroundAlpha = ".75"     
    	captionElements = "Header and Caption"
    	captionHeaderText = "{imageTitle}"
    	captionPadding = "5,5,5,5"
    	captionPosition = "Top"
    	captionTextAlignment = "Left"
    	captionTextColor = "0xEEEEEE"
    	captionTextSize = "9"
    	contentAlign = "Center"
    	contentAreaAction = "Launch Hyperlink"
    	contentAreaBackgroundAlpha = "1"
    	contentAreaBackgroundColor = "0x303030"
    	contentAreaInteractivity = "Action Area Only"
    	contentAreaStrokeAppearance = "Visible"
    	contentAreaStrokeColor = "0x262626"
    	contentFrameAlpha = "1"
    	contentFrameColor = "0x262626"
    	contentFramePadding = "0"
    	contentFrameStrokeAppearance = "Hidden"
    	contentFrameStrokeColor = "0x333333"
    	contentOrder = "Sequential"
    	contentScale = "Downscale Only"
    	contentScalePercent = "1"
    	directorLargePublishing = "On"
    	directorLargeQuality = "80"
    	directorLargeSharpening = "1"
    	directorThumbQuality = "60"
    	directorThumbSharpening = "1"
    	displayMode = "Auto"
    	feedbackBackgroundAlpha = ".3"
    	feedbackBackgroundColor = "0x000000"
    	feedbackHighlightAlpha = ".8"
    	feedbackHighlightColor = "0xFFFFFF"
    	feedbackPreloaderAlign = "Center"
    	feedbackPreloaderAppearance = "Beam"
    	feedbackPreloaderPosition = "Inside Content Area"
    	feedbackPreloaderScale = "1"
    	feedbackPreloaderTextSize = "12"
    	feedbackTimerAlign = "Top Right"
    	feedbackTimerAppearance = "Visible"
    	feedbackTimerPosition = "Inside Content Area"
    	feedbackTimerScale = "1" 
    	feedbackVideoButtonScale = "1"
    	fullScreenReformat = "On"
    	fullScreenTakeOver = "On"
    	galleryAppearance = "Visible"
    	galleryBackgroundAlpha = "1"
    	galleryBackgroundColor = "0x1C1C1C"
    	galleryColumns = "2"
    	galleryOrder = "Left to Right"
    	galleryPadding = "10"
    	galleryRows = "4"
    	galleryNavActiveColor = "0x303030"
    	galleryNavAppearance = "Visible"
    	galleryNavInactiveColor = "0x000000"
    	galleryNavRolloverColor = "0x262626"
    	galleryNavStrokeAppearance = "Visible"
    	galleryNavStrokeColor = "0x141414"
    	galleryNavTextColor = "0xCCCCCC"
    	galleryNavTextSize = "9"
    	keyboardControl = "On"
    	mediaPlayerAppearance = "Visible on Rollover"
    	mediaPlayerBackgroundAlpha = ".25"
    	mediaPlayerBackgroundColor = "0x000000"
    	mediaPlayerBufferColor = "0x000000"
    	mediaPlayerButtonColor = "0xFFFFFF"
    	mediaPlayerButtonShadowAlpha = ".6"
    	mediaPlayerElapsedBackgroundColor = "0xFFFFFF"
    	mediaPlayerElapsedTextColor = "0x000000"
    	mediaPlayerPosition = "Bottom"
    	mediaPlayerProgressColor = "0xCCCCCC"
    	mediaPlayerScale = ".8"
    	mediaPlayerTextColor = "0x999999"
    	mediaPlayerTextSize = "9"
    	mediaPlayerVolumeBackgroundColor = "0x000000"
    	mediaPlayerVolumeHighlightColor = "0xCCCCCC"
    	navAppearance = "Always Visible"
    	navBackgroundAlpha = "1"
    	navBackgroundColor = "0x121212"     
    	navButtonColor = "0xEEEEEE"
    	navButtonInactiveAlpha = ".4"
    	navButtonsAppearance = "All Visible"
    	navButtonShadowAlpha = ".6"
    	navGradientAlpha = ".3"
    	navGradientAppearance = "Glass Dark"
    	navLinkAppearance = "Thumbnails"
    	navLinkCurrentColor = "0xEEEEEE"
    	navLinkPreviewAppearance = "Visible"
    	navLinkPreviewBackgroundAlpha = "1"
    	navLinkPreviewBackgroundColor = "0xFFFFFF"
    	navLinkPreviewScale = "Proportional"
    	navLinkPreviewSize = "80,60"
    	navLinkPreviewStrokeWeight = "1"
    	navLinkRolloverColor = "0xFFFFFF"
    	navLinksBackgroundAlpha = "1"
    	navLinksBackgroundColor = "0x000000"
    	navLinkSpacing = "10"
    	navNumberLinkColor = "0x999999"
    	navNumberLinkSize = "9"
    	navPosition = "Bottom"
    	navThumbLinkBackgroundColor = "0x666666"
    	navThumbLinkInactiveAlpha = "1"
    	navThumbLinkShadowAlpha = ".6"
    	navThumbLinkSize = "20,20"
    	navThumbLinkStrokeWeight = "1"
    	panZoom = "Off"
    	panZoomDirection = "Random"
    	panZoomFinish = "Off"
    	panZoomScale = "1,1.2"
    	permalinks = "Off"
    	smoothing = "On"
    	startup = "Load Album"
    	textStrings = "Previous Screen,Next Screen,Screen,of,No caption,No title,Playing,Paused,Click play to start audio"           
    	toolAppearanceContentArea = "Hidden"
    	toolAppearanceNav = "Visible"
    	toolColor = "0x222222"
    	toolDelayContentArea = "0"
    	toolDelayNav = ".5"
    	toolLabels = "Gallery,Previous Group,Previous,Next,Next Group,Pause,Play,Full Screen,Normal Screen,Open Link"
    	toolTimeoutContentArea = "0"
    	transitionDirection = "Left to Right"
    	typeface = "Lucida Grande,Lucida Sans Unicode,Verdana,Arial,_sans"
    	typefaceEmbed = "Off"
    	videoAutoStart = "Off"
    	videoBufferTime = "5"
    transitionLength = "343"
    transitionPause = "234"
    transitionStyle = "Wipe and Fake to Background"

                xmlFilePath = "/?q=node/108/0/images.xml"
                	xmlFileType = "Default"
                    />
                </params>

3. Something must be working with the xml because the image xml file is called next.

http://thechefsgalley.com/?q=node/108/0/images.xml

   <?xml version="1.0" encoding="UTF-8"?>
                <gallery>
                <album id="ssp" title="zcvzxcvzxcv" description="<p>zxcvzxcvzxcvzxcv</p>" audio="/" audioCaption="">
                    <img src="/sites/default/files/DSC03211_0.JPG" title="ZxcZXcZXc" caption="ZXcZxcZxc" link="" target="_blank" pause="" tn="http://thechefsgalley.com/sites/default/files/imagecache/ssp_thumbnail/DSC03211_0.JPG?1254264395" vidpreview="" />
                    <img src="/sites/default/files/DSC03218.JPG" title="ZXcZxcZXc" caption="ZxcZxcZXc" link="" target="_blank" pause="" tn="http://thechefsgalley.com/sites/default/files/imagecache/ssp_thumbnail/DSC03218.JPG?1254264395" vidpreview="" /></album></gallery>
Adam S’s picture

The slideshowpro works with the sample data that comes with it embedded into drupal. It calls the pamams.xml and images.xml file just right. It's not like it isn't working at all. The .xml produced by the module is working too. The flash is just not processing it. I compared as much information between my website and the developers demo website. The ONLY difference is that his website has only one cookie and my website has many. There is problems with domains and flash but I don't think that is the problem here. I think that there must be some confusion with the flash's cookie handling (not that I know anything about that.)

riban’s picture

chrisck’s picture

Where do I upload images/videos? I created a slideshow (content type slideshow). It looks like an ordinary page creation. Where can I feed the images?

Warm regards,

Chris

Adam S’s picture

The module comes with content types allready. You need to upload your files using the image field widget. When the flash player calls back to drupal asking for information attached to a url drupal then sends it rendered code. You need to add the content to the slideshow content type allready made by the module.

chrisck’s picture

Sorry for obvious questions, but where can I find the image field widget? I think I'm missing something. I tried adding a field in the Slideshowpro content type:

Label: Images
Name: field_ssp_images
Type: File
Widget: Image
Number of Values: Unlimited

So I can upload images when I create a Slideshowpro, but it doesn't show up. Is that what I'm supposed to do? How do I add the slideshow to a different node? Is there some sort of embed code?

Cheers,

Chris

chrisck’s picture

Okay. I realize what happened. When I enabled SSP Module, it didn't work properly because my PHP Memory limit was only 16M. So I increased it to 96M and now I see the widgets and fields.

I uploaded the images but I don't see them in the slideshow. I see the little circle moving for a second and then it disappears into the grey background.

How do I get SSP to show the images? Also side, question: Is there a param.xml that I can edit to change the look of the slideshowpro?

Many thanks,

Chris

Adam S’s picture

Yeah, that's where we are all at with this thing! For some reason when the player calls the server the server sends the correct information (see all the code listed above) but the player doesn't read the images for some reason. It doesn't work for anybody. Shame too since I paid $40 for the player.

chrisck’s picture

Lol. I'm glad I've finally caught up! I'm afraid I can't help much. But I'm guessing there seems to be something wrong with the images.xml feed?

I did a search for images.xml in my drupal directory and found:

Does this help at all?
./sites/default/ssp/param.xml: xmlFilePath = "images.xml"
./sites/default/modules/ssp/ssp.module: $items['node/%/%/images.xml'] = array(
./sites/default/modules/ssp/ssp.module: 'title' => 'images.xml',
./sites/default/modules/ssp/ssp.module: xmlFilePath = "/?q=node/'.$nid.'/0/images.xml"
./sites/default/modules/ssp/ssp.module: xmlFilePath = "/?q=node/'.$nid.'/1/images.xml"

Maybe the ssp.module needs a little tweak?

Chris

kylebrowning’s picture

I fixed ssp module to work with $base_path.

The issue was that you put ssp in a subdirectory, and I was making a call to the DOCROOT

Will be fixed in Alpha10, I just cant seem to commit to CVS atm.

kylebrowning’s picture

Status: Active » Fixed
chrisck’s picture

Oh I see.. So will alpha10 be released any time soon? Could you teach me how to change $base_path?

Thank you kindly.

Chris

kylebrowning’s picture

Its out.

chrisck’s picture

My images are still not showing up. I know slideshowpro.swf path is correct because I can see it in the text example. It shows the loading circle in the test and stops. In my content, there is no loading circle but just the grey background.

The path to my slideshowpro.swf doesn't work with 'sites/default/ssp/slideshowpro.swf' but it works with 'http://domain-name.com/sites/default/ssp/slideshowpro.swf'.

Am I missing something? How can I debug my issue?

Thanks,

Chris

kylebrowning’s picture

You are supposed to enter in the absolute path.

So, starting from DOCROOT, with a slash.

In my example I have "/sites/default/ssp/slideshowpro.swf"

halation’s picture

Hey all,

So I've been running into the same exact issues.

If any of you are running a WYSIWYG editor on your site, like FCK or something there will be a problem IF you put content inside the BODY area of that node.

The problem is that the XML is getting messed up when you put in some content inside that body box. In my case FCK is running, so it automatically formats the content and puts xHTML tags around the content. Now.. because of the way flash reads XML, if you have xHTML tags inside there, it'll start messing with the way slideshowpro parses the XML.

Not sure I'm explaining this well. But Anyway, I just put a strip_tags() function around the "node->body" parts of the code in the module. (There's only 3 places).
So for example (in the module):

this line:

<album id="ssp" title="'.$node->title.'" description="'. $node->body .'" '. $audio .' >';

becomes:

<album id="ssp" title="'.$node->title.'" description="'. strip_tags($node->body) .'" '. $audio .' >';

Hey Kyle, not sure if this is the best way to handle things, but it seems to work well. As I don't see any point in having xHTML tags in the description attribute of the XML.
Fix for your next release perhaps? By the way, thanks for making this module, it's pretty damn useful!

EDIT:
Just to show ya what's happening in the xml:

<?xml version="1.0" encoding="UTF-8"?>
 <gallery>
  <album id="ssp" title="test" description="<p>This is the problem area!</p>"  >
   <img src="/sites/default/files/header_tile.jpg" title="test" caption="" link="" target="_blank" pause="" tn="http://www.ragefashionmagazine.dev/sites/default/files/imagecache/ssp_thumbnail/header_tile.jpg?1256181568" vidpreview="" />
   <img src="/sites/default/files/istockphoto_6320512-going-back-to-school-icon-set.jpg" title="" caption="" link="" target="_blank" pause="" tn="http://www.ragefashionmagazine.dev/sites/default/files/imagecache/ssp_thumbnail/istockphoto_6320512-going-back-to-school-icon-set.jpg?1256181568" vidpreview="" />
  </album>
</gallery>

as you can see on line 3, there are paragraph tags around the "This is the problem area!" text.. Flash reads this the same as the other XML tags, so it gets all confused.

Hope it helps!

EDIT:

By The way I was using Version Alpha11. .. Just in case it makes any kind of difference.

May the force be with you.

chrisck’s picture

Thanks for that! I think I'll try it out and report back here soon.

kylebrowning’s picture

Status: Fixed » Needs review

Ok guys, Ive comitted this last fix, let me know if there are still issues.

I would love to see any and all information you can post, preferably from pastie.org

Information I wil need to see in order to solve your current problem would be:

The generated params.xml
The generated images.xml

OR

a url of your current setup that I can browse to. (<---preferred)

I really hope I can solve this issue to help you guys out.

Thanks for taking the time to post bug reports.

Marc Hoefman’s picture

StatusFileSize
new1.83 KB

I installed the SSP module (latest version) and faced the same problems as described in this forum.
Just could not get SSP up and running with images.

But... I finally got it working !!! :)))

See attached txt file... I hope it helps some of you as well.

kylebrowning’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.