Henrik41 Posted February 12, 2021 Share Posted February 12, 2021 I am building a shop with over 15K products. I have about 48K images. There is no way I can wait for the import to download 48K images in different sizes as this gives me errors and is time consuming. My understanding is that Prestashop creates a file called img/p and inside I see files corresponding to numbers... (what are those numbers??) Is there a way to upload all those images and associate them with their corresponding reference? How did other people manage to upload that much images? Many thanks Link to comment Share on other sites More sharing options...
musicmaster Posted February 13, 2021 Share Posted February 13, 2021 First of all: images are stored in a tree with one figure per level. So the image that in your database has id_image = 123 can be found as /img/p/1/2/3/123.jpg. All the other images in that directory (like 123-small.jpg) are derived from this image. When you click on the button "regenerate images" they are created (again). Filezilla has a search option in external files. That way you can make that you only download the core images and not the derived images (search for files that do not contain '-'). Of course in that case you would need to regenerate them locally. Another option is csv files. You can define there a path to an image. Of course in that case you don't have control over what id the images get. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now