• Is there a way not to use JS effects for opening images but instead to get image opened via template file so every image is like a single post?

    Also to use permalinks to prevent hotlinking, e.g.

    gallery-name/image-name

    Thanks in advance,
    Milos

Viewing 3 replies - 1 through 3 (of 3 total)
  • have you tried the Imagebrowser feature (see options)

    or switch to the WP Core gallery… (Which comes without the effect)

    You can put this into your .htaccess to prevent the hotlinking

    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?YourDomain.com/.*$ [NC]
    RewriteRule \.(gif|png|jpg)$ - [F]

    Thread Starter teknoledge

    (@teknoledge)

    @alexrabe
    Ah, exactly what I was looking for. 🙂

    @williwaw
    I was thinking more about permalinks for images e.g.

    wp-content/gallery/whatever/image-file-name-jpg/

    instead of:

    wp-content/gallery/whatever/image file name.jpg

    Also it would be good to add replacement of spaces (‘ ‘) with hyphens for uploaded images in the feature versions of NGG, I’m sure it’s not a big job.

    Cheers! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: NextGEN Gallery] How to prevent image hotlinking?’ is closed to new replies.