I have a client that wants to allow a set of users permission to view the dynamic media menu for published images. When logged in under and administrator account, the user can see a menu of different renditions for images that have been published. As a different logged in user, they can only see the original image and no dynamic media at all.
We tried enabling read, modify, and create access to the /etc/dam/drm/DynamicMediaConfig path. When I enabled this, the page wouldn't render images and the error log is filled with exceptions that image processor could not be loaded.
*ERROR* [0:0:0:0:0:0:0:1 [1442603067094] GET /home/users/geometrixx-outdoors/aaron.mcdonald@mailinator.com/profile/photos/primary/image.prof.thumbnail.24.24.png HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
java.lang.NoClassDefFoundError: Could not initialize class com.sun.imageio.plugins.jpeg.JPEGImageReader
What do I need to do in order to enable the dynamic media menu and allow the user to view dynamic media renditions?
Solved! Go to Solution.
Views
Replies
Total Likes
Views
Replies
Total Likes
did you try giving access to /etc/dam completely and see if it works. DynamicMediaConfig may also need some dependent permissions like workflows etc
Can you also post the complete error log ?
Views
Replies
Total Likes
The log fills with stack traces and just the bit that has to do with loading the page is almost 80000 bytes.
Views
Replies
Total Likes
We marked all of the permissions for that folder and then none of the images, and I do mean none, were displayed due to the exception in the original post. If I left the permissions off, the user could see the image and the local renditions but not the Dynamic versions.
Views
Replies
Total Likes
See if you can upload the file or atleast give little more logs which gives us the better idea !! the one line which you have mentioned doesnt give much of a clue !
Views
Replies
Total Likes
Looks like we found it. It is a complicated group of permissions that have to be set up as well as a config file.
When I get more info, I'll try to post it so it can become a golden nugget.
Views
Replies
Total Likes
Views
Replies
Total Likes
Thats great !! Please do share your findings as it helps others in the community !
Thanks,
Lokesh
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies