[4.4.4] [Bug] - Empty url to image after saving product

Started by iWim, January 06, 2025, 12:17:36 PM

Previous topic - Next topic

iWim

After saving a product with an image, the url to the image is empty.
<img src="/" ...>The image does exist.

The shop will now (of course) display the missing image image.

Clicking the missing image image displays the correct (large) image.
(Not in a modal, but in the same browser window as the shop. Maybe another bug? I need to check that better)

VM4.4.4
J5.2.2

Edit:
The not opening an image in a modal seems to only happen when the missing image image is displayed.

WebStuff

I am having the same issue but only on newer products.

Roderic

I think it's due to the new checkbox, that is not automatically checked.

"added property "isImage" for medias, works BC"

Jumbo!

Quote from: Roderic on January 06, 2025, 15:24:31 PMI think it's due to the new checkbox, that is not automatically checked.

"added property "isImage" for medias, works BC"

Yes, that's right. It will be fixed in the upcoming update, which will be released soon.

WebStuff

It seems that all my #__virtuemart_medias database entries had been cleared for some reason either during the update to vm4.4.4 or possibly when I tried using the "Synchronise media to Virtuemart" button under SHOP to resolve it.
Luckily I had a backup of the table and once restored my product images are back.

WebStuff

#5
After a  bit of research there is some sort of "error" on the product edit page that when saving any new product information if that checkbox mentioned by  Roderic isn't ticked the image disappears but the good news is that it comes back if you tick the box and save again.
Should really be ticked by default in my opinion devs. :)

Hope this helps.

iWim

Thank you.
I also see the notes in the news article.

Looking forward for the update.

To confirm:
Checking COM_VIRTUEMART_FILES_FORM_FILE_ISIMAGE does display the image again.

Notes:
* Language files have not been updated with the new LANGUAGE_CONSTANT yet (en-GB/nl-NL).
What should it translate to? "Is image"?

** As I see it now you have to check that an image, in the block IMAGE information, under tab Product IMAGES is in fact an IMAGE... :o
Let's not add options for the sake of adding options.
When a new option is added explain why it was added and what its purpose is.