简体   繁体   English

Drupal 7-图像模块和贡献模块

[英]Drupal 7 - image module and contrib module

I wrote a module with "image" in dependecies. 我在依存关系中编写了一个带有“图像”的模块。 But I can't use the functions in image.gd.php Apache log: Call to undefined function image_gd_save() 但是我不能使用image.gd.php Apache日志中的函数:调用未定义的函数image_gd_save()

Can you help me? 你能帮助我吗?

如果您在映像/系统模块的常规操作之外执行此操作,则需要确保首先包含相关文件:

module_load_include('inc', 'system', 'image.gd');

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM