So, here is the first release of the SPGM-snippet.
See SPGM with MODx in action
Features:
- (s)FTP upload of images and folders
- per gallery configuration
- per gallery and/or per image captions
- random images for gallery icons
- easy to use and configure (well PHP-knowledge not necessary)
- once set up it’s running and running and running and ...
- fun using it
Features not yet working and/or planned:
- unlimited image zoom
- css not completely checked
- x(html) validity not checked
- usage of snippet-parameters
Installation instructions
1. Download the file
http://utopia.proempel.de/downloads/spgm.tar.gz.
2. Unpack the file.
3. Create a new snippet with the manager, call it SPGM or something like that and copy-paste the content of
snippet.spgm.php into it.
4. Download the original SPGM-files from
SPGM Homepage.
5. Unpack the SPGM files into a folder called
spgm on your server.
6. Insert the following lines into your template between
<head> and
</head>:
<script type="text/javascript" src="spgm.js" type="text/javascript"></script>
<script type="text/javascript" src="spgm/contrib/overlib410/overlib.js" type="text/javascript"></script>
7. Insert the content of
spgm.css into your templates css-file at
assets/templates/<YourTemplate>/site.css.
8. Create a new page in MODx with content [[SPGM]] or however your called it.
9. You can change preferences by editing the
spgm/gal/spgm.conf file. For further instructions and details of configuring SPGM consider the SPGM readme and homepage.
10. Upload images via (s)ftp as described by SPGM readme.
11. Have fun!
!!Please remember!!
This snippet is still a pre-version and some things might not work properly. Please backup your images and/or MODx installation (only files, database is not needed by SPGM).
If you have any questions, comments or hints of better coding or for problem solving, please feel very free to do this here.
Also I’m looking for testers, cause it is only running at my own site at the moment and I need some feedback. Thanks to all volunteers
!
Cheers,
bll0