News:

Support the VirtueMart project and become a member

Main Menu

thumbnail size attributes in html output

Started by Csabesz, July 16, 2014, 10:08:14 AM

Previous topic - Next topic

GJC Web Design

you can't echo an array

use print 'Debug Line '.__LINE__.' $size <pre>'; print_r ($size); print "</pre><br />\n";
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

Csabesz

#16
Hello,

now I get the following line but without sizes:

Debug Line 68 $size


and many thanks for your help!!!

GJC Web Design

come on - this is basic trouble shooting and dev - try a bit harder ..

so your $myimage isn't an image
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

Csabesz

I thought that not an image, I`m in trouble to find the way to the image.

GJC Web Design

do what everyone does - echo out your vars every step till you find the problem

use print 'Debug Line '.__LINE__.' $yourvar <pre>'; print_r ($yourvar); print "</pre><br />\n";

turn your error reporting full up to see the problems - this is development.....

php is a very logical step by step language
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