VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: confectionery on August 19, 2021, 13:25:07 PM

Title: Product Image File name displayed when clicked on Thumbnail
Post by: confectionery on August 19, 2021, 13:25:07 PM
Hi
I am using joomla 3.9.28 and virtuemart 3.8.8, which I recently upgraded. However, after this upgrade... I noticed the file name of the product image is diplayed when you click on the file name. How do I get rid of this.  Please bear in mind I am very new to this and do not "speak" code, as much as I would love to learn.  Hoping someone can help. 
tks a mil
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: Jörgen on August 19, 2021, 22:13:07 PM
You have to explain more clearly. Have you compared this to the VM demo version on virtuemat.net? If it does not work as the demo, you have code in your custom template that gives this feature,

Jörgen
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: confectionery on August 20, 2021, 07:56:35 AM
Not sure I understand the question properly - apologies. The website is live and I have replaced an old product image with a new one.  I suspect when I did the version update that the newer version now displays the file name as the old version did not display it at all.  Does this make sense?
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: GJC Web Design on August 20, 2021, 18:30:41 PM
the last argument in the display function is whether to display the description or not

function displayMediaFull($imageArgs=array('id'=>'vm_display_image'), $lightbox=false, $effect ="class='modal'",$description = true)

check your template is sending false

otherwise just hide it by css
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: confectionery on August 21, 2021, 11:12:46 AM
Thank you for the above. But am not too sure how to change it in CSS
or where to find
the last argument in the display function is whether to display the description or not

function displayMediaFull($imageArgs=array('id'=>'vm_display_image'), $lightbox=false, $effect ="class='modal'",$description = true)

apologies if causing frustration
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: GJC Web Design on August 21, 2021, 22:31:05 PM
give us a live url...
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: confectionery on August 24, 2021, 07:19:49 AM
apologies, I have been off line

www.topdot.co.za
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: GJC Web Design on August 24, 2021, 09:28:44 AM
.fancybox-title-inside {
    width: auto !important;
    display: none !important;
}

https://www.topdot.co.za/templates/horme_3/css/template.css  line 819
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: Jörgen on August 24, 2021, 09:33:28 AM
You have other products wirh "corect" descriptions. How are this new products images up in product details ?

You have missed to fill out some thing. Compare notes to products that actually work.

Jörgen
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: confectionery on August 24, 2021, 14:51:52 PM
Quote from: GJC Web Design on August 24, 2021, 09:28:44 AM
.fancybox-title-inside {
    width: auto !important;
    display: none !important;
}

https://www.topdot.co.za/templates/horme_3/css/template.css  line 819

Thanks a mil for this will give it a bash and feedback. thank you for spoon feeding me, I have learnt and for that I am grateful.
Just made the update... YOU GENIUS. thanks a mil, just saved me loads of work!
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: confectionery on August 24, 2021, 14:53:24 PM
Quote from: Jörgen on August 24, 2021, 09:33:28 AM
You have other products wirh "corect" descriptions. How are this new products images up in product details ?

You have missed to fill out some thing. Compare notes to products that actually work.

Jörgen

That is the funny thing is that I have not changed how I loaded products. But sound advice, I will check my other websites and compare to see if I have missed something in loading the product images and also look at the template set up, even though www.topdot.co.za is not new just a version update. Thank you for your time on this
Title: Re: Product Image File name displayed when clicked on Thumbnail
Post by: Jörgen on August 24, 2021, 18:44:31 PM
The reason I am telling this is that You have items on this page that does not have the search path.

Look at the attached image.

Jörgen