Add Product Image (thumbnail) to Ask a Question Email, mail_html_question.php

Started by saviB, May 15, 2013, 16:06:23 PM

Previous topic - Next topic

saviB

Can someone provide me the proper code to add an image to the Ask a Question About This Product email? I've tried:

<img src="<?php echo JURI::root().JRequest::getVar('link'); ?>" />

in: mail_html_question.php

But it returns a missing image.



saviB

Thanks - I followed those instructions and still get a missing image in the about this product email. The post you presented is from 2012 - has something changed in the latest version that would cause the problem?

servlet

It work good. I tested it

Quote from: Coolson on November 15, 2012, 03:42:48 AM
<input type="hidden" name="link" value="<?php echo $this->product->images[0]->file_url_thumb;  ?>" />    in the file: form.php (in others input hidden)

<img src="<?php echo JURI::root().JRequest::getVar('link'); ?>" /> in the file: mail_html_question.php

its all

Он-лайн магазин за фототапети http://mishelfoster.com