Active
Project:
FlashVideo
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 May 2008 at 15:24 UTC
Updated:
21 May 2008 at 18:28 UTC
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
Comment #1
dopry commentedthe 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.
Comment #2
leovarg commentedHi 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!
Comment #3
dopry commented@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.
Comment #4
leovarg commentedI could not make it by myslef :( i feel frustrated! any help from out there ?