Search code examples
drupaldrupal-7

How do I get the URL of an image inside a module directory?


In the directory containing a custom module, I have a directory containing images.

How do I get the URL of those images?


Solution

  • drupal_get_path('module', $module_name);