Download the PHP package markocupic/gallery-creator-bundle without Composer

On this page you can find all versions of the php package markocupic/gallery-creator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
markocupic/gallery-creator-bundle
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package gallery-creator-bundle

Gallery Creator Bundle

Latest Version Total Downloads License

Frontend and backend extension for Contao CMS.

This extension lets you create, display and manage photo albums in your Contao installation. It ships with an album listing and an album detail view, supports nested (child) albums, per-album access rights, and Markdown album descriptions.

https://user-images.githubusercontent.com/1525166/154361326-cc4dc4c0-60c5-41e3-a0dc-a41fcd3d242e.mp4

Table of contents

Requirements

Installation

Use the Contao Manager or run the following command in your CLI:

Upgrading

⚠️ Upgrading to 3.3.0? This release contains breaking changes to the frontend Twig templates and removes the legacy galleryCreatorGenerateFrontendTemplate and galleryCreatorImagePostInsert hooks (replaced by Symfony events). Please read the UPGRADE.md before updating, especially if you have customized any templates or used one of these hooks.

Configuration

The bundle ships with a default configuration. To override it, add your settings to your project configuration (e.g. config/config.yaml):

Access rights (CHMOD)

Go to the Contao backend settings and select a default album owner, a default album owner group and the default access rights.

Important: If you leave the "album owner" field empty, the currently logged-in backend user automatically becomes the album owner when creating a new album.

Lightbox

As a lightbox we strongly recommend Glightbox:

Make sure you have activated the lightbox template in the layout settings of your theme in the Contao backend.

Styling (CSS)

Gallery Creator adds the .gc-listing-view and/or the .gc-detail-view class to the <body> tag. This helps you show or hide items depending on the current mode (listing vs. detail view).

Frontend templates

The frontend output is rendered with Contao Twig components. You can override any of the shipped templates in your project's contao/templates/ directory:

If you override these templates, be aware that the template variables changed in 3.3.0. See UPGRADE.md for the details.

Extending the bundle

GenerateFrontendTemplateEvent

Use the GenerateFrontendTemplateEvent to adapt the frontend output. It is dispatched right before the gallery frontend template is rendered and carries the content element controller, the template, the current request and the active album (if there is one). Listeners mutate the template in place; no return value is expected.

This replaces the in version 3.0.0 removed galleryCreatorGenerateFrontendTemplate hook (see UPGRADE.md).

ImagePostInsertEvent

Use the ImagePostInsertEvent to adapt the picture entity when uploading new images to an album. It is dispatched right after an image has been uploaded and written to the database and carries the pictures model. Listeners mutate the model in place; no return value is expected.

This replaces the in version 3.0.0 removed galleryCreatorImagePostInsert hook (see UPGRADE.md).

Have fun!


All versions of gallery-creator-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
contao/core-bundle Version ^5.3
codefog/contao-haste Version ^5.0
friendsofsymfony/http-cache-bundle Version ^3.4
jaybizzle/crawler-detect Version ^1.2
league/commonmark Version ^2.3
symfony/webpack-encore-bundle Version ^v2.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package markocupic/gallery-creator-bundle contains the following files

Loading the files please wait ...