Benjamin
Forum Replies Created
-
Thanks @jrphoto76! We’ve made some assorted Safari changes that may have been the cause so I’m going to mark this as resolved.
If you are using the built in ‘legacy’ templates then no; all you will need to do is change your setting to use the new ‘view’ templates. If you have customizations beyond the defaults NextGEN ships with you will need to update your PHP templates unfortunately.
I will say though that we aren’t removing legacy templates immediately; at the moment we’re making people aware that we will be dropping them so they can prepare. We will also likely move that feature into a companion plugin for users that still require it, but it won’t be part of NextGEN itself.
Thank you all for your feedback and confirmation!
I recommend creating a plugin specific to your site for tweaks like this; I’ll provide what you need below: just copy paste this into a file (say example_org_tweaks.php) and upload it to your /wp-content/ content.
/* * Plugin Name: example.org site tweaks * Description: Various modifications and changes for example.org * Version: 0.1 * Plugin URI: https://example.org/ * Author: Benjamin Owens * Author URI: https://example.org/author/ * License: GPLv2 */ add_filter('ngg_load_frontend_load', '__return_true');@vandestouwe What you have there is a method that is executing
__return_truebut that doesn’t actually have any effect, yourwmc_load_frontend_logic()is actually returningnull.Try using
add_filter('ngg_load_frontend_logic', '__return_true');— you could also usereturn true;in your existing method.Hi sparky72,
The filename is stored as metadata as well; I would recommend just deleting the image and uploading it again with the correct filename. You can then use the “Sort Gallery” button when managing that gallery to move the new image into the correct sort order if desired.
You may need to add img-src as well to your Content-Security-Policy:
img-src https: filesystem: 'unsafe-inline'Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] JSON issueHello Gunnar Grotnes,
You should be able to fix this by applying the following to your
wp-config.php:define('NGG_DISABLE_RESOURCE_MANAGER', TRUE);Let me know if that resolves the issue please. Thanks!
If you open your browser development tools (F12 or right click anywhere on the Add Gallery / Images page and select “inspect element”, reload the page once, go to the “network tab” and then select the “XHR” tab you will get debugging info on what is happening in the background.
Can you please do that then attempt to upload a single image; when it starts a new entry will be created that you can click on to examine. Then go to the “Response” tab it will tell you what the server has sent back — we’re expecting a certain formatted bit of text but something else (not that format) is coming through instead. Please copy / paste that response here, thanks.
Sorry tattoofinders, but NextGEN can’t do all of those ‘out of the box.’
We intend to implement lazyloading soon, and your third item would be possible with a custom template, we don’t have a way of categorizing images and they aren’t linked to WordPress’ categories. It would be possible by writing a custom display type (which I can help with to an extent if you are willing) but it will require a good knowledge of PHP.
Sorry Deon, but NextGEN does not yet support any kind of CDN. We are working on it however, but I can’t give a date as to when I’ll be done writing that.
Can you try adding the following PHP to your site somehow please?
add_filter('ngg_load_frontend_load', '__return_true');That should enable displaying NGG galleries in the WP-Admin. Thanks.
- This reply was modified 5 years, 6 months ago by Benjamin.
Forum: Plugins
In reply to: [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Album ManagerI’ve found lately that our albums page has some problems like this with WordPress 5.5+ due to some of the jQuery changes and conflicts caused by problems still using “older” jQuery code. You can try activating Enable jQuery Migrate Helper from Automattic which may solve the problem.
If that doesn’t can you please try to deactivate your other plugins to determine if there is a conflict or if it is entirely NextGEN’s issue? Thanks!
That’s odd, NextGEN shouldn’t be altering images when that option is disabled.
Could you please fill out a bug report on our site and mention my name so we can investigate this better? Sorry for the hassle.
- This reply was modified 5 years, 6 months ago by Benjamin.
You can make NextGEN load its display logic in the WP-Admin by applying
__return_trueto the filter `ngg_load_frontend_logic’. It passes a second parameter of the module name if you wish to only enable certain display types.