monkeybidz Posted April 16, 2008 Share Posted April 16, 2008 This is my current array: <?php function ot_tax() { $this->code = 'ot_tax'; $this->title = MODULE_ORDER_TOTAL_TAX_TITLE; $this->description = MODULE_ORDER_TOTAL_TAX_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_TAX_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_TAX_SORT_ORDER; $this->output = array(); } ?> I would like to add an image to the array. Can I add this line? <?php $this->description_image = '/catalog/images/header_checkout.gif'; ?> Currently does not call image. Link to comment https://forums.phpfreaks.com/topic/101306-inserting-image-path-to-array/ Share on other sites More sharing options...
vbnullchar Posted April 16, 2008 Share Posted April 16, 2008 replace it with fullpath of the image Link to comment https://forums.phpfreaks.com/topic/101306-inserting-image-path-to-array/#findComment-518173 Share on other sites More sharing options...
monkeybidz Posted April 16, 2008 Author Share Posted April 16, 2008 Still not working. I guess what I am asking is, can it be done and how? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/101306-inserting-image-path-to-array/#findComment-518177 Share on other sites More sharing options...
vbnullchar Posted April 16, 2008 Share Posted April 16, 2008 check the file permission or if the image really exists <?php $this->description_image = 'http://domain.com/catalog/images/header_checkout.gif'; ?> Link to comment https://forums.phpfreaks.com/topic/101306-inserting-image-path-to-array/#findComment-518178 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.