Action: Display Image?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by danielw on August 19, 2011 at 1:45pm

I'm trying to display an image as part of an Action.
Is my best bet to use Execute Custom PHP Code, and then do something like this:

<?php
$imagepath
="phpimages/dog.jpg";

$image=imagecreatefromjpeg($imagepath);

header('Content-Type: image/jpeg');

imagejpeg($image);
?>

Thanks!

Categories: , ,

Rules

Group organizers

Group categories

Categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /