在drupal中如何获取模块文件夹中的图像的URL?

Vas*_*sil 5 drupal drupal-modules

可以说我有一个模块mymodule.在mymodule forlder我有一个图像文件夹,在该文件夹中我有图像img1.jpg等.

如何获取这些图像的网址?

Ted*_*Ted 5

drupal_get_path('module', $module_name);
Run Code Online (Sandbox Code Playgroud)