• Resolved hever

    (@hever)


    Hello,

    it would be very nice to get search engine (and user) friendly URLs for single images included into a post via NGG [singlepic].

    It’s currently still possible with .htaccess rewrite rules and based on the pid.
    The following URL can be rewritten to:
    /images/52_320x240
    /index.php?callback=image&pid=52&width=320&height=240&mode=

    It would be really nice if a image could be received beside the PID by its filename. Then the rewrite could be much more friendly:
    /images/my_picture_320x240
    /index.php?callback=image&name=my_picture&width=320&height=240&mode=

    I don’t knwo what the mode is, but it could be added for example like /images/my_picture_320x240_mode, too…

    As I see it, this is easily possible by hacking the nggshow.php and post-thumbnail.php script.

    Thanks in advance!

    http://ww.wp.xz.cn/extend/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Thread Starter hever

    (@hever)

    Oh I’m sorry it seems I have to withdraw my feature request. It seems it’s already implemented!

    I played around a bit with the caching feature in an old and the newest version and it seems I just had some local problems. But now the caching works really nice:
    /images/cache/51__400x225_my_picture.jpg

    Very good work, thank you!

    So if you’re looking for this feature install the newest version of NGG. And if it’s not working immediately clear the browser and the NGG image cache. Try deactivating and reactivating the caching feature and to be sure logout+login to wordpress. I think something of this got the feature working after the update for me.

    Thanks for this awesome piece of software. I’m happy!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: NextGEN Gallery] Permalinks for singlepic’ is closed to new replies.