Gallery is up and running. However, the Random Photo block for PostNuke gives me this error:
Warning: Division by zero in /home/sites/site76/web/modules/gallery/pnblocks/gallery_random.php on line 399
Joe Dunn
Here is the code that relates to the error:
398 //Original aspect 399 $tmbratio = $tmbDimensions[0] / $tmbDimensions[1];
Is there a problem with my thumbnails? Did I do something out of order?
I reinstalled the block and now I get this message:
No Photo Chosen.
Any ideas?
Not sure how to fix this but know what setting is triggering it... Use photo not thumb (0=no/1=yes), use 0 elimenates this error.
Posts: 34
Here is the code that relates to the error:
398 //Original aspect
399 $tmbratio = $tmbDimensions[0] / $tmbDimensions[1];
Posts: 34
Is there a problem with my thumbnails? Did I do something out of order?
Joe Dunn
Posts: 34
I reinstalled the block and now I get this message:
No Photo Chosen.
Any ideas?
Joe Dunn
Posts: 794
Not sure how to fix this but know what setting is triggering it... Use photo not thumb (0=no/1=yes), use 0 elimenates this error.