News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Image not found anymore, why?

Started by amymattian, March 12, 2019, 13:22:04 PM

Previous topic - Next topic

amymattian

Hi,
I noticed that some product images are not found anymore. Example if original image name has been:
sample-image.jpg

And the image has been imported a second time to the shop, Virtuemart gives it another name:
sample-image2.jpg

Now, these copy-images are not all showing. We have not deleted any images. So my question is, has there been some change in the Virtuemart code, that would explain why some copy-images are no longer showing?

Also, how is this copy-process going in practice? Does the shop create a second image to the database, or use the original image?

Has anyone else had these strange image disappearances?

- Anne

Jörgen

Yes the image path has been changed, no longer under images/stories/virtuemart .... now under images/virtuemart ...
The media descriptor stores the path to one image. This media descriptor can be used uses by several products.
When You upload an image with the same name as an already loaded image it appends the category as many times as needed to get a new unique name.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

amymattian

Hi,
thanks for the reply. This issue is not caused by this folder-change. We are stil using the old folder path. But what we are wondering if this can be caused by the fact that we are using 2 "Finnish" letters called ä and ö. These are in the image-names also. The problems seems to be for those images that have these letters. Can this be the problem?

- Anne

Jörgen

It is plausible, replace and test. ' ' is often also a bad character to use.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.