We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23360
    • 258 Posts
    Bonjour,
    J’ai un petit probleme avec cette extention.
    J’aimerais faire en sorte que je puisse zoomé des image sur mon site avec un fond noir, comme le fait lightbox2

    On m’a proposé d’essayé directsize.

    Alors j’ai trouvé cette procédure.


    0) Télchargé le package et j’ai copié
    1) image.php sur la racine
    2) le dossier "phpthumb" dans /assets/snipest/
    3) "directrsize" dans /assets/plugin/
    4) dans htaccess j’ai ajouté ceci
    # 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]


    5)dans le plugin dans,"System event" j’ai coché OnWebPagePrerender, OnBeforeDocFormSave, OnDocFormPrerender
    J’ai collé ce paramettre dasn "Plugin configuration"
    &config=Configuration;string;thickbox

    Mais après, je en vois pas comment je peux utilisé cet outil avec une image.

    Pourriez-vous m’aider ou me proposer ue autre solution

    je pense que maxigallery ne repond pas a ma demande car il va généré une gallery entiere aors que j’ai juste besoin de l’effet pour deux trois photos réparties dans mon site.

    Merci merci
      • 23360
      • 258 Posts
      Personne ne peut m’aider? undecided
        • 34001
        • 428 Posts
        Bonsoir,

        Une fois le plugin installé, il te suffit simplement de suivre les étapes précisées dans la documentation:
        1. Install the plugin (see installation and plugin configuration in readme), make sure that there is drgalleries subfolder in assets folder with write permissions.
        2. Set one of the standart configuration in plugin configuration tab - slimbox, slidebox, lightboxv2, highslide
        3. Make sure that the source image files are located in a folder assets/images or its subfolders
        4. To force the plug to create thumbs and open images with selected effect, it’s mandatory to set width and/or height for img tags equal width and height of thumbnail. I.e. for image <img src="assets/images/image.jpg" width="120" height="60" /> will be genereated thumbnail with sizes 120x60. Naturally, the original image.jpg must exceed 120x60 size (otherwise there is no point in creating preview).
        As-tu bien suivi ces étapes ? Si oui, qu’est-ce qui ne fonctionne pas exactement ?
          Intégrateur web freelance