sGallery Plugin for attaching Images and Video clips (YouTube) to a resource in the Evolution CMS admin panel.

Related tags

CMS evolution-cms
Overview

sGallery for Evolution CMS 3

sGallery Latest Stable Version CMS Evolution PHP version License Issues Stars Total Downloads

sGallery Plugin for attaching Images and Video clips (YouTube) to a resource in the Evolution CMS admin panel.

Features

  • Upload Images.
  • Upload Videos.
  • Include Youtube.
  • Sort positions.
  • Text fields for file.
  • Resize and WEBP convert image.
  • Integration the gallery to custom modules.

Install by artisan package installer

Run in you /core/ folder:

php artisan package:installrequire seiger/sgallery "*"

Create config file in core/custom/config/cms/settings with name sgallery.php the file should return a comma-separated list of templates.

php artisan vendor:publish --provider="Seiger\sGallery\sGalleryServiceProvider"

Run make DB structure with command:

php artisan migrate

Configure

Templates for displaying gallery tabs are configured in the

core/custom/config/cms/settings/sGallery.php

file, where the array contains template IDs for connecting the gallery.

Usage in blade

Sow all files:

@foreach(sGallery::all() as $item)
    <a class="swiper-slide" @if(trim($item->link))href="{{$item->link}}"@endif>
        <div class="container">
            <img loading="lazy" class="intro__img" src="{{$item->file_src}}" alt="{{$item->alt}}" width="1440" height="456">
            <div class="intro__inner">
                <div class="h1__title">{{$item->title}}</div>
                <p class="intro__text">{{$item->description}}</p>
                @if(trim($item->link_text))<div class="btn background__mod">{{$item->link_text}}</div>@endif
            </div>
        </div>
    </a>
@endforeach

or

@foreach(sGallery::all('product', $product->id) as $item)
    <div class="swiper-slide">
        <a class="js-trigger-fancybox" href="{{$item->file_src}}" data-fancybox="product-gallery">
            <img loading="lazy" src="{{$item->file_src}}" width="440" height="440" />
        </a>
    </div>
@endforeach

Integration into the products module

Just paste this code in your View backend

{!! sGallery::initialise('section', 'product', 'i') !!}
You might also like...
BaiCloud-cms is a powerful open source CMS that allows you to create professional websites and scalable web applications. Visit the project website for more information.

BaiCloud-cms About BaiCloud-cms is a powerful open source CMS that allows you to create professional websites and scalable web applications. Visit the

Bootstrap CMS - PHP CMS powered by Laravel 5 and Sentry
Bootstrap CMS - PHP CMS powered by Laravel 5 and Sentry

Bootstrap CMS Bootstrap CMS was created by, and is maintained by Graham Campbell, and is a PHP CMS powered by Laravel 5.1 and Sentry. It utilises many

Botble plugin comment is a comment  plugin for Botble CMS
Botble plugin comment is a comment plugin for Botble CMS

Botble plugin comment This is a plugin for Botble CMS so you have to purchase Botble CMS first to use this plugin.

Doptor CMS is a Laravel 5 based CMS
Doptor CMS is a Laravel 5 based CMS

Introduction Doptor CMS is a Laravel 5 based CMS. Find out more about Doptor by reading below. ;) About Doptor CMS Doptor is an Integrated and well-de

Bismuth CMS is a ready-made Website CMS based on Yii 2 Advance Template

Bismuth CMS is a ready-made Website CMS based on Yii 2 Advance Template, it's the simplest and easy to set up CMS you may come across.

 Amila Laravel CMS - Free, open-source Simple Bootstrap Laravel CMS
Amila Laravel CMS - Free, open-source Simple Bootstrap Laravel CMS

Simple Bootstrap Laravel CMS. Support Laravel 8.x Can integrate into any existing Laravel project. Only add few database tables with prefixes, not affect your existing database tables. Support Laravel 7.x & Laravel 6.x & Laravel 5.x & MySql & PostgreSql - Amila Laravel CMS

🎨️ A WordPress plugin to disable admin color schemes

Colors A WordPress plugin to disable admin color schemes. Description Disable the admin color schemes for all users. Availiable filters colors_should_

Plugin Vite is the conduit between Craft CMS plugins and Vite, with manifest.json & HMR support

Plugin Vite Related Articles: Vite.js Next Generation Frontend Tooling + Craft CMS A Vite Buildchain for Craft CMS Plugins Requirements Craft CMS 3.0.

Comments
  • file_get_contents

    file_get_contents

    Error : file_get_contents(//assets/cache//phpThumbCacheIMversion.txt): Failed to open stream: No such file or directory. Ошибка возникла после того, как добавил фото через Галерею, она зависла, обновил страницу и влезла эта ошибка....

    opened by argirov83 0
Releases(v1.1.4)
  • v1.1.4(Jul 21, 2022)

    What's Changed

    • Add src attribute by @Seiger in https://github.com/Seiger/sgallery/pull/14
    • A file_src attribute is deprecate

    Full Changelog: https://github.com/Seiger/sgallery/compare/v1.1.3...v1.1.4

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Jul 21, 2022)

    sGallery

    sGallery for Evolution CMS 3

    sGallery Plugin for attaching Images and Video clips (YouTube) to a resource in the Evolution CMS admin panel.

    Features

    • [x] Upload Images.
    • [x] Upload Videos.
    • [x] Include Youtube.
    • [x] Sort positions.
    • [x] Text fields for file.
    Source code(tar.gz)
    Source code(zip)
  • v1.1.3(Jul 12, 2022)

    Screenshot_4

    What's Changed

    • [FIX] Texts. by @Seiger in https://github.com/Seiger/sgallery/pull/10
    • [FIX] Fields delete. by @Seiger in https://github.com/Seiger/sgallery/pull/11
    • [FIX] Ajax render. by @Seiger in https://github.com/Seiger/sgallery/pull/12
    • [FIX] Delete confirm file. by @Seiger in https://github.com/Seiger/sgallery/pull/13

    Full Changelog: https://github.com/Seiger/sgallery/compare/v1.1.2...v1.1.3

    Source code(tar.gz)
    Source code(zip)
Owner
Serhii Korneliuk
Serhii Korneliuk
phpReel is a free, MIT open-source subscription-based video streaming service that lets you create your platform for distributing video content in the form of movies or series.

phpReel is a free, MIT open-source subscription-based video streaming service that lets you create your platform for distributing video content in the form of movies or series.

null 118 Dec 14, 2022
Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.

Grafite CMS Grafite has archived this project and no longer supports or develops this code. We recommend using only as a source of ideas for your own

Grafite Inc 494 Nov 25, 2022
📦 A CMS Panel using Phalcon Framework

Sakura panel , A script made with PHP ( Phalcon FrameWork ) and can run on both apache and nginx or any php service.

Yassine Rais 43 Apr 20, 2022
Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. /// Chat with us and others on Spectrum: https://spectrum.chat/twill

About Twill Twill is an open source Laravel package that helps developers rapidly create a custom CMS that is beautiful, powerful, and flexible. By st

AREA 17 3k Jan 6, 2023
Baicloud CMS is a lightweight content management system (CMS) based on PHP and MySQL and running on Linux, windows and other platforms

BaiCloud-cms About BaiCloud-cms is a powerful open source CMS that allows you to create professional websites and scalable web applications. Visit the

null 5 Aug 15, 2022
website for sharing media and videos like youtube

CodeXLine-Media Application Laravel media application you can use that as startup to your next app if you will work with videos and media processing ?

Mahmoud shahin 6 Jun 19, 2022
GetSimple CMS - a flatfile CMS that works fast and efficient and has the best UI around, it is written in PHP

GetSimple CMS is a flatfile CMS that works fast and efficient and has the best UI around, it is written in PHP.

null 370 Dec 30, 2022
A simple video station based on PHP and MySQL.

Simple-PHP-Video-Station 一个简单的、基于 PHP 和 MySQL 的视频点播站。 A simple video station based on PHP and MySQL. 特点 仅 655K 主体文件和 3 张数据表 前后端分离 支持 pjax 无刷适配 使用 DPla

HIMlaoS_Misa 9 Dec 27, 2022
Ampache is a web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.

Ampache is a web based audio/video streaming application and file manager allowing you to access your music & videos from anywhere, using almost any internet enabled device.

null 3.2k Jan 5, 2023
Flextype is an open-source Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS

Flextype is an open-source Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS. Building this Content Management System, we focused on simplicity. To achieve this, we implemented a simple but powerful API's.

Flextype 524 Dec 30, 2022