Search found 24 matches

by Sabir_Ali
17 May 2024, 09:44
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

Yes! It works! :D Actually I must add all elements and into 'controller' array to make the function to see all of them: 'controller' => [ 'frontend' => [ 'catalog' => [ 'levels-always' => 3, // number of category levels for mega menu ], ], 'common' => [ 'media' => [ 'product' => [ 'previews' => arra...
by Sabir_Ali
17 May 2024, 08:48
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

I asked this question about configuration because I was trying to use this approach before, and had no result. I know, that this is normal practice to use config/shop.php file to add our own configurations. But it doesn't work for me. I spent almost two days in searching a way to merge this configur...
by Sabir_Ali
15 May 2024, 13:43
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

But I forgot one thing. How to add the following configuration as external 'common' => [ 'media' => [ 'product' => [ 'previews' => [ [ 'maxwidth' => 720, 'maxheight' => 960, 'force-size' => 1, ], ], ] ], ], to avoid edit configuration in the aimeos-core/config/controller.php ?
by Sabir_Ali
15 May 2024, 06:57
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

Yes. The solution accepted by us is changing default directory for media files in config/shop.php in 'fs-media'.
Thanks a lot!
by Sabir_Ali
14 May 2024, 08:22
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

Did you enable/change the ASSET_URL in your .env file? https://github.com/aimeos/aimeos/blob/m ... example#L7 No. I did not edit it. Today I was trying to use it but I get only loosing all styles and media on the site. Is there any file system configuration (I mean config/filesystem.php or somewher...
by Sabir_Ali
13 May 2024, 13:15
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

Everything is OK, except the fact, that browser looks for image without the '/aimeos/' prefix to URL. If I add it manually or hard code it into our template's image src it works as expected. When I debug the media Item, media.previews array contains all previews without this directory. If I phisical...
by Sabir_Ali
12 May 2024, 13:23
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

Do I understand correctly that this problem cannot be solved? And what actually is correct?
by Sabir_Ali
12 May 2024, 12:01
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

I used your original templates/client/html/catalog/detail/image.php file in trying fix the problem. And now I see the image but only in original (large) size. Still not in 720px of width. Then I added the following configuration into config/shop.php file with hope that this will fix (I'm not sure th...
by Sabir_Ali
10 May 2024, 07:48
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 20
Views: 13862

Re: New added product preview image (in 720) is not shown in product details page.

How many images do you have that will be rescaled? - One image. I added only one image to test. And the command php artisan aimeos:jobs media/scale does not work in my case. Terminal freezes on it. But I don't understand what is the purpose of running this command. Because all sizes of the pictures...