My views slideshow doesn't work when the display is called from page.tpl.php I am working on Drupal 6.  I have a view with a display block.  My view contains an animation of 6 images with slideshow as Style.

If I put the block in the content the view works fine, the images changes.  However, when I call the same block from template the images not change, I can see only one image.   What is my error?

my code is:

&lt;?php
$block = module_invoke('views', 'block', 'view', 'images_home-block_1');
print $block['content'];
?&gt;


Also, I tried this code:

&lt;?php 
print views_embed_view('images_home', $display_id = 'block_1'); 
?&gt;


Thanks in advance.
you can try views_embed_view to call a views block programatically.

views_embed_view

&lt;?php
print views_embed_view($view_name, $display_id, $argument); // with single argument
print views_embed_view($view_name, $display_id, array($arg1,$arg2,$arg3)); // with multiple arguments
?&gt;