DB explanation - mshop_media
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 44
- Joined: 24 Jun 2019, 14:46
DB explanation - mshop_media
Hi,
I need to know more about the mshop_media table. The field "preview" is quite hard to understand for me.
How that work?
I have raw data and I want to insert it into that table (links for image products). How the json is created?
I mean, why sometimes you start with
and other times you start with ?
Thank you very much
I need to know more about the mshop_media table. The field "preview" is quite hard to understand for me.
How that work?
I have raw data and I want to insert it into that table (links for image products). How the json is created?
I mean, why sometimes you start with
Code: Select all
{"1": ...
and other times you start with
Code: Select all
{"240": ...
Thank you very much
Re: DB explanation - mshop_media
The JSON in the "preview" column represents the different preview image sizes with the width of the image in px as key (e.g. "240"). If an image doesn't has a size (e.g. SVG) or isn't an image, than "1" px width is used as key.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 44
- Joined: 24 Jun 2019, 14:46
Re: DB explanation - mshop_media
Thank you very much!