Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to edit nggstyle.css file for these. Suggested option today is to copy this file into ../wp-content/ngg_styles folder and edit the file here.

    For imagebrowser, find the sections starting with .ngg-imagebrowser … and edit these, using standard CSS code and syntax either manually or in WP admin at Gallery–> Other Options –> Styles. These edits are applicable only to the elements that imagebrowser currently supports.

    But if you want to add e.g. new fields to display within imagebrowser, you should know NGG internal naming. I do not suggest trying that, since you need to understand how NGG uses different variables etc.

    Hope this helps.

    Thread Starter lfarah

    (@lfarah)

    Got it and thank you…

    How about for PHP files? The legacy was to simply find imagebrowser.php and tweak there. Which file now contains all of the image browser php elements?

    There are currently several php files controlling imagebrowser functionality in this folder and its subfolders:
    …/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_imagebrowser/. Just looking at those files clearly shows how different e.g. getting certain image-related field values from your WP database are in NGG now and prior to 2.0 release.

    There is one php file managing basic imagebrowser functions named netxgen_basic_imagebrowser.php in the /templates subfolder of the above mentioned module folder.

    Thread Starter lfarah

    (@lfarah)

    Okay…thanks for all the help!

    Plugin Contributor photocrati

    (@photocrati)

    @lfarah – Aside from the ideas @vesat (thanks!) put forward, you can also work with customizing a template (read: create a copy of the existing Legacy template) under ../wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/view

    Thanks!

    – Cais.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Where do I edit ImageBrowser file??’ is closed to new replies.