gallery call works in templates but not in content / content HTML input?
Posted: Mon Jul 06, 2009 12:03 am
**note these first two posts are not as directly relevant now - its more about the issue of the gallery only working when called in templates and not in content (see 3rd post on)***
Hi.
Using CMSMS 1.5.4
I tried uploading images using content - image manager.
the uploading works... or seems to at least.
for each image the file name is displayed instead of a thumb though.
when you try to click on an image it gives you a 500 error internal server.
if you try typing the url of the image in /uploads/ etc to view in browser you also get a 500 server error
i tried including the gallery call in a page to see if it works.... all it does is reproduce the tag when the page is viewed on the front end... it does not actually display the gallery.
ok so i searched this forum and found people saying that in CMSMS v1.5.4 image gallery didnt work unless you mod an incorrect line in
/plugins/function.ImageGallery.php
the line in question...
if( !is_dir($dir) || !is_readable($dir) ) return;
apparently needs to read
if( !is_dir($picFolder) || !is_readable($picFolder) ) return;
so i backed up the function.ImageGallery.php, made the edit above... and now it displays the names of the images as links but not the actual gallery images themselves.....
Anyone know what is going on? Any help massively appreciated.
Hi.
Using CMSMS 1.5.4
I tried uploading images using content - image manager.
the uploading works... or seems to at least.
for each image the file name is displayed instead of a thumb though.
when you try to click on an image it gives you a 500 error internal server.
if you try typing the url of the image in /uploads/ etc to view in browser you also get a 500 server error
i tried including the gallery call in a page to see if it works.... all it does is reproduce the tag when the page is viewed on the front end... it does not actually display the gallery.
ok so i searched this forum and found people saying that in CMSMS v1.5.4 image gallery didnt work unless you mod an incorrect line in
/plugins/function.ImageGallery.php
the line in question...
if( !is_dir($dir) || !is_readable($dir) ) return;
apparently needs to read
if( !is_dir($picFolder) || !is_readable($picFolder) ) return;
so i backed up the function.ImageGallery.php, made the edit above... and now it displays the names of the images as links but not the actual gallery images themselves.....
Anyone know what is going on? Any help massively appreciated.