Post by Pakanuni » Thu Feb 02, 2017 5:58 am

I'm working on OC v2.3.0.2 and upgraded from v1.5

There is a standard, no additional modules/extensions, installation/upgrade. With the exception of the free "Simplica" theme. But, in the process of playing with it's settings, I have not been able to get the images in the sliders and banners to show.

In looking at the source code I noticed that the src property is empty (scr="") in all the image tags.

Code: Select all

<div class="owl-wrapper" style="width: 6784px; left: 0px; display: block; transition: all 800ms ease 0s; transform: translate3d(-1696px, 0px, 0px);">
<div class="owl-item" style="width: 848px;">
<div class="item">
<img class="img-responsive" src="" alt="Bug Out Bag">
</div>
</div>
<div class="owl-item" style="width: 848px;">
<div class="item">
<img class="img-responsive" src="" alt="Shelter against the cold">
</div>
</div>
<div class="owl-item" style="width: 848px;">
<div class="item">
<img class="img-responsive" src="" alt="Ice Fishing">
</div>
</div>
<div class="owl-item" style="width: 848px;">
<div class="item">
<img class="img-responsive" src="" alt="Work Warm">
</div>
</div>
</div>
</div>
Yet, in the database table "banner_image" I see the path to the image is there:

Code: Select all

82 	10 	1 	Shelter against the cold 		catalog/banner/FTS_002_banners_resize_conquer_v2.j... 	2
Has anyone encountered this before, and if so, do you know what is going on?

Newbie

Posts

Joined
Thu Feb 02, 2017 5:44 am

Post by Pakanuni » Fri Feb 03, 2017 1:04 am

Additional information. The information is being pulled from the database, but it's not being populated into the src property of the image tag.

This is occurring even with the default template.

Just before product images request (\catalog\controller\product\product.php)
Product ID: 85
Query: SELECT * FROM fortress_oc_product_image WHERE product_id = '85' ORDER BY sort_order ASC
This is the getProductImages() function (\catalog\model\catelog\product.php)

One row of the query result:
Array
(
[product_image_id] => 4404
[product_id] => 85
[image] => catalog/products/Headwear/mask.png
[sort_order] => 1
)

Newbie

Posts

Joined
Thu Feb 02, 2017 5:44 am

Post by Pakanuni » Fri Feb 03, 2017 1:31 am

Got it figured...

A customized view was messing it up. I deleted it, and so far everything shows...

Newbie

Posts

Joined
Thu Feb 02, 2017 5:44 am
Who is online

Users browsing this forum: No registered users and 17 guests