WWRepair:
Philip937,
I am happy to hear you found the solutions for this! Can you please show me exactly where you added this code in includes/modules/additional_images.php? Or if you removed anything? Thank you!
cant remeber off the top of my head but I think I just added this code either after where $num_images is defined
so basically what its doing is saying if there is less than 3 images then the amount of images should be default i.e sizeof($image_array)
if ($num_images < 3) {
$num_images = sizeof($images_array);
}
otherwise lets fool it into thinking that there are only a max of 3..
else {
// Build output based on images found
$num_images = 3;
}
so full code would be:
if ($num_images < 3) {
$num_images = sizeof($images_array);
}else {
// Build output based on images found
$num_images = 3;
}
hope this helps, if you get stuck let me know any I will pull more code from my file I modified. what version are you using also, just incase the code has been changed from the version I was playing with!
Phil Rogers
A problem shared is a problem solved.