Home  Extras  MODx Add-Ons  MaxiGallery

MaxiGallery



Forums Support Thread Votes: 115
Tags: Communication, Gallery
Submitted: May 27, 2007
Released: May 27, 2007
Downloads: 20254
License: GPL - GNU Public
Package Website


MaxiGallery 0.5.2 | Author: doze

Works with the following Version(s): 0.9.6.3 | Evolution-1.0.0

Ultra customizable image gallery snippet that offers features like automatic thumbnail creation, size adjusting, filter effects, watermarking, AJAX enabled browsing, extensive permission handling, front-end user/group galleries, fully templateable output, etc..


Download


Description

Some included features:

  • Valid XHTML 1.0 Transitional output with CSS styling. Easy to get Strict valid.
  • External language files to ease the implementation of multi-language galleries. Currently only English language and Finnish files in distribution.
  • Possible to allow webusers/webgroups to manage their own or shared galleries and have "admin" webusers/webgroups.
  • Integrated javascript display modes (MooTools and Scriptaculous/Prototype): Slidebox, Lightbox v2.0, Slimbox, SmoothGallery, etc. Easy to plugin other scripts.
  • Possible to sort pictures with dragging. (MooTools and Scriptaculous/Prototype)
  • Watermarking (text or transparent PNG), Image masking with gray scale masks, drop shadow effects.
  • Fully templateable output. Template parameters support @CODE: and @FILE: bindings.
  • Possible to use config files to set snippet parameters. Easy to share examples in forums etc.
  • Possible to query pictures from certain galleries. Think of it like integrated MaxiGallerySolo features if you will.
  • Possible to list all gallery documents, or just under certain parent for certain level in the site tree hierarchy. TV's supported!
  • Possible to create centralized gallery management views. Possible to view galleries from another pages. Possible to manage gallery from another page. Possible to have images open in another document.
  • Possible to set a max images limit in a gallery.
  • Possible to have 3 sizes from a image. Thumbnail, normal and big image. Images will be automatically resized to certain max width/height with image portition kept.
  • Possible to set quality percentage of each image size.
  • Possible to paginate gallery overviews to multiple pages.
  • Easy to setup photo blogging with Jot, look for instructions in the MODx Wiki.
  • Support jpg/jpeg, png and gif images (gif's are converted to png). Also in zip-archives and no need for additional libs (uses PclZip).
  • Possible to use FTP commands to create gallery file system folders. This is needed in certain server environments.
  • Possible to upload pictures into galleries using FTP
  • Many bugfixes.


See more detailed changelog inside the archive!

Demos

Currently there is no demos online from me, but I will create a demo site soon and update this info. First I will update the documentation in MODx wiki.

Planned features:
  • Possible to have custom fields in picture management
  • Start using phpThumb for image manipulating/creation
  • Research possibility to use/modify iManager to add images to galleries
  • Possibility to add allready uploaded images to galleries and reuse images without files duplicating (achieved with phpThumb)
  • Possible to set all thumbnails to be cropped to a certain size squares, no matter what the original shape/size is. (again, achieved with phpThumb)
  • Possible to replace images at gallery management afterwards and change filter settings per image. (I don't want to repeat myself, but achieved with phpThumb)
  • Module to manage all site galleries easily from backend.
  • Input TV widget to manage MaxiGallery when creating / editing a document.

Credits:

You can view the extensive credit section at the top of the snippet! All authors, 3rd party classes/libraries and their licences are described there. This snippet is totally free for commercial use.

Instructions

Installation is pretty straight forward:

  • 1. Extract the contents of the zip file to your computer
  • 2. FTP to your server an go to the modx installation folder
  • 3. Put the assets folder to the site root and the files will go to correct place
  • 4. Make the assets/galleries/ folder writable (CHMOD 777 unless you are in phpSuExec environment, in that case 755)
  • 5. Close your FTP program and go to the MODx manager
  • 6. Create a new snippet called "MaxiGallery" and paste the contents of maxigallery.txt to it
  • 7. Call the snippet on some document, check the available parameters at MODx Wiki.
  • 8. Go to the page that has the snippet call and you should see "Manage pictures" -button in there.
    • note that you must be logged into the manager and have rights to edit the document (unless you have defined webusers/groups who can manage the callery and you are logged in at front-end)
  • 9. Upload some images to the gallery and see the results.

Extra info:
You can create new language files for the gallery too. Create lang_en.php in the maxigallery lang folder and slidebox/slimbox/lightbox_lang_en.js in the slidebox/slimbox/lightbox folder, where "en" is the key for your lang file. After this, use it in the &lang snippet parameter.

IMPORTANT NOTE: It depends on your server settings that how many images you can upload at a time and how big. The image masking process for example is very slow and you might get a "Maximum execution time of NN seconds exceeded" -error message, if you are trying to upload many images at the same time with imagemasking on.. or if the images are large. Also when using big images, you may get "Memory Size Exhausted" -error as the image processing takes alot of memory too. These errors are not errors in the snippet code, they are caused by server settings. MaxiGallery script tries to use ini_set to increase the execution time and memory limit if needed, but it cannot do it if php is running in safe mode. (I have my setup on a safe_mode enabled server with 15seconds of execution time and 30sec max_input_time and 32Mb memory limit. It can handle 10 images at a time taken with 4MP camera, but with image masking on I can kill it pretty easily)

So, Check these values from php.ini:

max_execution_time, this is the maximum execution time allowed for each script, in seconds (it takes quite some time for maxigallery script to process the images if there are many of them and many imaging "filters" used).
max_input_time, this is the maximum time each script may spend parsing request data, in seconds.
memory_limit, this is the maximum amount of memory in megabytes that a script may consume (maxigallery keeps the images in memory while it makes thumbnails etc).
post_max_size this is the maximum size of POST data in megabytes that PHP will accept (the pictures travel in the post data).
upload_max_filesize this is the maximum allowed size for uploaded files in megabytes.

These settings can also be configured from Apache, so you might want to see if the following can be found from your httpd.conf:

php_admin_value upload_max_filesize Sets the corresponding php setting, see above.
php_admin_value post_max_size Sets the corresponding php setting, see above.
php_admin_value memory_limit Sets the corresponding php setting, see above.
LimitRequestBody Same as post_max_size php setting, but for apache.
UpdatesSee changelog inside archive




Sub-Packages


Forums Support Thread Votes: 76
Tags:
Submitted: Jun 29, 2006
Released: Jun 29, 2006
Downloads: 2333
License: GPL - GNU Public
Package Website


MaxiGallerySolo v1.1 | Author: doze

Addon snippet to use with MaxiGallery to fetch random or latest images from selected galleries.


Forums Support Thread Votes: 76
Tags:
Submitted: Jun 29, 2006
Released: Jun 29, 2006
Downloads: 1890
License: GPL - GNU Public
Package Website


MaxiGallery PhotoBloggin | Author: doze

Instructions on how to setup photoblogging (picture commenting) with MaxiGallery and Jot!


Forums Support Thread Votes: 79
Tags:
Submitted: Nov 8, 2006
Released: Nov 8, 2006
Downloads: 1053
License: GPL - GNU Public
Package Website


MaxiGallery v0.5 BETA1 | Author: doze

The first beta from the next version of MaxiGallery snippet. Think this as a "preview" of things to come.


Forums Support Thread Votes: 80
Tags:
Submitted: Nov 13, 2006
Released: Nov 13, 2006
Downloads: 1672
License: GPL - GNU Public
Package Website


MaxiGallerySolo for v0.5 Betas | Author: doze

MaxiGallerySolo to be used with MaxiGallery v0.5 betas


Forums Support Thread Votes: 79
Tags:
Submitted: Nov 17, 2006
Released: Nov 17, 2006
Downloads: 1861
License: GPL - GNU Public
Package Website


MaxiGallery v0.5 BETA2 Rev 49 | Author: doze

The second beta from the next version of MaxiGallery snippet. Adds slideshow, slimbox and fixes.


Forums Support Thread Votes: 81
Tags:
Submitted: Feb 5, 2007
Released: Feb 5, 2007
Downloads: 1119
License: Public Domain


MaxiGallerySolo for v0.5 Betas with some fixes and ability to use all galleries | Author: Dimmy

This is a fix/mod to the MaxiGallerySolo for v0.5 Betas release by Doze


Forums Support Thread Votes: 83
Tags:
Submitted: Feb 20, 2007
Released: Feb 20, 2007
Downloads: 1221
License: GPL - GNU Public
Package Website


MaxiGallery v0.5 RC 1 | Author: doze

Release candidate 1 for the next version of MaxiGallery snippet. Adds many things, see inside.


Forums Support Thread Votes: 77
Tags:
Submitted: Apr 15, 2007
Released: Apr 15, 2007
Downloads: 1057
License: GPL - GNU Public
Package Website


MaxiGallerySolo v1.1 | Author: doze

Addon snippet to use with MaxiGallery to fetch random or latest images from selected galleries.



Previous Releases


0.5.1

Forums Support Thread Votes: 81
Tags: Communication, Gallery
Submitted: Apr 15, 2007
Released: Apr 15, 2007
Downloads: 3260
License: GPL - GNU Public
Package Website


MaxiGallery 0.5.1 | Author: doze

Works with the following Version(s):

Ultra customizable image gallery snippet that offers features like automatic thumbnail creation, size adjusting, filter effects, watermarking, AJAX enabled browsing, extensive permission handling, front-end user/group galleries, fully templateable output, etc..


Download


Description

Some included features:

  • Valid XHTML 1.0 Transitional output with CSS styling. Easy to get Strict valid.
  • External language files to ease the implementation of multi-language galleries. Currently only English language and Finnish files in distribution.
  • Possible to allow webusers/webgroups to manage their own or shared galleries and have "admin" webusers/webgroups.
  • Integrated javascript display modes (MooTools and Scriptaculous/Prototype): Slidebox, Lightbox v2.0, Slimbox, SmoothGallery, etc. Easy to plugin other scripts.
  • Possible to sort pictures with dragging. (MooTools and Scriptaculous/Prototype)
  • Watermarking (text or transparent PNG), Image masking with gray scale masks, drop shadow effects.
  • Fully templateable output. Template parameters support @CODE: and @FILE: bindings.
  • Possible to use config files to set snippet parameters. Easy to share examples in forums etc.
  • Possible to query pictures from certain galleries. Think of it like integrated MaxiGallerySolo features if you will.
  • Possible to list all gallery documents, or just under certain parent for certain level in the site tree hierarchy. TV's supported!
  • Possible to create centralized gallery management views. Possible to view galleries from another pages. Possible to manage gallery from another page. Possible to have images open in another document.
  • Possible to set a max images limit in a gallery.
  • Possible to have 3 sizes from a image. Thumbnail, normal and big image. Images will be automatically resized to certain max width/height with image portition kept.
  • Possible to set quality percentage of each image size.
  • Possible to paginate gallery overviews to multiple pages.
  • Easy to setup photo blogging with Jot, look for instructions in the MODx Wiki.
  • Support jpg/jpeg, png and gif images (gif's are converted to png). Also in zip-archives and no need for additional libs (uses PclZip).
  • Possible to use FTP commands to create gallery file system folders. This is needed in certain server environments.
  • Possible to upload pictures into galleries using FTP
  • Many bugfixes.


See more detailed changelog inside the archive!

Demos

Currently there is no demos online from me, but I will create a demo site soon and update this info. First I will update the documentation in MODx wiki.

Planned features:
  • Possible to have custom fields in picture management
  • Start using phpThumb for image manipulating/creation
  • Research possibility to use/modify iManager to add images to galleries
  • Possibility to add allready uploaded images to galleries and reuse images without files duplicating (achieved with phpThumb)
  • Possible to set all thumbnails to be cropped to a certain size squares, no matter what the original shape/size is. (again, achieved with phpThumb)
  • Possible to replace images at gallery management afterwards and change filter settings per image. (I don't want to repeat myself, but achieved with phpThumb)
  • Module to manage all site galleries easily from backend.
  • Input TV widget to manage MaxiGallery when creating / editing a document.

Credits:

You can view the extensive credit section at the top of the snippet! All authors, 3rd party classes/libraries and their licences are described there. This snippet is totally free for commercial use.

Instructions

Installation is pretty straight forward:

  • 1. Extract the contents of the zip file to your computer
  • 2. FTP to your server an go to the modx installation folder
  • 3. Put the assets folder to the site root and the files will go to correct place
  • 4. Make the assets/galleries/ folder writable (CHMOD 777 unless you are in phpSuExec environment, in that case 755)
  • 5. Close your FTP program and go to the MODx manager
  • 6. Create a new snippet called "MaxiGallery" and paste the contents of maxigallery.txt to it
  • 7. Call the snippet on some document, check the available parameters at MODx Wiki.
  • 8. Go to the page that has the snippet call and you should see "Manage pictures" -button in there.
    • note that you must be logged into the manager and have rights to edit the document (unless you have defined webusers/groups who can manage the callery and you are logged in at front-end)
  • 9. Upload some images to the gallery and see the results.

Extra info:
You can create new language files for the gallery too. Create lang_en.php in the maxigallery lang folder and slidebox/slimbox/lightbox_lang_en.js in the slidebox/slimbox/lightbox folder, where "en" is the key for your lang file. After this, use it in the &lang snippet parameter.

IMPORTANT NOTE: It depends on your server settings that how many images you can upload at a time and how big. The image masking process for example is very slow and you might get a "Maximum execution time of NN seconds exceeded" -error message, if you are trying to upload many images at the same time with imagemasking on.. or if the images are large. Also when using big images, you may get "Memory Size Exhausted" -error as the image processing takes alot of memory too. These errors are not errors in the snippet code, they are caused by server settings. MaxiGallery script tries to use ini_set to increase the execution time and memory limit if needed, but it cannot do it if php is running in safe mode. (I have my setup on a safe_mode enabled server with 15seconds of execution time and 30sec max_input_time and 32Mb memory limit. It can handle 10 images at a time taken with 4MP camera, but with image masking on I can kill it pretty easily)

So, Check these values from php.ini:

max_execution_time, this is the maximum execution time allowed for each script, in seconds (it takes quite some time for maxigallery script to process the images if there are many of them and many imaging "filters" used).
max_input_time, this is the maximum time each script may spend parsing request data, in seconds.
memory_limit, this is the maximum amount of memory in megabytes that a script may consume (maxigallery keeps the images in memory while it makes thumbnails etc).
post_max_size this is the maximum size of POST data in megabytes that PHP will accept (the pictures travel in the post data).
upload_max_filesize this is the maximum allowed size for uploaded files in megabytes.

These settings can also be configured from Apache, so you might want to see if the following can be found from your httpd.conf:

php_admin_value upload_max_filesize Sets the corresponding php setting, see above.
php_admin_value post_max_size Sets the corresponding php setting, see above.
php_admin_value memory_limit Sets the corresponding php setting, see above.
LimitRequestBody Same as post_max_size php setting, but for apache.
UpdatesNew version with many fixes and some new features, see the introduction.



0.5

Forums Support Thread Votes: 77
Tags: Communication, Gallery
Submitted: Mar 5, 2007
Released: Mar 5, 2007
Downloads: 2099
License: GPL - GNU Public
Package Website


MaxiGallery 0.5 | Author: doze

Works with the following Version(s):

This version has been marked as deprecated. Please use a newer version.

Ultra customizable image gallery snippet that offers features like automatic thumbnail creation, size adjusting, filter effects, watermarking, AJAX enabled browsing, extensive permission handling, front-end user/group galleries, fully templateable output, etc..


Download


Description

Some included features:

  • Valid XHTML 1.0 Transitional output with CSS styling. Easy to get Strict valid.
  • External language files to ease the implementation of multi-language galleries. Currently only English language and Finnish files in distribution.
  • Possible to allow webusers/webgroups to manage their own or shared galleries and have "admin" webusers/webgroups.
  • Integrated javascript display modes (MooTools and Scriptaculous/Prototype): Slidebox, Lightbox v2.0, Slimbox, SmoothGallery, etc. Easy to plugin other scripts.
  • Possible to sort pictures with dragging. (MooTools and Scriptaculous/Prototype)
  • Watermarking (text or transparent PNG), Image masking with gray scale masks, drop shadow effects.
  • Fully templateable output. Template parameters support @CODE: and @FILE: bindings.
  • Possible to use config files to set snippet parameters. Easy to share examples in forums etc.
  • Possible to query pictures from certain galleries. Think of it like integrated MaxiGallerySolo features if you will.
  • Possible to list all gallery documents, or just under certain parent for certain level in the site tree hierarchy. TV's supported!
  • Possible to create centralized gallery management views. Possible to view galleries from another pages. Possible to manage gallery from another page. Possible to have images open in another document.
  • Possible to set a max images limit in a gallery.
  • Possible to have 3 sizes from a image. Thumbnail, normal and big image. Images will be automatically resized to certain max width/height with image portition kept.
  • Possible to set quality percentage of each image size.
  • Possible to paginate gallery overviews to multiple pages.
  • Easy to setup photo blogging with Jot, look for instructions in the MODx Wiki.
  • Support jpg/jpeg, png and gif images (gif's are converted to png). Also in zip-archives and no need for additional libs (uses PclZip).
  • Possible to use FTP commands to create gallery file system folders. This is needed in certain server environments.
  • Possible to upload pictures into galleries using FTP
  • Many bugfixes.


See more detailed changelog inside the archive!

Demos

Currently there is no demos online from me, but I will create a demo site soon and update this info. First I will update the documentation in MODx wiki.

Planned features:
  • Possible to have custom fields in picture management
  • Start using phpThumb for image manipulating/creation
  • Research possibility to use/modify iManager to add images to galleries
  • Possibility to add allready uploaded images to galleries and reuse images without files duplicating (achieved with phpThumb)
  • Possible to set all thumbnails to be cropped to a certain size squares, no matter what the original shape/size is. (again, achieved with phpThumb)
  • Possible to replace images at gallery management afterwards and change filter settings per image. (I don't want to repeat myself, but achieved with phpThumb)
  • Module to manage all site galleries easily from backend.
  • Input TV widget to manage MaxiGallery when creating / editing a document.

Credits:

You can view the extensive credit section at the top of the snippet! All authors, 3rd party classes/libraries and their licences are described there. This snippet is totally free for commercial use.

Instructions

Installation is pretty straight forward:

  • 1. Extract the contents of the zip file to your computer
  • 2. FTP to your server an go to the modx installation folder
  • 3. Put the assets folder to the site root and the files will go to correct place
  • 4. Make the assets/galleries/ folder writable (CHMOD 777 unless you are in phpSuExec environment, in that case 755)
  • 5. Close your FTP program and go to the MODx manager
  • 6. Create a new snippet called "MaxiGallery" and paste the contents of maxigallery.txt to it
  • 7. Call the snippet on some document, check the available parameters at MODx Wiki.
  • 8. Go to the page that has the snippet call and you should see "Manage pictures" -button in there.
    • note that you must be logged into the manager and have rights to edit the document (unless you have defined webusers/groups who can manage the callery and you are logged in at front-end)
  • 9. Upload some images to the gallery and see the results.

Extra info:
You can create new language files for the gallery too. Create lang_en.php in the maxigallery lang folder and slidebox/slimbox/lightbox_lang_en.js in the slidebox/slimbox/lightbox folder, where "en" is the key for your lang file. After this, use it in the &lang snippet parameter.

IMPORTANT NOTE: It depends on your server settings that how many images you can upload at a time and how big. The image masking process for example is very slow and you might get a "Maximum execution time of NN seconds exceeded" -error message, if you are trying to upload many images at the same time with imagemasking on.. or if the images are large. Also when using big images, you may get "Memory Size Exhausted" -error as the image processing takes alot of memory too. These errors are not errors in the snippet code, they are caused by server settings. MaxiGallery script tries to use ini_set to increase the execution time and memory limit if needed, but it cannot do it if php is running in safe mode. (I have my setup on a safe_mode enabled server with 15seconds of execution time and 30sec max_input_time and 32Mb memory limit. It can handle 10 images at a time taken with 4MP camera, but with image masking on I can kill it pretty easily)

So, Check these values from php.ini:

max_execution_time, this is the maximum execution time allowed for each script, in seconds (it takes quite some time for maxigallery script to process the images if there are many of them and many imaging "filters" used).
max_input_time, this is the maximum time each script may spend parsing request data, in seconds.
memory_limit, this is the maximum amount of memory in megabytes that a script may consume (maxigallery keeps the images in memory while it makes thumbnails etc).
post_max_size this is the maximum size of POST data in megabytes that PHP will accept (the pictures travel in the post data).
upload_max_filesize this is the maximum allowed size for uploaded files in megabytes.

These settings can also be configured from Apache, so you might want to see if the following can be found from your httpd.conf:

php_admin_value upload_max_filesize Sets the corresponding php setting, see above.
php_admin_value post_max_size Sets the corresponding php setting, see above.
php_admin_value memory_limit Sets the corresponding php setting, see above.
LimitRequestBody Same as post_max_size php setting, but for apache.
UpdatesNew version with lots of updates, see the introduction.



0.4.1

Forums Support Thread Votes: 77
Tags: Communication, Gallery
Submitted: Jun 28, 2006
Released: Jun 28, 2006
Downloads: 6232
License: GPL - GNU Public
Package Website


MaxiGallery 0.4.1 | Author: doze

Works with the following Version(s): 0.9.2 | 0.9.2.1

This version has been marked as deprecated. Please use a newer version.

An advanced imagegallery snippet that offers features like automatic thumbnail creation, size adjusting, filter effects, watermarking, ajax enabled browsing, extensive permission handling, front-end user/group galleries, etc..


Download


Description

Some included features:

  • Valid XHTML 1.0 Transitional output with CSS styling. Easy to get Strict valid.
  • External language files to ease the implementation of multi-language galleries. Currently only English language and Finnish files in distribution.
  • Possible to allow webusers/webgroups to manage their own or shared galleries and have "admin" webusers/webgroups.
  • Integrated javascript display modes (MooTools and Scriptaculous/Prototype): Slidebox, Lightbox v2.0, Slimbox, SmoothGallery, etc. Easy to plugin other scripts.
  • Possible to sort pictures with dragging. (MooTools and Scriptaculous/Prototype)
  • Watermarking (text or transparent PNG), Image masking with gray scale masks, drop shadow effects.
  • Fully templateable output. Template parameters support @CODE: and @FILE: bindings.
  • Possible to use config files to set snippet parameters. Easy to share examples in forums etc.
  • Possible to query pictures from certain galleries. Think of it like integrated MaxiGallerySolo features if you will.
  • Possible to list all gallery documents, or just under certain parent for certain level in the site tree hierarchy. TV's supported!
  • Possible to create centralized gallery management views. Possible to view galleries from another pages. Possible to manage gallery from another page. Possible to have images open in another document.
  • Possible to set a max images limit in a gallery.
  • Possible to have 3 sizes from a image. Thumbnail, normal and big image. Images will be automatically resized to certain max width/height with image portition kept.
  • Possible to set quality percentage of each image size.
  • Possible to paginate gallery overviews to multiple pages.
  • Easy to setup photo blogging with Jot, look for instructions in the MODx Wiki.
  • Support jpg/jpeg, png and gif images (gif's are converted to png). Also in zip-archives and no need for additional libs (uses PclZip).
  • Possible to use FTP commands to create gallery file system folders. This is needed in certain server environments.
  • Possible to upload pictures into galleries using FTP
  • Many bugfixes.


See more detailed changelog inside the archive!

Demos

Currently there is no demos online from me, but I will create a demo site soon and update this info. First I will update the documentation in MODx wiki.

Planned features:
  • Possible to have custom fields in picture management
  • Start using phpThumb for image manipulating/creation
  • Research possibility to use/modify iManager to add images to galleries
  • Possibility to add allready uploaded images to galleries and reuse images without files duplicating (achieved with phpThumb)
  • Possible to set all thumbnails to be cropped to a certain size squares, no matter what the original shape/size is. (again, achieved with phpThumb)
  • Possible to replace images at gallery management afterwards and change filter settings per image. (I don't want to repeat myself, but achieved with phpThumb)
  • Module to manage all site galleries easily from backend.
  • Input TV widget to manage MaxiGallery when creating / editing a document.

Credits:

You can view the extensive credit section at the top of the snippet! All authors, 3rd party classes/libraries and their licences are described there. This snippet is totally free for commercial use.

Instructions

Installation is pretty straight forward:

  • 1. Extract the contents of the zip file to your computer
  • 2. FTP to your server an go to the modx installation folder
  • 3. Copy all exept maxigallery.txt to assets/snippets/maxigallery/ -folder
  • 4. Create a new folder assets/galleries/ and make it writable (CHMOD 0666 or 0777)
  • 5. Close your FTP program and go to the MODx manager
  • 6. Create a new snippet called "MaxiGallery" and paste the contents of maxigallery.txt to it
  • 7. Call the snippet on some document, check the available parameters at the start of the snippet
    • There are some example snippet calls at the demo site
    • You have to call the snippet on an uncached page using "cached" snippet call i.e MaxiGallery, because the automated javascript/css registration in MODx requires this for now. If you don't call it this way, sometimes when you view the lightbox enabled galleries, the images may just open in a new window instead of the lightbox.
  • 8. Go to the page that has the snippet call and you should see "Manage pictures" -button in there (if you did not set it off in the snippet call ofcourse ;))
    • note that you must be logged into the manager and have rights to edit the document (unless you have defined webusers/groups who can manage the callery and you are logged in at front-end)
  • 9. Upload some images to the gallery and see the results.


Extra info:
  • You can create new language files for the gallery too. Create lang_en.php in the maxigallery folder and slidebox_lang_en.js in the slidebox folder, where "en" is the key for your lang file. After this, use it in the $language setting at the snippet.
  • You can change the look of the lightbox by editing the maxigallery/slidebox/style.css -file. You can also change the overlay color of it and the loading images by creating new ones and defining them in your slidebox_lang_xx.js -file


IMPORTANT NOTE: It depends on your server settings that how many images you can upload at a time and how big. The image masking process for example is very slow and you might get a "Maximum execution time of NN seconds exceeded" -error message, if you are trying to upload many images at the same time with imagemasking on.. or if the images are large. Also when using big images, you may get "Memory Size Exhausted" -error as the image processing takes alot of memory too. These errors are not errors in the snippet code, they are caused by server settings. MaxiGallery script tries to use ini_set to increase the execution time and memory limit if needed, but it cannot do it if php is running in safe mode. (I have my setup on a safe_mode enabled server with 15seconds of execution time and 30sec max_input_time and 32Mb memory limit. It can handle 10 images at a time taken with 4MP camera, but with image masking on I can kill it pretty easily)

So, Check these values from php.ini:


max_execution_time, this is the maximum execution time allowed for each script, in seconds (it takes quite some time for maxigallery script to process the images if there are many of them and many imaging "filters" used).
max_input_time, this is the maximum time each script may spend parsing request data, in seconds.
memory_limit, this is the maximum amount of memory in megabytes that a script may consume (maxigallery keeps the images in memory while it makes thumbnails etc).
post_max_size this is the maximum size of POST data in megabytes that PHP will accept (the pictures travel in the post data).
upload_max_filesize this is the maximum allowed size for uploaded files in megabytes.

These settings can also be configured from Apache, so you might want to see if the following can be found from your httpd.conf:

php_admin_value upload_max_filesize Sets the corresponding php setting, see above.
php_admin_value post_max_size Sets the corresponding php setting, see above.
php_admin_value memory_limit Sets the corresponding php setting, see above.
LimitRequestBody Same as post_max_size php setting, but for apache.
Updates-




Comments

Please login to comment.

Close ]


 
 
 

Contact Us | Team Blog | FAQ | Site Credits

© 2005-2009 the MODx CMS project. All rights reserved. Privacy Policy | Terms of Service