Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We have a node with an image field. As an admin, we can create a node with an image and it displays correctly. When trying with authenticated user, the image is uploaded to the server but not attached to the created node.
Authenticated user has all the Services -module permissions (apart from administer Services). Since this works with admin, it sounds like a permission problem, but I have no idea what permissions authenticated user should have that it does not already have.
Comments
Comment #2
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedThe only permission needed is the "Save binary file" permission provided by Services. Other than that, they should be good to go. If that isn't working, be sure to connect your device to a Chrome or Safari "inspect devices" debugger, that way you can monitor the Console and Network tab information provided by the browser's development tools. Those should provide more insight on the error(s) being thrown, please report back here with that info, and we can go from there, thanks.
Comment #3
AV-4 CreditAttribution: AV-4 commentedWe found a solution, or maybe a work-around is a better term. We switched the site language to 'und' in the settings.js -file and now the images are working correctly.
So we think this has something to do with our site specifically and the way it's translated. This solution suites us atm, but if I look into this more later, I will post the info here, in case someone else has the same problem later on.