Code: Select all
/image/icons/my.png
Code: Select all
sites-images/my.png
Code: Select all
/image/icons/my.png
Code: Select all
sites-images/my.png
Code: Select all
$this->load->model('tool/image');
$data['my_image'] = $this->model_tool_image->resize($product_info['my_image'], $this->config->get('theme_' . $this->config->get('config_theme') . '_image_thumb_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_thumb_height'));
Code: Select all
$data['my_image'] = DIR_IMAGE . 'my_image.ext';
Code: Select all
{% if my_image %}
<img src="{{ my_image }}">
{% endif %}
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 15 guests