I need to display pages that can have one or many images (I only need to display one image at a time). Image Pager seems to fit the bill, but I would like the Image Pager block to appear inline within my content on a specific node type. How can this be achieved? Thanks in advance,

Mike P

Comments

bjaspan’s picture

Status: Active » Closed (won't fix)

This is not a feature for Image Pager specifically to provide. What you want is a region for displaying any block within node content. A complete answer is more than I can provide here, but in general: add a new region 'above content' to your theme by creating a custom themename_regions() in template.php(); modify your page.tpl.php template to print $above_content just before print $content ; assign the Image Pager block to that region; create a custom block called "Image Pager spacer" and also assign it to that region, above the Image Pager block; using CSS, assign the Image Pager spacer a style:

float: left;
width: 1px;
margin-left: -1px;
height: 200px;

Then, using CSS, float the Image Pager block left too. The result will be that the Image Pager block will appear 200px below the start of your content, floated left.

You also mentioned that ou want the block to appear only on certain node types. Use the Block Visibility settings for that; there are recipies for that in the Drupal Handbooks.

drew reece’s picture

Please see http://drupal.org/node/293332 if you are still interested in using this module within the node content.