开发者

Imagecache with amfphp and flash multiple issues

开发者 https://www.devze.com 2023-01-09 09:45 出处:网络
I inherited a project with drupal and flash, and I\'m pretty noobish on the topic so please don\'t bash me.

I inherited a project with drupal and flash, and I'm pretty noobish on the topic so please don't bash me.

What I'm stuck at is that I need to create multiple thumbnails for each uploaded image (5 version to be precise with different settings eg. 150w, 250w,..) I created the presets but I can't seem to understand how imagecache works: it looks like the module builds the thumbnails only after I firs see the images, problem is that after I create the node I'm greeted with this view:

Imagecache with amfphp and flash multiple issues

as you may notice some of the fields can have multiple imag开发者_如何学Ces. If I'm correct in my assumption that imagecache only builds thumb when you first access the node why I can't see the images but only the icons? Alternatively is it possible to force imagecache to create the different sizes as soon as the images are uploaded? If not how does imagecache works?

Thanks


Imagecache only creates the thumbnails when they are requested the first time, but that should not result in this problem. Check if in your content type (under "display fields") the filefield containing the images is set to display an imagecache preset, not something like "Generic Files".

0

精彩评论

暂无评论...
验证码 换一张
取 消