Page 1 of 1

[SOLVED] Cannot upload a couple particular images to my products

Posted: Wed Jan 19, 2022 2:56 pm
by Joe1234
I have a very weird issue where I cannot upload two particular images to my product. It doesn't matter if I resize it, if I try to upload it to a different product, it simply won't take as a product image. I hit save, I get the message that everything saves, when I go back in or to the product page I don't see the image. When I try to upload a different image to that particular product, or any other product I have no issue. A regular JPG. Has anyone ever had this issue. Has anyone ever experienced this?

Thanks

Using the latest version.
Attached is the image...I don't know if that even matters because I see that the image was resized uploading it here.

Re: Cannot upload a couple particular images to my products

Posted: Wed Jan 19, 2022 3:54 pm
by OSWorX
General you should not name images with special characters (and also no spaces, Umlauts, etc.).
The & is one of them!
Have you tried it without it?

Re: Cannot upload a couple particular images to my products

Posted: Wed Jan 19, 2022 4:41 pm
by thekrotek
I second this. Never use special characters in file names, otherwise issues may happen.

Re: Cannot upload a couple particular images to my products

Posted: Wed Jan 19, 2022 8:57 pm
by paulfeakins
Yep, pretty sure the & will be the problem here as others have said.

Re: Cannot upload a couple particular images to my products

Posted: Thu Jan 20, 2022 12:23 am
by Joe1234
Thanks, this worked, but it makes no sense. I have multiple images on other products with the same type of naming and also apostrophes that have absolutely no issues.

Secondary question, while trying to figure this out I noticed in my file manager under my host "JPG" was listed as a text type, and "jpg" was listed as an image type. Will that be an issue?

Re: Cannot upload a couple particular images to my products

Posted: Thu Jan 20, 2022 5:59 pm
by JNeuhoff
Joe1234 wrote:
Thu Jan 20, 2022 12:23 am
Thanks, this worked, but it makes no sense. I have multiple images on other products with the same type of naming and also apostrophes that have absolutely no issues.

Secondary question, while trying to figure this out I noticed in my file manager under my host "JPG" was listed as a text type, and "jpg" was listed as an image type. Will that be an issue?
You are most likely dealing here with a Linux server using a case-sensitive file system. This means that '.JPG' and '.jpg' isn't the same.

Re: Cannot upload a couple particular images to my products

Posted: Thu Jan 20, 2022 6:19 pm
by OSWorX
Joe1234 wrote:
Thu Jan 20, 2022 12:23 am
Thanks, this worked, but it makes no sense. I have multiple images on other products with the same type of naming and also apostrophes that have absolutely no issues.

Secondary question, while trying to figure this out I noticed in my file manager under my host "JPG" was listed as a text type, and "jpg" was listed as an image type. Will that be an issue?
1. it makes sence - several reasons (best would be to use your preferred search engine and look why)
2. a LINUX system is NOT a WINDOWS system
> under Win you can have UPPER and lower letters = does not make any difference
> under *NIX theres is a big difference between UPPER and lower letters
3. text and image type is NOT the same

Guess you have to learn more about the system you are using.
Operating a website is not only creating something, it's also your duty to know what you are doing AND why!