Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Help with additional images and lightbox..

Help with additional images and lightbox..

Views: 1,104

Results 1 to 9 of 9
28 Jan 2018, 00:24
#1
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Help with additional images and lightbox..

Hi Guys,
I have a site that's running 1.39 with no real problems but its not SSL. So I decided to create a new site with the current zencart 1.55e on SSL. So I have a bit of knowledge of Zencart.
Site URL - http://www.ukhousedesigns.co.uk/index.php?main_page=product_info&cPath=3&products_id=181

I have imagehandler 4, slimbox and lightbox installed.
The site is not fully working yet but I have already run into 2 problems with the product images.

Problem 1
You will see the additional images on the product page are really tiny. i have tried all the suggestions as follows:
*>Admin/Configuration/Images... all image sizes

Changing - includes\modules\additional_images.php to MEDIUM*
But they dont seem to change the additional image sizes.

Problem 2
When you click on any of the images the lightbox pops up but says image 1 of 2 and when you click next it only shoes you the same image..weird. Why does it not say Images 1 of 3?
I have checked the files and there is only 1 image on the server as I presume the MED/LRG files are handled by Imagehandler.

Any help on these 2 problems would be appreciated.
Thanks. :smile:

28 Jan 2018, 00:33
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Help with additional images and lightbox..

I think the problem is you are using both slimbox and light box. You should only use one of them

28 Jan 2018, 01:02
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Help with additional images and lightbox..

Also, Image Handler v5 is the recommended IH for ZC 1.5.5. Image sizes of the additional images: please provide your settings for for configuration->images.

28 Jan 2018, 20:28
#4
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Re: Help with additional images and lightbox..

Okay.. so for problem 2 - should I over install IH5 or uninstall Slimbox first.. ?
For problem 1 - is slimbox/IH4 joint the problem as I've had the problem with small images before installing both.
The config/images are:
Images
Title Value
Small Image Width 200
Small Image Height 100
heading Image Width - Admin 0
Heading Image Height - Admin 0
Subcategory Image Width 200
Subcategory Image Height 100
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 50
Image - Shopping Cart Height 40
Category Icon Image Width - Product Info Pages 57
Category Icon Image Height - Product Info Pages 40
Top Subcategory Image Width 200
Top Subcategory Image Height 100
Product Info - Image Width 500
Product Info - Image Height 200
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 4
Image - Product Listing Width 200
Image - Product Listing Height 200
Image - Product New Listing Width 600
Image - Product New Listing Height 400
Image - New Products Width 600
Image - New Products Height 400
Image - Featured Products Width 600
Image - Featured Products Height 400
Image - Product All Listing Width 600
Image - Product All Listing Height 400
Product Image - No Image Status 1
Product Image - No Image picture no_picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH small images filetype jpg
IH small images background 255:255:255
IH small images compression quality 85
IH small images watermark yes
IH small images zoom on hover no
IH small images zoom on hover size Large
IH medium images filetype jpg
IH medium images background 255:255:255
IH medium images compression quality 85
IH medium images watermark yes
IH large images filetype jpg
IH large images background 255:255:255
IH large images compression quality 85
IH large images watermark yes
IH large images maximum width 600
IH large images maximum height 400
IH watermark gravity Center

Any help on the really small additional images would be appreciated.
Thanks.

28 Jan 2018, 21:18
#5
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Re: Help with additional images and lightbox..

Sorry... for my problem 2 - I went ahead and over installed IH5 after reading the 'Readme' files... and Images in lightboxes work 'nearly' fine now.
I have 3 images loaded and they all work in the lightboxes however the lightbox says 4 images and shows the main image twice... any thoughts/ideas?

Also if anyone can answer my Problem 1 - Why the additional images are so small that would be great?
Problem 1
You will see the additional images on the product page are really tiny. i have tried all the suggestions as follows:

Admin/Configuration/Images... all image sizes
Changing - includes\modules\additional_images.php to MEDIUM
But they don't seem to change the additional image sizes.

Could this be my template (Westminster_new) issue?
Thanks.

10 Feb 2018, 18:44
#6
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Re: Help with additional images and lightbox..

J9MM0:

Sorry... for my problem 2 - I went ahead and over installed IH5 after reading the 'Readme' files... and Images in lightboxes work 'nearly' fine now.
I have 3 images loaded and they all work in the lightboxes however the lightbox says 4 images and shows the main image twice... any thoughts/ideas?

Also if anyone can answer my Problem 1 - Why the additional images are so small that would be great?
Problem 1
You will see the additional images on the product page are really tiny. i have tried all the suggestions as follows:

Admin/Configuration/Images... all image sizes
Changing - includes\modules\additional_images.php to MEDIUM
But they don't seem to change the additional image sizes.

Could this be my template (Westminster_new) issue?
Thanks.

Any thoughts anybody?

10 Feb 2018, 19:18
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Help with additional images and lightbox..

Look in /includes/templates/westminster_new/css/stylesheet.css, line 284. Remove

.additionalImages img {
    width: 50px;
}
10 Feb 2018, 21:25
#8
j9mm0 avatar

j9mm0

Zen Follower

Join Date:
Feb 2011
Posts:
106
Plugin Contributions:
0

Re: Help with additional images and lightbox..

Boom!.. thanks Lat9!..

Any thoughts on why I get 4 images (main image twice) instead of 3?

11 Feb 2018, 12:48
#9
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,065
Plugin Contributions:
56

Re: Help with additional images and lightbox..

J9MM0:

Boom!.. thanks Lat9!..

Any thoughts on why I get 4 images (main image twice) instead of 3?
That question is best posed in the support-thread associated with the large-image popup that you're using.