Hello,
I've read this issue #602906: Slideshow Pro Album pictures and tried to create a preview picture for each album. I simply want to use the first image as preview picture.
Am I right with overriding the theme_ssp_images function?
I declared $album_preview = $base_path.$node->field_images[0]['filepath']; and put it into the tag as tn="'.$album_preview .'".
So this is the whole line:
print '<album id="'.$single_album_node->title.'" title="'.$single_album_node->title.'" description="'. strip_tags($single_album_node->body).'" tn="'.$album_preview .'" >';
I tried it for both cases SSP_SINGLE and SSP_MULTIPLE but in none of both tn is going to be loaded.
I'd really appreciate if somebody could help me.
Thanks a lot,
Stefan
Comments
Comment #1
kylebrowning commentedThats correct you should be overriding those.
Let me take a look a little bit later today, Ill see if I can get it working.
Comment #2
design.er commentedGreat, I'm looking forward to read from you.
Thanks a lot for your time! :)
Comment #3
kylebrowning commentedThis has been resolved in beta3.
you might need to do some tweaking to the theme_ssp_params. In order for it to look somewhat nice, I had to remove unnecessary columns.
Comment #4
design.er commentedYes, since beta5 it works fine in multiple slideshows but the preview picture still doesn't appear in the album. Am I missing something?
Comment #5
design.er commentedI've figured it out... it was just a little of copy & paste and rewriting the theme_ssp_image for the ssp_single case, so never mind. :)
But maybe it makes sense to implement this into the module to achieve an uniformly appearance of both slideshow and multiple slideshow.
Comment #6
kylebrowning commentedhrmm, what did you change?
Comment #7
design.er commentedI simply added the following line on line 130 of ssp.module:
And then added
tn="'. $album_thumb .'"on line 131 into the<album>tag.:)