定制 ntriga/pimcore-asset-thumbnails 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ntriga/pimcore-asset-thumbnails

最新稳定版本:11.2.0

Composer 安装命令:

composer require ntriga/pimcore-asset-thumbnails

包简介

Generates thumbnails of assets so they don't need to be generated on the fly

README 文档

README

Use helpers for generating thumbnails

Features

  • Assets: Generate thumbnails for assets in messages

Dependencies

Release Supported Pimcore Versions Supported Symfony Versions Maintained Branch
1.x 11.0 6.2 Feature Branch master

Installation

You can install the package via composer:

composer require ntriga/pimcore-asset-thumbnails

Add Bundle to bundles.php:

return [
    Ntriga\PimcoreAssetThumbnails\PimcoreAssetThumbnailsBundle::class => ['all' => true],
];

Usage

Dispatch the message to generate thumbnails

$productThumbs = [
    'ThumbnailConfigName',
];
    
$asset = new Asset\Image();

$this->bus->dispatch(new GenerateImageThumbnailsMessage(
    $asset->getId(),
    $productThumbs,
));

Run the worker to generate thumbnails

bin/console messenger:consume ntriga_thumbs

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

GNU General Public License version 3 (GPLv3). Please see License File for more information.

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-08