News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

A download button in product details page so VM product image can be downloaded?

Started by jdunderhill, November 23, 2014, 17:04:18 PM

Previous topic - Next topic

jdunderhill

Hi

I have been searching the forum and trying to work out if there is a way to add a download button which allows a visitor to download the virtuemart product image?

The reason for requesting this is that I am building a clipart based website and virtuemart looks to be quite a good way to catalog the pictures and it would be a nifty little feature to have. I have seen similar components like phoca gallery etc but it looks like a lot of time is invested in setting up a nice looking template etc whereas virtuemart has some great templates and features

It looks like in my template folder I have got the following file which controls the look of the product details page:

mytemplate\html\com_virtuemart\productdetails\default.php

I am just really stuck on what code I have to add to get it to work

Any help much appreciated

Cheers

Jamie

GJC Web Design

the url to the image is already there .. i.e. right click and "save image as..."

info to "force" a download of an image with a left click here.  http://stackoverflow.com/questions/2408146/href-image-link-download-on-click
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