Basic Assignments
 
Options & Settings
 
Main Time Information
Color Code: Pink
Assigned To: Brandon Moore
Created By: Brandon Moore
Created Date/Time: 5/16/2022 10:55 am
 
Action Status: Blank (new)
Show On The Web: Yes - (public)
 
Time Id: 9027
Template/Type: Ideas & Special Notes
Title/Caption: eCommerce images for items
Start Date: 5/16/2022
Main Status: Active

Sorry, no photos available for this element of time.


Notes:

We had a client ask for some info on ecommerce images. This is what I wrote. Just recording it for the record.

Good morning. This is going to be good news for you... The images are under the top_secret folder but there is no way of protecting a .jpg file. We only protect the code and data files. Images are images, if that makes sense.

Each company has a different path or corporation folder. If I were you, I'd do an API call, get the path one time, and then store that folder name as part of that company's record. Here is a sample for two corps – 53 and 54

top_secret/images/corp53_5FC2B3D1C9

top_secret/images/corp54_22C0DEC894

As you can see, the last ten digits are a small hash (mini password) to help protect the images. If I were you, I'd figure that folder name out and just store that part of it. For example – for corp 53 – store this - corp53_5FC2B3D1C9.

Underneath that folder, there are the following other sub folders. thumb, small, and large. These are standard and exist for each corporation.

  • The thumbnails are in the thumb folder – really small. 29x22 pixels – file name pattern is "part-[part id]-th.jpg" for example: part-55555-th.jpg

  • The smaller images are in the small folder – little bit bigger – width is set to 160 pixels –
    height could be anything – file name pattern is "part-[part id]-[image
    number].jpg" for example: part-55555-1.jpg or part-55555-2.jpg, etc.

  • The large images are in the large folder – biggest images that we store – width is usually between 640 (older files) and 760 (newer files) – height could be anything – file name pattern is the same as the small folder. Often people will just use these larger images out in ecommerce.

Here are a couple of sample paths for a large image:

https://data0.adilas.biz/top_secret/images/corp53_5FC2B3D1C9/large/part-225406-1.jpg

https://data0.adilas.biz/top_secret/images/corp53_5FC2B3D1C9/large/part-225406-2.jpg

Hopefully that helps you understand a little bit more about the images and where they are stored and the naming conventions.