VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Philippe Saugère on April 11, 2012, 23:54:32 PM

Title: How can i hide the image's file name
Post by: Philippe Saugère on April 11, 2012, 23:54:32 PM
Hi everyone,
I installed Virtuemart 2.0.2 on Joomla 2.5 and it works perfectly for the moment.
Just a detail.
How can i hide the image's file name on the product detail's front page
http://boutique.uvprotech.fr/index.php/nos-films/films-couleurs/60-026-detail (http://boutique.uvprotech.fr/index.php/nos-films/films-couleurs/60-026-detail)
Thanks for your help
Philippe
Title: Re: How can i hide the image's file name
Post by: John2400 on April 12, 2012, 01:47:16 AM
Hi Philippe,

In products>>product images>> Image alt-text >> this should be blank?

If it is picking up from the wrong field then change some to see if it changes the name.
Title: Re: How can i hide the image's file name
Post by: Philippe Saugère on May 03, 2012, 21:19:15 PM
ok, great, thanks a lot  ;D
Title: Re: How can i hide the image's file name
Post by: lostmail on April 27, 2013, 21:20:42 PM
...ERROR...Media Files have to a Title !!
I can not leave it blank and save the product without Title !!

Title: Re: How can i hide the image's file name
Post by: lostmail on April 27, 2013, 21:48:48 PM
Changed "File Description" of a product =>
I found, that it is the file_description text which is visible in product details  - not the file_title !!

But where does it come from ??

I can not find any part of the code "file_description" in /components/virtuemart directory !!??


Title: Re: How can i hide the image's file name
Post by: K&K media production on April 27, 2013, 22:17:48 PM
Description is the subtitle and is displayed under the image of product detail page. The Alt text is displayed under the image on lightbox. Delete it in your image configuration or use css to hide it.
Title: Re: How can i hide the image's file name
Post by: mfarooqi on February 11, 2014, 18:17:44 PM
..best way is..
in the following page...

components\com_virtuemart\views\productdetails\tmpl\default_images.php

change the following line of code
   echo $image->displayMediaFull('class="product-image" style="cursor: pointer"',false,"");
to
   echo $image->displayMediaThumb('class="product-image-small"', true, 'class="modal"', true, false);


Title: Re: How can i hide the image's file name
Post by: baijianpeng on May 26, 2014, 12:28:32 PM
I am using VM 2.6.4, I also hate to see image filename beneath the product image.

However, I opened the file /components/com_virtuemart/views/productdetails/tmpl/default_images.php, but did not find that code. The only code containing the "MedaiFull" strings is in line 69:

echo $image->displayMediaFull("",true,"rel='vm-additional-images'");


How can I modify this to hide the filename?

Thanks.
Title: Re: How can i hide the image's file name
Post by: GJC Web Design on May 26, 2014, 14:36:39 PM
Which desc exactly (screen) ?  on a std 2.6.4 with no alt text etc I don't get any filenames etc displayed (using fancy box)