In MODx 3.1 I’m trying to use NewsPublisher and can’t get the image file picker to work or show the preview image. The form seems to be loading the default npImageTpl, but the button doesn’t open anything. The thumbnail preview also doesn’t render the image either.
For the file picker button, I ran across the following elsewhere in the forums, but not sure where to verify or make the changes.
- Is that resource group connected to the user group with a Resource Group Access ACL entry with a Policy of NewsPublisherEditor and a minimum role that allows the rule to apply to them (e.g., not “member”)?
So I’m guessing that policy or role probably isn’t assigned properly. Where do I look to verify this? Publishing and editing does already work for normal text fields.
For the image preview box, it has a URL something like this:
https://domain.com/connectors/system/phpthumb.php?&src=assets/usercontent/photo.jpg&h=48&w=48
Opening that URL on it’s own shows {"success":false,"code":401}
but image itself will display fine on it’s own if the phpthumb connector is removed like this: https://domain.com/assets/usercontent/photo.jpg