Forums / All Other Contributions/Addons / jGallery not showing image

jGallery not showing image

Views: 994

Results 1 to 2 of 2
19 Mar 2013, 6:16 AM
#1
denniszc avatar

denniszc

New Zenner

Join Date:
Mar 2013
Posts:
95
Plugin Contributions:
0

jGallery not showing image

hey guys, im trying to integrate a gallery into my website, i found something called jGallery and has added it to my zencart, but the problem is none of the image is showing, it all showed this:

http://img339.imageshack.us/img339/2756/captureys.png

any idea what is wrong? the images is detected i think but it's not showing for some reason..

im using the jGallery addon http://www.zen-cart.com/downloads.php?do=file&id=682 and zencart 1.5.1

thanks in advance for any help

19 Mar 2013, 7:14 AM
#2
denniszc avatar

denniszc

New Zenner

Join Date:
Mar 2013
Posts:
95
Plugin Contributions:
0

Re: jGallery not showing image

okay, i've solved it, you have to change the eregi function in thumb.php to preg_match since eregi is deprecated and no longer being used after php 5.3.. you also have to change the imageJpeg($destImage,'',80), change the '' to null since it can no longer be empty quote after php 5.3.. the gallery is working flawlessly now so if you guys are thinking of adding a gallery you can use the jGallery addon no problem.