zpMinimal Index image link change

Hello, as it stands by default in zpMinimal the main image on the index page links to itself inside the gallery (its own image page). I am trying to figure out how to change the link on the main image to simply take you into the main gallery page and NOT the specific image page (the same page that the "Enter Gallery" link at the very bottom takes you to). I cannot come up with the proper change to the code to allow this to happen. I am pretty sure the first set of is what needs to be changed but I just cannot figure it out. Here is the full code from the bottom of index.php (not like you don't have it already though)

`
echo 'getTitle())) . '">';
$html = "imagegetCustomImage(535, NULL, NULL, NULL, NULL, NULL, NULL, TRUE))."\" alt=\"" . html_encode($randomImage->getTitle()) . "\" />\n";
echo zp_apply_filter('custom_image_html', $html, false);
echo "
";
echo '

getTitle())) . '">'.html_encode($randomImage->getTitle()).'

';
echo "

". zpFormattedDate(getOption('date_format'),strtotime($randomImage->getDateTime()))."

";
} else { echo gettext('No Images Exist...'); }
} ?>

Comments

  • fretzl Administrator, Developer
    On the first line of your posted code change `$randomImageURL` to
    `getGalleryIndexURL()`
  • Thank you very much, I will give it a try!
Sign In or Register to comment.