impresspages - Every page a random picture with ipSlot -


i have problem. every page gets same header image. use following code:

<?php     $options = array('id' => 'image', 'width' => '500', 'class' => 'cssclass(optional)');     echo ipslot('image', $options); ?> 

i choose a![enter image description here][1] random image on each page without using blocks.

thanks!

add current page id image id , have separate image each page. eg.:

$options = array('id' => 'image' . ipcontent()->getcurrentpage()->getid(), 'width' => '500', 'class' => 'cssclass(optional)'); echo ipslot('image', $options); 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -