News:

Support the VirtueMart project and become a member

Main Menu

How can i hide the image's file name

Started by Philippe Saugère, April 11, 2012, 23:54:32 PM

Previous topic - Next topic

Philippe Saugère

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
Thanks for your help
Philippe

John2400

#1
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.

Philippe Saugère


lostmail

...ERROR...Media Files have to a Title !!
I can not leave it blank and save the product without Title !!

VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

lostmail

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 !!??


VirtueMart VirtueMart 4.2.16 11030 | Joomla 4.x | PHP 8.3 | Vp_neoteric 1.6

K&K media production

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.

mfarooqi

..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);



baijianpeng

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.
http://www.joomlagate.com/

Chinese Joomla Users Portal

GJC Web Design

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)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation