Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to add image gallery?
Hello again friends,
I searched a lot but I didn't find how to make a galley view in LR, I have seen this topic:https://community.liferay.com/forums/-/message_boards/message/93541478
but the code doesn't work, I want a simple image view like the guy in the last post shows with an image.
Simple as having some small images, and when I click it expands showing it bigger, being able to click to the next or to the one behind, no slide time passing images, just clicks. well, basically like the imdb image view...
thanks a lot for the time.
I searched a lot but I didn't find how to make a galley view in LR, I have seen this topic:https://community.liferay.com/forums/-/message_boards/message/93541478
but the code doesn't work, I want a simple image view like the guy in the last post shows with an image.
Simple as having some small images, and when I click it expands showing it bigger, being able to click to the next or to the one behind, no slide time passing images, just clicks. well, basically like the imdb image view...
thanks a lot for the time.
I don't think there is anything out of the box like that. From where I am sitting you have two options really.
1. Create a custom portlet to meet your needs
2. Use Web Content Structures to manage the content items, and then use an Asset Publisher with a custom ADT Template to source the images and include the logic for rendering / JS for the slides and clicks.
.. maybe look into something like OWL Carousel if you are unfamiliar with how to build the custom code/JS to achieve what you are looking form. Their documentation is pretty straight forward and simple to use.
1. Create a custom portlet to meet your needs
2. Use Web Content Structures to manage the content items, and then use an Asset Publisher with a custom ADT Template to source the images and include the logic for rendering / JS for the slides and clicks.
.. maybe look into something like OWL Carousel if you are unfamiliar with how to build the custom code/JS to achieve what you are looking form. Their documentation is pretty straight forward and simple to use.
sorry for the answer delay, thank you very much for your answer, i managed to do it with bootstrap. thanks a lot
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™