привет всем! Вот никак не могу настроить галерейку 147 под 140 опенкарт....
Как понял проблема с картинками....
.catalogcontrollerinformationgallery.php
вот в этом файле если в private function getGallery($gallery_id) убрать
if ($image_total) { $this->data['text_images'] = $this->language->get('text_images'); $this->data['text_enlarge'] = $this->language->get('text_enlarge'); if (isset($this->request->get['page'])) { $page = $this->request->get['page']; } else { $page = 1; } $this->data['images'] = array(); $results = $this->model_catalog_gallery->getGalleryImages($gallery_id, ($page - 1) * $this->config->get('config_catalog_limit'), $this->config->get('config_catalog_limit')); foreach ($results as $result) { if ($result['image']) { $image = $result['image']; } else { $image = 'no_image.jpg'; } $image_file = explode('/', $image); $image_name = explode('.', $image_file[1]); $image_title = ucwords(str_replace('_', ' ', $image_name[0])); $this->data['images'][] = array( 'title' => $image_title, 'popup' => $this->model_tool_image->resize($result['image'], $this->config->get('config_gallery_popup_width'), $this->config->get('config_gallery_popup_height')), 'thumb' => $this->model_tool_image->resize($result['image'], $this->config->get('config_gallery_thumb_width'), $this->config->get('config_gallery_thumb_height')) ); } }
Вот этот кусок кода тогда будет выводится текст, а картинки нет... не могу понять в чем проблема. Какая в этом коде фишка??? так как с ним 140 опен карт не хочет отображать картинки. А нужно что бы отображал.