Codice PHP:
<?php
for($i=1$i <= $num_images$i++)
{
    
?>
  [img]image/<?php echo $i?>.jpg[/img]
  <?php
}
?>
ciao