Created
August 12, 2015 10:38
-
-
Save iledcom/3d76d4dd79f1b4c4e0c4 to your computer and use it in GitHub Desktop.
Drupal7 image_style_url
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$node = node_load(49); | |
$largeimg = image_style_url('medium', $node->field_image['und'][0]['uri']); | |
echo $largeimg; | |
?>"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment