how can we automatically display manipulated image of the Flashvideo_thumbnail with imagecache? flashvideo module http://drupal.org/project/flashvideo
this module display the image with the [thumbnail] tag and <? php print flashvideo_get_thumbnail($node); ?>

Comments

dopry’s picture

Project: ImageCache » FlashVideo
Version: 5.x-2.0-rc2 » 5.x-2.x-dev

the flashvideo module can provide this integration and use theme('imagecache', $presetname, /path/to/image) to generate an appropriate URL... You can also use this function in your theme. Please read the imagecache documentation and source code.

leovarg’s picture

Hi dopry thanks for your help . i'm trying to to automatically display a manipulated image of a specific content type in the teaser, i did something like this : <?php print theme('imagecache', 'presetname', $node->files[0]->filename ); ?> But sadly it is not working for me! . I test it using ....$node->files[2]->filename );..... and everything seems to be Ok with the imagecache module . as a result i can see the [2] manipulated image , I would like some help with my code to do it automatically! in every node. any idea of how to solve it?

thank you very much!

dopry’s picture

@leovarg: read the documentation for the theme_imagecache function and try using print_r() on node->files to find out what information is in that array. sorry i can't help you further. I'll leave the flash video feature request open though.

leovarg’s picture

I could not make it by myslef :( i feel frustrated! any help from out there ?