Search found 21 matches

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: 14
Views: 10680

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: 14
Views: 10680

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: 14
Views: 10680

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: 14
Views: 10680

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: 14
Views: 10680

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: 14
Views: 10680

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: 14
Views: 10680

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...
by Sabir_Ali
08 May 2024, 05:56
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 14
Views: 10680

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

Thank you for your replay. > Can you share the complete configuration in your controller.php file? - Yes. I share the config/controller.php file in attachments. > Did you overwrite the catalog/detail template? - Yes. We are using our own theme in package and the template was modified by another deve...
by Sabir_Ali
06 May 2024, 13:40
Forum: Laravel package
Topic: New added product preview image (in 720) is not shown in product details page.
Replies: 14
Views: 10680

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

PHP: 8.2.7 Laravel Framework: 10.48.4 System: Debian GNU/Linux 12 Aimeos Laravel v2023.10 I had an issue in opening (new added) product details page, when I get an array error. So I temporary fixed it by adding [ 'maxwidth' => 720, 'maxheight' => 960, 'force-size' => 1, ], into the aimeos-core/confi...