Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <img src="/sites/all/themes/zen/zen/image.png">
  2.  
  3. <img src="/my-drupal-site/sites/all/themes/zen/zen/image.png">
  4.  
  5. $img_path = drupal_get_path('theme', 'zen') . '/zen/image.png';
  6.  
  7. $img = theme('image', $img_path, 'My Image - Alt Text', 'My Image - Title Text');
  8.  
  9. <img src="/sites/all/themes/zen/zen/image.png">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement