alwayspaws Posted March 23, 2017 Posted March 23, 2017 For a few images on my site for the main categories the image taken by TB was the tiny thumbnail. I've deleted them and uploaded fresh images again and cleared the cache in TB and in FF and Chrome but the images are not updated. The replaced category images don't update on the site, only in admin.
0 Havouza Posted March 23, 2017 Posted March 23, 2017 Strange. It has always been a PS problem but I thought is was solved because I have no problems with it
0 alwayspaws Posted March 23, 2017 Author Posted March 23, 2017 Should I delete the subcategory and redo it?
0 Havouza Posted March 23, 2017 Posted March 23, 2017 No. Now the weird image system make trouble. If it was easy to find the old just delete it but not with PS
0 alwayspaws Posted March 23, 2017 Author Posted March 23, 2017 For me, I know exactly where my images are, so I can do it over but not if it won't fix it.
0 alwayspaws Posted March 23, 2017 Author Posted March 23, 2017 I see my images locations and the images on my host when I view cPanel - File Manager
0 Havouza Posted March 23, 2017 Posted March 23, 2017 I doubt that your shop images are there, I dont even have the image folder. I have img with a lot of subs where the images are
0 MockoB Posted March 23, 2017 Posted March 23, 2017 @Havouza if you have trouble finding your images just click with right button on image and choose properties and you will see there the right path. If you have troubles find it tell me, I will try to give more details.
0 Havouza Posted March 23, 2017 Posted March 23, 2017 No, I am aware where I can find info about them but still, it is a crazy system. I can't find one good reason for it.
0 alwayspaws Posted March 23, 2017 Author Posted March 23, 2017 I am still having this image problem.
0 alwayspaws Posted March 23, 2017 Author Posted March 23, 2017 @Havouza I inspected the code with google chrome and saw this, so maybe it will give you a clue:
0 Havouza Posted March 24, 2017 Posted March 24, 2017 @alwayspaws This says it all really. WHY this strange structure? Why not something that everyone can understand. Something like the OpenCart way
0 yaniv14 Posted March 24, 2017 Posted March 24, 2017 Actually in categories is not that bad. c/103-category_default/bracelets.jpg c = categories images folder 103 = category ID category_default = image preference type In product is a bit more complicated because the image is being saved under the image ID and not the product ID. so product image ID 3652 will be saved in: p/3/6/5/2/3652.jpg (p = product images folder) 1
0 Havouza Posted March 24, 2017 Posted March 24, 2017 All our images come named as the product reference number. If there is many they have an added underscore and a number. Easy to find
0 Traumflug Posted March 24, 2017 Posted March 24, 2017 One can't put millions of files into a single folder, there's a maximum of 65000 or something. Looking up such huge folders is also slow. Two good reasons to create some subfolder hierarchy.
0 yaniv14 Posted March 24, 2017 Posted March 24, 2017 @Traumflug you are right. One thing that PS is doing wrong, is not keeping the original file as well in the same folder (p/2/3/4). But instead is creates a cloned version of the file with product image id as filename. It should be in addition.
0 Havouza Posted March 24, 2017 Posted March 24, 2017 @Traumflug Of course, but why not make it simple and understandable? Like IMG>Category>Subcat>Products. And keep image names. This way you get an understandable structure and easy to find pictures. We have 3 shops with I estimate a total of 100000 pictures. We would not come close to any limits. Btw PS cant be blamed for being fast, despite the wierd structure
0 Traumflug Posted March 24, 2017 Posted March 24, 2017 IMG>Category>Subcat>Products Products can be in more than one category. PS cant be blamed for being fast, despite the wierd structure It's fast because of the 'weird' structure.
0 Havouza Posted March 24, 2017 Posted March 24, 2017 You must be the first that claim that PS is fast. Anyhow, I hope they clean up this soup. There can't be any reason for p/3/6/5/2/3652.jpg.
0 alwayspaws Posted March 24, 2017 Author Posted March 24, 2017 @Havouza said in Category cover images and thumbnails don't update: Anyhow, I hope they clean this up. There can't be any reason for p/3/6/5/2/3652.jpg. I totally agree. It's ridiculous. I'm hoping imageMagick will fix this.
0 Havouza Posted March 24, 2017 Posted March 24, 2017 @mdekker that saying was not for an old Swede. Translate please
0 alwayspaws Posted March 24, 2017 Author Posted March 24, 2017 @mdekker said in Category cover images and thumbnails don't update: No ImageMagick does not change the structure Oh no! So what do we need it for? (rhetorical question).
0 roband7 Posted March 24, 2017 Posted March 24, 2017 @alwayspaws The module gives sharper looking images with correct colors. This is especially noticeable if you have high-resolution professional photograper images as your source.
Question
alwayspaws
For a few images on my site for the main categories the image taken by TB was the tiny thumbnail.
I've deleted them and uploaded fresh images again and cleared the cache in TB and in FF and Chrome but the images are not updated.
The replaced category images don't update on the site, only in admin.
39 answers to this question
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