Hello,
I'm trying to add a quicktime video (.mov) to a block on the homepage of http://mytestanswers.com/ (to replace the screenshot that's currently there). After looking around, it seemed like Node Image Block would be a perfect solution. I followed all the instructions, but when I click configure at /admin/build/block for "Node Image Block 2", I get:
Fatal error: Call to undefined function _imagecache_get_presets() in /home/mytestan/public_html/sites/all/modules/nodeimageblock/nodeimageblock.module on line 157
I see in the instructions something about creating an Imagecache preset that matches the size of the video player (I think that is what's being suggested). So I created a preset that matches the size of the screenshot (not knowing exactly what size the player is...). I then tried again to configure the block, but got the same error as above.
I can't think of anything else to try, and have no idea why this error ("Fatal", no less) is occuring. Any help will be much appreciated!
Thanks,
Jim
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | nodeimageblock.patch | 590 bytes | kurkuma |
| #3 | nodeimageblock.patch | 594 bytes | kurkuma |
Comments
Comment #1
juroon commentedI got the same error on Drupal 5.16 with Imagecache 5.x-2.3.
Comment #2
kurkuma commentedAs a temporary fix I had to comment lines 155 to 167, to cancel the imagecache presets checking. That is fine for me as I don¡t use imagecache for the images I want to embed in the block.
Comment #3
kurkuma commentedTry this patch, it replaces the calls to obsolete imagecache preset functions.
Comment #4
kurkuma commentedPatch corrected!
Imagecache 5.x-2.4