Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-12-20 04:29:02

slrosenfeld
Member
Registered: 2013-05-08
Posts: 8

Thumbnail not appearing in cart

I've got my shopping cart working, except when you click the shopping cart icon to bring up the cart options, instead of the image thumbnail, I just get a little broken jpeg icon. Any idea why the thumbnail's not showing up?

Offline

#2 2015-12-20 04:38:24

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail not appearing in cart

can you post a link to a  cart enabled gallery?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-12-23 06:54:19

slrosenfeld
Member
Registered: 2013-05-08
Posts: 8

Re: Thumbnail not appearing in cart

Offline

#4 2015-12-23 07:54:07

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Thumbnail not appearing in cart

Hmm. I can see what's happening, I just don't know why it's happening.
The add to cart box is looking in this location for the image:

<img src="../../../../cart/lib/js/http://www.scottrosenfeldphoto.com/galleries/Seniors_class_of_2016/Caleb_C/./thumbnails-for-mobile/20151011_Caleb_C_0056-Edit.jpg">

when it should be simply looking here:

<img src="http://www.scottrosenfeldphoto.com/galleries/Seniors_class_of_2016/Caleb_C/./thumbnails-for-mobile/20151011_Caleb_C_0056-Edit.jpg">

Cart, TTG-BE, and Gallery are all up do date so it's probably not that.
Ben will need to take a look


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2015-12-23 22:05:07

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Thumbnail not appearing in cart

It looks like you've edited the file at http://www.scottrosenfeldphoto.com/ttg- … 0875084859

Specifically, this line has been changed from:

modalHTML.push('<img src="');

to

modalHTML.push('<img src="../../../../cart/lib/js/');

Do you recall the history of that change?  I recommend undoing it and seeing if that helps.

Offline

Board footer

Powered by FluxBB