-
- 36 Posts
Salut!
I am trying to use this plugin but I cannot get the lightbox effects to work.
The instructions say to put lightbox in your template but I don’t know if I am doing it correctly here is my call in the head of my template:
<script type="text/javascript" src="assets/snippets/maxigallery/lightboxv2/js/prototype.js"></script>
<script type="text/javascript" src="assets/snippets/maxigallery/lightboxv2/js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="assets/snippets/maxigallery/lightboxv2/js/lightbox.js"></script>
The plugin generates the thumbnail but it does not seem to be using lightboxv2 to display the full image.
Any help is appreciated
-
- 1,842 Posts
The only thing you need to do is add class="lightbox" to your <img />
Do you have a url where I could see this ?
-
- 43 Posts
Hello,
For using Lightbox, you muste have these 4 lignes :
<script src="....../prototype.js" type="text/javascript"></script>
<script src="....../scriptaculous.js" type="text/javascript"></script>
<script src="....../lightbox.js" type="text/javascript"></script>
<link type="text/css" rel="stylesheet" href="....../lightbox.css" />
and be sure that the files are at the right place.
(Krypto, you have say ’Salut’, are you french ?)
-
- 1,215 Posts
Hello.
Some time im working on new version of this plugin. It based on ver 0.7 by alphanono but has many improvements and new features like:
* all options removed to config file (like in ditto or wayfinder), no need to change plugin in DB
* tempale system with using Chunkie class and PHx class allow to use any gallery script to enlarge picture (highslide, slimbox, slidebox...) not only lightbox
* using Thumbnail and Watermark Class for resizing. Its allow to watermark thumbs and big images (all parameters like in MG, thanks doze)
* new resizing method - crop image
* when we edit document with images wich will resized by plugin in WYSIWYG editor in backend, plugin replace big images with they thumbs to reduce traffic. But we can also resize this thumb and thumb whith new sizes and with lightbox link on original image (if needed) will be created next time.
I cant explain all coming features with my knowlege of english, but when plugin is released, i hope you like it.
DirectResize 0.9 beta. PHPThumb, sets of configurations, configuration, binded to specific path. No backward compatibility. |
DirectResize 0.9. PHPThumb, наборы параметров, параметры, привязанные к определенным путям. Без обратной совместимости.
Unfortunately, DirectResize project is closed. If you want to continue development, PM me for access to project page on Google Code. К сожалению, проект DirectResize закрыт. Если вы желаете продолжить разработки, обращайтесь через ПМ для получения доступа к репозиторию на Google Code.
[PLUGIN] DirectResize - as Maxigallery but for single images ::
Download :: [url=
http://modxcms.com/forums/index.php/topic,21490]