I know you’ve got a lot on your plate, but could you provide any pointers to how the "Ken Burns effect" could be implemented as a slideshow transition?[!searchpics? &tags=`knob,nose,bolts`!] [+tagresults+] [!easy2? &fid=`[+tagresults+]` &slideshow=`smoothgallery` &ss_config=`slidingtransition` &landingpage=`51`!]
80,2 snippet calls wrong file id:80,2
[!easy2? &fid=`80,2` &slideshow=`smoothgallery` &ss_config=`slidingtransition` &landingpage=`51`!]
<?php //$tags=explode(',',$tags); //$tags=implode("','", $tags); $query="SELECT modx_easy2_files.filename FROM modx_easy2_files LEFT JOIN phototags ON modx_easy2_files.id = phototags.pic WHERE phototags.title IN ('". $tags . "')";
For a quick concept, just remember these steps:
While I’m here, I’ve got another question for goldsky. All the transitions provided are great, but I came across one more that I don’t think is included in your slideshow but could beI know you’ve got a lot on your plate, but could you provide any pointers to how the "Ken Burns effect" could be implemented as a slideshow transition?
Thanks in advance!
Matt
<?php // highligthing
if ($ss_config=='myoption_1') {
// ... your code here
}
<?php // highligthing
$_ssfile['id'][] // image's id
$_ssfile['dirid'][] // dir's id
$_ssfile['src'][] // image's file path
$_ssfile['filename'][] // image's name
$_ssfile['title'][] // image's name (if exist) or filename
$_ssfile['name'][] // image's name
$_ssfile['description'][] // image's description
$_ssfile['thumbsrc'][] // image's thumbnail path
$_ssfile['resizedimg'][] // resized image's path (if you have a resctrictive size of slideshow box area,
// I recommend you to use this, although it means it'll create another file with thumbnail engine.)
<div id="slideshow">
<img src="img/img1.jpg" alt="" class="active" />
<img src="img/img2.jpg" alt="" />
<img src="img/img3.jpg" alt="" />
</div>
<?php // highligthing
if ($ss_config=='myoption_1') {
// $ss_display is the results
// open the gallery wrapper
$ss_display = '
<div id="slideshow">';
// *********** start image looping *********** //
// $j comes out from the &ss_limit
// $count is the image counter
$j=0;
for ($i=0;$i<$count;$i++) {
$ss_display .= '
<img src="'.$_ssfile['src'][$i].'" alt="" title="'.$_ssfile['title'][$i].'" '
. ( $i == 0 ? 'class="active" ' : '' ) // first image is active class
. '/>';
$j++;
if ($j==$ss_limit) break;
}
// ************ end image looping ************ //
// close the gallery wrapper
$ss_display .= '
</div>';
}

Yeah, I’ve been mentioned about that also.
@goldsky: thanks for your help, it’s fixed!
It would be great if this Easy 2 Gallery would also support Uploadify as in EvoGallery. ;-)

[!searchpics? &tags=`knob,bolts,nose`!] [!easy2_wrapper!]
<?php
$output = $modx->runSnippet('easy2',array(
'fid' => $modx->getPlaceholder('tagresults'),
'slideshow' => 'smoothgallery',
'ss_config' => 'slidingtransition',
'landingpage' => '51'
));
return $output;
?>
<?php
//[ ! tagpics? &tags=`knob,nose,bolts` ! ]
$tags=explode(',',$tags);
$tags="'" . implode("','", $tags) . "'";
$query='SELECT modx_easy2_files.id FROM modx_easy2_files LEFT JOIN phototags ON modx_easy2_files.id = phototags.pic WHERE phototags.title IN ('. $tags . ')';
$rs=$modx->db->query($query);
$pics=array();
while ($row=$modx->db->getRow($rs)){
$pics[$row['id']]=$row['id'];
}
$tagresults = implode(',',$pics);
$output = $modx->runSnippet('easy2',array(
'fid' => $tagresults,
'slideshow' => 'smoothgallery',
'ss_config' => 'slidingtransition',
'landingpage' => '51'
));
return $output;
?>
[!easy2? &fid=`80` &slideshow=`smoothgallery` &ss_config=`slidingtransition` &landingpage=`51`!]
Sounds familiar to me. I’ve seen this problem before, and found out that the image src link was wrong.
I did find one glitch though which seems to be unrelated to what I’m doing. If I call easy2 with only one value for fid (e.g. "80"), I get an image box but no image. I can click on it and see the full image on the landing page. And the infozone area contains the right filename. But the main slideshow box is blank. I get this error even if I just call easy2 like this
[!easy2? &fid=`80` &slideshow=`smoothgallery` &ss_config=`slidingtransition` &landingpage=`51`!]