Jump to content

Product Image Does Not Maximise


Recommended Posts

Hi,

I have recently upgraded from 1.3.7 via version 1.4x and finally onto 1.5.6.1. On the whole very good. However, I have a small problem. If I click on a product and then the image maximize span, the maximized image never actually loads. For example:

 

http://shop.thesheppardsflock.co.uk/flockshop/index.php?id_product=135&controller=product

 

Does anyone know how I would go about fixing this.

 

Many Thanks

B-o-b

Link to comment
Share on other sites

when im trying to maximize product image your website trying to load mixed-content

in modern browsers it will not work

FS4n0ze.png

 

just wondering why it trying to open statistics when i click on "maximize" really weird.

 

 

 

can you try to reupload product.js file? place there original file from your prestashop version package

Link to comment
Share on other sites

another thing:

 

you've got in footer:
 


				var time_start;
				$(window).load(
					function() {
						time_start = new Date();
					}
				);
				$(window).unload(
					function() {
						var time_end = new Date();
						var pagetime = new Object;
						pagetime.type = "pagetime";
						pagetime.id_connections = "22269";
						pagetime.id_page = "294";
						pagetime.time_start = "2013-12-14 21:14:32";
						pagetime.token = "a7f4ea62720b8e0217cdc63df2406bbab84efb06";
						pagetime.time = time_end-time_start;
						$.post("https://shop.thesheppardsflock.co.uk/flockshop/index.php?controller=statistics", pagetime);
					}
				);
			

can you change https to http

Link to comment
Share on other sites

I have had a quick look, but to be honest I am at a loss as to where to begin looking for this. There is no mention of this https link in the footer.tpl.

Incidently the images enlarge fine in the back office. 

Where would i begin to look?

 

Thanks

Bob

Link to comment
Share on other sites

open /modules/statsdata/statsdata.php

 

there is a code:
 

$.post("'.Context::getContext()->link->getPageLink('statistics', (bool)(Tools::getShopProtocol() == 'https://')).'", navinfo);

change  it to

$.post("'.Context::getContext()->link->getPageLink('statistics', (bool)(Tools::getShopProtocol() == 'http://')).'", navinfo);
Link to comment
Share on other sites

problem with access-origin disappeared, but the problem with picture not :( 

i thought that it might be related, unfortunately it isn't

 

i analysed your theme once again, i found that it uses non-default fancybox libraries,

maybe this is main problem in this case?

 

can you try to replace fancybox that you've got now with default one?

Link to comment
Share on other sites

  • 4 weeks later...

I think I have managed to find the problem and a workaround:

 

My shop was trying to load the fancybox graphics from the following folder:

 

/public_html/shop/js/jquery/fancybox

 

That is the files such as:

 

fancybox-x.png

fancybox-y.png, etc.

 

This folder, nor the files existed. I checked with the online demo store and it doesn't seem to exist with that either, although the demo store works just fine.

 

I created that folder and copied the files into it and it now works much better, although there is still something amiss (doesn't close the fancybox image correctly).

 

If I could find out what, or where is pointing to this non-existent folder then that would be a proper fix.

 

I won't make this as solved, but if anyone more knowledgeable knows how to fix the source of the issue then please do.

 

Many Thanks to Vekia for his help.

 

Rob

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Hi,

I have recently upgraded from 1.3.7 via version 1.4x and finally onto 1.5.6.1. On the whole very good. However, I have a small problem. If I click on a product and then the image maximize span, the maximized image never actually loads. For example:

 

http://shop.thesheppardsflock.co.uk/flockshop/index.php?id_product=135&controller=product

 

Does anyone know how I would go about fixing this.

 

Many Thanks

B-o-b

 

I was having the same issue as B-o-b described. Maximize (Enlarge) product images were not opening when click on maximize button or thumbnail. I just uninstalled the "CloudCache" module (which i recently installed) and the issue was resolved. :) i was lucky to figure out the problem :)

Link to comment
Share on other sites

  • 5 months later...
×
×
  • Create New...