Hi,
I'm developing a new online store now and I choose Joomla Virtuemart as its base.
The maintenance is quite easy but I still found some problem that I can't solve.

First, I can't set the virtuemart component in the start up page when I call my site. Users have to choose something in the navigation to show the products.

Second, the product's thumbnail never appear in the browse mode. It just appear as link that indicate the image is not detected.

I need some suggestion to fix it. I will appreciate every suggestion..

Dani AI

Generated

This thread covers two common VirtueMart problems: making the shop appear as the site front page and missing product thumbnails. correctly flagged an admin-side image/path issue, and got thumbnails showing again with a template tweak. Those clues are useful, but editing component files directly can break future updates. Below is a short, practical diagnosis checklist and safer fixes that remain relevant.

  • Inspect the broken image link in a browser (use Developer Tools). Note the HTTP status (404, 403, 500) and the full URL the page is trying to load. That single check usually shows whether the issue is a wrong path, permission block, or server error.
  • Confirm the image file actually exists on disk and that the filename matches exactly (case matters on Linux). Check ownership and permissions: files commonly 644, directories 755.
  • Verify the server-side image library is available (GD or ImageMagick). If thumbnail generation fails, the resizer may be the cause; a phpinfo() page or the PHP manual can show whether GD is enabled.
  • Try re-uploading one product image through VirtueMart admin and watch where it writes files and which URL it returns. This isolates admin/config issues from template/template-override problems.
  • Temporarily disable SEF/URL rewriting and clear Joomla/VirtueMart caches to rule out rewrite/caching interference.
  • Test with the default VirtueMart theme (or temporarily switch templates). If thumbnails reappear, use a template override rather than editing core component files so future updates stay clean.

To make VirtueMart the front page, create a Joomla menu item that points to the VirtueMart shop or category view and mark that menu item as the default. Ensure the site template actually renders the component area on the home page (modules assigned only to "home" will not show the component).

For authoritative reference on VirtueMart behavior and image-handling, see the VirtueMart documentation and the PHP image library docs:

Notes: prefer template overrides over direct edits, and consider upgrading older VirtueMart/Joomla installs if running on modern PHP versions.

Recommended Answers

All 5 Replies

Hello.
I also use virtuemart and I think that component is very good.
About the thumbnail, you must edit and explore the product section in administrator panel as it is quiet confusing. The url of the pict/thumbnail must be put correctly atthe admin panel...

I think the component can be used as front page by editing the module section... I hope this can help...

Hi, syahrizal
Yeah, it's quite hard to understand the structure of Virtuemart's code. But, I think I found the way to show the thumbnail..

Hi, syahrizal
Yeah, it's quite hard to understand the structure of Virtuemart's code. But, I think I found the way to show the thumbnail..

can you share with us the way to show the thumbnail

Hi Egypt web,
I just made a little change to the script in the folder components/com_virtuemart/themes/default/template/browse/
In every file within that folder, I change variable $product_thumb_image into $product_full_image.
It works to my site but I have to specify the height and the width of the image..
Thats all I do..
I hope that will work in your site too..

thanks so much "eantz" for sharing with us your way to show the thumbnail

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.