Strange problem; "hello" tutorial plug-in strip off all the thumbnails & images

I've a strange problem; i followed the "HelloWorld" plugin development tutorial to create the "hello" plug-in.it's working fine but it's strip off all the thumbnails & images when it's enabled.Earlier i had the similar experience with simple-pie-group plugin,that's why i tried the example to find out the functionality of event handler. i tried on versions 1.7 &1.7.1.

Could anyone pls help me to fix this bug !

thanks

  • Make sure that none of your plugin files end in

    ?>

    Extra text at the beginning or end of a PHP file can force headers to be sent sooner than they should be and this will typically break all the images on your site. For that reason, the Elgg standard is to leave ?> off the end of PHP files as this fixes the issue most of the time.

  • Thanks a lot kevin !,yes it's worked.

    Thanks again