Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloadgallery doesn't show images after upload #321

Closed
jplette opened this issue Jun 8, 2015 · 2 comments
Closed

Downloadgallery doesn't show images after upload #321

jplette opened this issue Jun 8, 2015 · 2 comments

Comments

@jplette
Copy link

jplette commented Jun 8, 2015

When I'm uploading an image to a downloadgallery, the image isn't shown in the results-section of the gallery dialog by default.
I have to check the "Image Type" in the "Types"-Filter section first.
I think this is not the behaviour a content-editor expects. The results-section should show all files in that gallery by default.
It seems that this only happens, when the dialog refreshes after an upload.

This belongs to OpenCms 9.5.0. and 9.5.1 and maybe older versions also

@tHerrmann
Copy link

To avoid this issue you need to edit the configuration file /WEB-INF/config/opencms-vfs.xml.
Look for the node

    <type class="org.opencms.file.types.CmsResourceTypeImage" name="image" id="3"> 

and change

    <param name="gallery.type.names">imagegallery</param> 

to

    <param name="gallery.type.names">imagegallery|downloadgallery</param>

This will be fixed in the upcoming release of version 9.5.3.

@tHerrmann
Copy link

Fixed in branch_9_5_x will be released in version 9.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants