Hi,
just installed the newest version of VM with Joomla! 3.4.8.
I noticed that some thumbnails aren't showing on the frontend and there a no pictues visible in the backend. See my attachment
Hope you can help me.
Greetings
Is this visible in media list of VM ? Perhaps this get removed but not corretly ?
If you save & close the product after adding additional images are the thumbnails there when you re-open the page?
@ studio 42 Yes, the product image is found at images/stories/virtuemart/product.
@ Jenkinhill I deleted the pictures at the article page and uploaded them again at the bottom of the page and saved it, but no result.
Also tried some different other pictures same there, no result.
I checked it with Firebug and this comes out : <img src="/"> Why is there a slash instead of a picture source?
Thanks in advance
Your images filename is perhaps not valid ?
Try to only use [az-_01].png or .jpg as name then you have not such problems mostly.
Try in vm Admin>shop> Media Files to use the
"Synchronize media to VirtueMart" button
or this link YOURSITE/administrator/index.php?option=com_virtuemart&view=media.
This give certainly some errors.
If you need to remove your medias, i have wrote a free tool, that you can download here :
http://shop.st42.fr/en/products/virtuemart-media-folder-clear.htm and click the 2 butoon to remove unrecognised images.
PLEASE NOTE : this remove the files and the DB reference errors, so if you do it, this can remove some reference or file you don't want, so do a backup before !!! But after that you have a clean image folder and meida database reference ;)
I deleted the image from the server and uploaded it again.
The thumbnail is not visible but the product image is. See attachment. The problem does not occur with any product.
it seems there is a problem with some thumbs.
Also tried to synchronize the media with VM, no result.
Have You checked that there are no strange characters or blanks in the filename ?
regards
Jörgen @ Kreativ Fotografi
Tried to rename the file of the thumb to a name without underscores etc. and uploaded it, but no result.
Also tried to pick another image to see if it makes a diffrence, but also no result.
EDIT: found out that the image is not created in the resize folder. Dynamic resize is on.
If you have a test installation, you may try to update to VM 3.0.12 and then replace the file mediahandler.php (rename the current one to something like mediahandler.php.bak first, so you have a backup of that file) with this version: http://dev.virtuemart.net/projects/virtuemart/repository/revisions/9079/entry/trunk/virtuemart/administrator/components/com_virtuemart/helpers/mediahandler.php
Mediahandler.php is not in the helpers folder.
Added the file and it's not working
EDIT: Added different images but VM is renaming them all to the same name. See attachement.
Quote from: Ruup on January 23, 2016, 17:48:48 PM
Mediahandler.php is not in the helpers folder.
It must be there. Probably you were looking in the frontend 'helpers' folder. The file mediahandler.php is located at:
yourdomain/administrator/components/com_virtuemart/helpers/mediahandler.php
Okay, replaced the file without result.
I have deleted the whole site and uploaded it again from a backup file from akeeba, but the same problem remains.
Are you still using VM3.0.11.2? The pre-release version of 3.0.12 still had such issues, too. But I can't reproduce it with the official 3.0.12 release with or without a fix contained in the mediahandler.php I linked above.
I updated VM via the extension/update part of the backend.
I've not downloaded the file from the official website. Is this the old pre release version then?
Quote from: Ruup on January 23, 2016, 23:08:02 PM
I updated VM via the extension/update part of the backend.
I've not downloaded the file from the official website.
The 3.012 version on the VM Homepage should be the same as the 3.0.12 at http://dev.virtuemart.net/projects/virtuemart/files.
However, after the release of 3.0.12 there was a fix in the mediahandler.php related to the thumbnail url which is included in this version of mediahandler.php:
http://dev.virtuemart.net/projects/virtuemart/repository/revisions/9079/entry/trunk/virtuemart/administrator/components/com_virtuemart/helpers/mediahandler.php.
If you try that one, please clear your Joomla and browser cache.
I am using version 3.0.12.
Tested with the mediahandler.php file and cleared cache, but no result.
Is there another way that you guys can have a look at it?
I found the problem!
The path of the thumbnail was like this: (standaard URL) images/stories/virtuemart/product/resized/maasgrind-2-5_220x220.jpg
Deleted the ''(standard url)'' part and it works!
I don't know how it gets there.
Thank you all for your help
Not the whole problem is solved.
Trying to add an image to the product, but no path to the small image is made, see attachment
If i upload the small image in the /resized folder en manually make the path to the image it works.
Why doesn't VM make the path by itself?
Quote from: Ruup on January 24, 2016, 22:31:36 PM
Not the whole problem is solved.
Trying to add an image to the product, but no path to the small image is made, see attachment
If i upload the small image in the /resized folder en manually make the path to the image it works.
Why doesn't VM make the path by itself?
Have you check your folders rights ?
If in the config, dynamic thumbnails is checked, then the thumbs should always be here.
And if you tested my tools, was some error found ?
It says ''select type of media''
If you use my tool, you need to select first the filter 'type' of media(product, category...).
Hi,
i checked for errors and this came out. (see attachment).
what does it say?
This are all the considerate obselete files
So else you have change some settings ni your shop, or all this are obselete and no relation is found in your shop with this images.
Hi,
today i was testing some things.
Removed all the product images of a product and added some new ones.
there is something weird going on.
The first image i added works fine with the thumb and the big image. The second one, the thumb isn't working again. Also there's no thumb in the /resized folder.
Also there's a problem with the file name, see attachment. At the first arrow is the filename of the first attached photo.
Have you checked in your config all your path (in same tab as thumbnail creation) ?
Have you check the server rights and that all this folders exist and the subfolder resized with write premission.
I know you can have some problem on creating the folders by FTP. So you need to check rights and perhaps use CHMOD 777 in the resize folders.
The path for small images was like this: images/stories/virtuemart/forSale/resized/
changed it to this: images/stories/virtuemart/product/resized
Changed the folder rights to 777 and tested it again but no result. All the folders are present.
Only the first product image is created in the resized folder and the second doesn't, see attachment.
Very strange.
EDIT: if i use the option ''replace small image'' it is working.
"kleine afbeelding" sould display the default thumbs name.
In your case you have no name at all, as if the resizing is not set, it's why it hink something is not corretly set in your VM config.
Ruup,
I also have this issue. I actually think is has to do with a custom plugin somewhere, but can't figure out the solution aswell. Tries all the same things as you did.
Also, in the backend in the products list, no thumbs are shown.
I can upload images to a product and in the frontend no thumbs show up, although the pictures do work. Going back to the Virtuemart Tools and clicking 'reset thumbs' fixes the frontend situation.
I now do this every time I uploaded a batch of new products.
http://forum.virtuemart.net/index.php?topic=133724.msg463963#msg463963
http://forum.virtuemart.net/index.php?topic=130865.msg464364#msg464364
Hi Jenkinhill,
unfortunately, this is not the case in my case and I can only guess that's the same with TS.
Thumbs are not shown in front on productdetails and (therefore) not generated automatically.