Images deleted during scaling

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Pat
Posts: 4
Joined: 15 Dec 2020, 16:31

Images deleted during scaling

Post by Pat » 14 Nov 2023, 15:19

Hello

We are having an issue where certain image files are deleted when we run the media/scale job which then are not displayed in the shop.

We suspect that this affects images that are stored with several articles or in other languages because scaling works the first time. Then the image seems to be deleted and we get the following error message for other articles that have the same image:

Scaling media item "******" failed: File "******" not found

Is such behavior known and intended? Is there a way to bypass deleting the images?

We are using TYPO3 12.4.5 and Aimeos 23.10.1.

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Images deleted during scaling

Post by aimeos » 15 Nov 2023, 07:08

Seems like you've used shared media files. Did you copy the products whose preview images have been deleted?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Pat
Posts: 4
Joined: 15 Dec 2020, 16:31

Re: Images deleted during scaling

Post by Pat » 16 Nov 2023, 07:11

We import all articles including images from an external source. Some of them do share media files and in other languages they are also shared.

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Images deleted during scaling

Post by aimeos » 17 Nov 2023, 12:20

Shared image files in different media items are causing that issue. If you want to share files, you must assign the same media item to all products. How do you import the products?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply