Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save agragregra/babab1fedd6ffb5654c8 to your computer and use it in GitHub Desktop.
Save agragregra/babab1fedd6ffb5654c8 to your computer and use it in GitHub Desktop.
<?php
$images = getFieldOrder('img');
$i = 0;
foreach($images as $image) {
$i++;
$nuevos = array ("w" => 300, "h" => 200, "zc" => 1, "q" => 100);
$image_thumb = get_image('img', 1, $i, 0, NULL, $nuevos);
$image_link = get_image('img', 1, $i, 0, NULL); ?>
<?php echo $image_thumb; ?><br/>
<?php echo $image_link; ?><br/><br/>
<? }; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment