Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
Nível 1
Nível 2
Faça login na Comunidade
Faça logon para exibir todas as medalhas
Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.
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?
Solucionado! Ir para a Solução.
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
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 ?
Visualizações
respostas
Total de curtidas
The log fills with stack traces and just the bit that has to do with loading the page is almost 80000 bytes.
Visualizações
respostas
Total de curtidas
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.
Visualizações
respostas
Total de curtidas
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 !
Visualizações
respostas
Total de curtidas
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.
Visualizações
respostas
Total de curtidas
Visualizações
respostas
Total de curtidas
Thats great !! Please do share your findings as it helps others in the community !
Thanks,
Lokesh
Visualizações
respostas
Total de curtidas
Visualizações
Curtida
respostas
Visualizações
Curtida
respostas