Jump to content

Prolem last thumb not shown when theres more than 8 images


Recommended Posts

Hi i have problem,

 

I have installed new 1.6x it's great and  I wanna make new shop. But after adding few products I see that last thumb is missing when there's more than 8 images in product category.

 

here is example, I attached the screens of them

post-441963-0-19745900-1399202755_thumb.jpg

post-441963-0-50814600-1399202955_thumb.jpg

 

 

and here is link to the product 

http://www.beautydefined.pl/index.php?id_product=17&controller=product

 

 

also the second product

post-441963-0-89710900-1399203051_thumb.jpg

post-441963-0-00649000-1399203070_thumb.jpg

 

http://www.beautydefined.pl/index.php?id_product=20&controller=product

 

 

I regenerate thumbnails, I've check it on other browser also on browser without catch. Nothing helps. Theres also no options in back office to change the number of shown thumbs. Its looks like it put thumbnail in other line if theres more than 8 of pics. 

 

I will be really glad for help. I wanna make this shop quick again and start to rearrange front office.

 

EDIT: spelling

Edited by InTooDeep (see edit history)
Link to comment
Share on other sites

Okay fixed my self.

default_bootstrap themes product.js

has this line:

var thumb_width = $('#thumbs_list_frame >li').width() + parseInt($('#thumbs_list_frame >li').css('marginRight'));

which does not take care about the surrounding borders.

Changing to correct oterWidth works:

var thumb_width = $('#thumbs_list_frame >li').outerWidth() + parseInt($('#thumbs_list_frame >li').css('marginRight'));

Please add this to 1.6.0.7

Link to comment
Share on other sites

  • 6 months later...

I'm having the same problem.
I have version 1.606

No matter how many images I upload, only 3 thumbnails show up.

I have looked for the file default_bootstrap themes product.js   but was unable to locate it.

Can you tell me where I can find it. I did a search in my cpanel and no results.

Thank you

Link to comment
Share on other sites

  • 1 month later...

Same here in 1.6.0.8

the js is in themes/default-bootstrap/js

but found that I have there code

var thumb_width = $('#thumbs_list_frame >li').outerWidth() + parseInt($('#thumbs_list_frame >li').css('marginRight')); 

The problem I have is that when I have 3 pictures show 3 pictures, when I have 4 pictures show only 3 pictures and 5 and more I see all pictures 

 

Here it have 4 pictures and show only 3 of them 

http://rcstudio.cz/nahradni-dily/70-mechanika-paky-pro-taranis.html

 

Some idea?

 

 

Thanks

 

 

 

Link to comment
Share on other sites

×
×
  • Create New...