I wrote a Template which uses custom-fields via WP-MoreFields plugin. And there I add an image. In my template I display that Image like this:
<? echo wp_get_attachment_image( get_post_meta( get_the_ID(), 'afp_analysis_chart' , true), 'large' ); ?>
I also use the nextgen-gallery Plugin and configured it, so all images shell be applied the lightbox-effect.
The problem is, the images displayed on this teplate are not applied. How can I force this behavior?