Author Topic: Get thumbnail width & height in my template?  (Read 126 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 363
Get thumbnail width & height in my template?
« on: September 30, 2020, 12:14:57 pm »
Hello,

I need to get the two entries for thumbnail width and height, as set in the VM backend settings, in my template (category & product views).

Any ideas? Thank you.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9815
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Get thumbnail width & height in my template?
« Reply #1 on: September 30, 2020, 14:08:37 pm »
VmConfig::get('img_width',0)

VmConfig::get('img_height',0)

maybe
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation