Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I would like to customise the "Image browser" template in particular. I'm trying to make clicking on an image redirects to the next image in a gallery, just like how Facebook image browser works.
(This is not a cosmetic change with CSS - CSS change is not what I mean by customising the tempaltes)

I can always edit /wp-content/plugins/nextgen-gallery/view/imagebrowser.php but it's a hack and it's not upgradable when next version of NextGen Gallery is out.

Is there anyway I can overwrite the template imagebrowser.php in my theme?

share|improve this question

closed as off-topic by birgire, Pieter Goosen, Johannes Pille, s_ha_dum Oct 3 at 16:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

up vote 0 down vote accepted

One can do that by copying imagebrowser.php from /wp-content/plugins/nextgen-gallery/view/ to yourthemedirectory/nggallery.php

If you want to customise other templates, you can do the same too.

Some more information can also be found here.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.