I have installed maxigallery and have set up the assets/galleries folder. I put in the snippet code into the document editor and can now see the manage button. If I click that and upload images, after I hit upload I am brought to a blank white page for some reason. The files are uploaded into a folder named "9". Now I do not need to make child galleries so I would like to display the contents of the folder "9" on the page gallery. When I try to do [[MaxiGallery]] All I get is the manage button. What is wrong?
-
☆ A M B ☆
- 711 Posts
In MODx make sure the page running the MaxiGallery snippet is not set as cachable and give that ago.
By default MaxiGallery will store pictures in folders with numbers which generally match the ID of the page where the Gallery is stored.
Aaron
-
☆ A M B ☆
- 711 Posts
It sounds like its having problems with the thumbnails have you checked the Maxi Gallery requirements to make sure you have everything setup such as the GD Library which handles images.
http://wiki.modxcms.com/index.php/MaxiGallery#Usage
For me on one of my sites I run this
[[MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_in_a_row=`2` &max_thumb_size=`200` &max_pic_size=`0` &thumb_use_dropshadow=`1` ]]
-
☆ A M B ☆
- 711 Posts
Ah Windows Welcome to my world
Could you let me know the following
PHP Version
Windows Version
Do you have full admin rights to the server or are you with a hosting company?
-
☆ A M B ☆
- 711 Posts
Sounds good,
Ok in your main server php.ini normally in C:\Windows\ you need to enable
[PHP_GD2]
extension=php_gd2.dll
Make sure this DLL is in your php\ext folder.
Save php.ini then from cmd prompt type IISRESET (this will restart all websites on your server and reload the php.ini)
Now create a php test page and enter
<?php
phpinfo();
?>
And run this in your browser, do you see that GD2 is loaded?
On the Onesmarthost servers phpinfo shows
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Do I have to restart all sites or can I just restart the one I am using? I dont want to restart all as this server is hosting quite a few sites...