i dont wana give you poison.
question first. when you say "able to use the images uploaded from cms admin panel" what do you mean.
when you run you site do "these" images get loaded one after the other but NOT sliding.
If so, this is purely JavaScript problem. Your slideshow JavaScripts are conflicting with Image_gallery ones and the later is favored.
An alternative solution will be to have a slideShowPage which will have something like this.
static $has_many = array(
'Images' => 'Resource'
);
public function getCMSFields() {
$f = parent::getCMSFields();
$fileMan = new ImageDataObjectManager(
$this,
'Images',
'Resource',
'Attachment',
array(
'Name' => 'Name',
'Description' => 'Description'
),
'getCMSFields_forPopup'
);
$fileMan->setAllowedFileTypes(array('jpg'));
$fileMan->setGridLabelField('Name');
$fileMan->setPluralTitle('Images');
$fileMan->setAddTitle( 'slideshow image' );
if(!$this->Parent){
$f->addFieldToTab("Root.Content.SlideShowImages", $fileMan);
$f->addFieldToTab("Root.Content.SlideShowImages", new HeaderField(
$title = "Slide Show Images",
$headingLevel = "2"
));
}
return $f;
}
in the controller
function init() {
parent::init();
Requirements::javascript("you/Script/Address.js");
Requirements::set_write_js_to_body(false);
}
this should give you a working slide show.
hope this is what you a looking for.