We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23360
    • 258 Posts
    Hello,

    I need to have 3 pictures and when I click on it I want to have a lerger view with a backgrouog as does Lightbox.
    I need somthing simple, in the waqy, when the client/web user(as secretary with no web experiences) can easyly change pictures. When it change the lightbox has to work with the corresponding latger picture.

    I read the maxyGallry and I only see the way to make a Gallery (with several thumnails).

    Can I do a simple thin with MaxyGally in order have 3 picture in my page. I have to pu the 3 picture in 3 different cells of a table.

    or do you have a different solution?

    Many thank
    Pierre
      • 7923
      • 4,213 Posts
      Well... one way would be to use 3 different galleries which have picture limit set to one picture.. then use query parameters to query the pictures from the galleries to correct places on your template. Check maxigallery wiki page for the snippet parameters.

      But I wouldn’t use MaxiGallery at all in your case, it sound more like a job for DirectResize plugin.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 23360
        • 258 Posts
        Thank Doze for you answer and the like.
        I would like to try it but to be sincerly, I did underdstand well how to implement it.

        I download the package and I copied
        1) image.php > root
        2) phpthumb folder > /assets/snipest/ folder
        3) directrsize folder > /assets/plugin/ folder
        4) I add the
        # DirectResize Friendly URLs part
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^images/([a-z0-9]{32})/.*\.(png|gif|jpe{0,1}g)$ assets/plugins/directresize/furl.php?q=$1 [NC,L,QSA]

        into the .htaccess file

        5)I did :
        On the "System event" tab check OnWebPagePrerender, OnBeforeDocFormSave, OnDocFormPrerender
        Copy and Paste the following into "Plugin configuration" on the Configuration tab
        &config=Configuration;string;thickbox

        But now, I have no idea to use that tool with a picture I added from the WYSIWYG, when I edit a page.

        Do you have an exemple? or some instruction more?

        many thank
          • 26931
          • 2,314 Posts
          hi pierrot10,
          But now, I have no idea to use that tool with a picture I added from the WYSIWYG, when I edit a page.
          Do you have an exemple? or some instruction more?
          maybe you can post your questions in the DirectResize dedicated part of the forum -> http://modxcms.com/forums/index.php/topic,19236.0.html smiley