Git Product home page Git Product logo

magento2-gallery's People

Contributors

daniel-rose avatar stephanotto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

magento2-gallery's Issues

Magento 2.2.3 error during compilation

Hi,
when i compile, i received this error :

Compilation was started.
Interception cache generation... 6/7 [========================>---] 85% 29 secs 298.0 MiBErrors during configuration scanning:
DavidVerholen\Teaser\Api\TeaserGroupRepositoryInterface\Proxy
Invalid proxy class for DavidVerholen\Teaser\Api\TeaserGroupRepositoryInterface
Total Errors Count: 1

[Magento\Framework\Validator\Exception]
Error during compilation

Bug: Image Filter function in Gallerires Admin page

Hi Daniel Rose,
When user create a new gallery and select a image that was selected on another gallery.
The image filter function will not load.
I think SQL statement is wrong. My first solution: With other Gallery, i will only show images that never were selected.

In file DR/Gallery/Block/Adminhtml/Gallery/Edit/Tab/Image.php

protected function _prepareCollection()
    {
        /** @var Collection $collection */
        $collection = $this->collectionFactory->create();
        $collection->getSelect()->joinLeft(
            ['link_table' => $collection->getTable('dr_gallery_gallery_image')],
            'main_table.image_id = link_table.image_id',
            ['gallery_id', 'position']);

        $this->setCollection($collection);
        return parent::_prepareCollection();
    }

I edited this function to solved this issue.

protected function _prepareCollection()
    {
        /** @var Collection $collection */
        $collection = $this->collectionFactory->create();
        $collection->getSelect()->joinLeft(
            ['link_table' => $collection->getTable('dr_gallery_gallery_image')],
            'main_table.image_id = link_table.image_id',
            ['gallery_id', 'position'])
            ->where("link_table.image_id is null");

        $this->setCollection($collection);
        return parent::_prepareCollection();
    }

My second solution: Filter all images, and allow select duplicated images.

Magento 2.2 adding an image to an existing gallery doesn't work

I've tried to add an new image to an existing gallery but :

  • the image can't be found in the grid images in the gallery option
  • only the actual images in the gallery are shown.
  • even using the search, the "all" yes or no filter, searching by name or title nothing works...

Seems a bug, the only way to add an image to an existing gallery is to recreate it from the beginning. painfull

Features and status

Would you be so kind to update your readme.md with features set and status of the extension, please?

Filter not working Gallery Image Tab

Hello
I was testing your gallery in magento2 but i found that Filter is not working inside the Image Tab. It only showing Filtered "Yes" when you try another filter like "ANY" and again try to put "YES" into filter then it just stop everything on browser. BTW nice work on grid.

Compiler Error

When I am compiler at Magento 2.2.1 , it not accept ..
Do you know what happened it is ? or can tell me how to fix that !
Thanks~

2017-12-26 9 41 00

Magento 2.2. Search functionality in Gallery section when selecting images for gallery is broken

When creating new Gallery there is list of all images and you can select desired ones to be included in Gallery.

But when you edit existing gallery, you can only see already added images. If you want to add additional ones you have to Choose Any from dropdown selector and click Search. In my installation I get JavaScript error

Uncaught RangeError: Maximum call stack size exceeded

Same thing happens when creating new gallery and you try to use Search feature of the Images grid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.