Image Gallery for Articles
The Image Gallery for Articles is a module for Okay-CMS, designed to enhance the visual presentation of articles. It allows adding several additional images to each article in the Blog.
Administrative part
After installing the module, a new block "Image Gallery" appears in the article settings, where you can add additional images for your article.
By dragging images, you can change their display order on the site. You can also delete an image by clicking on the red cross in the upper right corner of the card.
After making changes, don't forget to press the "Apply" button at the bottom of the article editing page.
Client’s part
The module is automatically integrated with the okay_shop template and will display an image block under the article text as shown in the screenshot:
In other templates, the gallery will automatically be displayed before the block with the class post_container__footer.
If there is no such block, you can add the gallery to any place in the post.tpl file using the shortcode {blog_post_images}.
It is also worth noting that the module uses the Fancybox library built into okay_shop for displaying enlarged images:
If your template does not use this library, you will need to connect it or modify the module to integrate with your template.
- Cash upon receipt
- Bank transfer