If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Help Needed to add more then one image to a product

Help Needed to add more then one image to a product

Started by littleangell52 on 7 Apr 2016, 11:03 AM · Views: 1,235

Results 1 to 9 of 9
7 Apr 2016, 11:03 AM
#1
littleangell52 avatar

littleangell52

Zen Follower

Join Date:
Jan 2016
Location:
Merstham Surrey United Kingdom
Posts:
102
Plugin Contributions:
0

Post #1 by littleangell52

Can someone tell me how to add more then one image to a product. I have tried the Zencart tutorial and Only the first Image shows up on the product page. Where am I going wrong?

Thank You

7 Apr 2016, 11:13 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #2 by mc12345678

Can you specifically identify the process you are using, the filenames involved and the sequence used to upload your images?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

7 Apr 2016, 9:58 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #3 by swguy

Also, are you sure your template supports multiple images? (for a start, does it pull in the additional images template file?)
And do you have the show product additional image flag on? (admin-configuration-images-product info - number of additional images per row > 0 and admin-catalog-product types -> (your product type) -> edit layout ->show additional images = 1)

Having asked that, I would dearly love to see a mod to make it easier to add additional images.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Apr 2016, 10:08 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #4 by mc12345678

swguy:

also, are you sure your template supports multiple images? (for a start, does it pull in the additional images template file?)
and do you have the show product additional image flag on? (admin-configuration-images-product info - number of additional images per row > 0 and admin-catalog-product types -> (your product type) -> edit layout ->show additional images = 1)

having asked that, i would dearly love to see a mod to make it easier to add additional images.

ih4. :p

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

7 Apr 2016, 10:11 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Post #5 by swguy

IH4 does a ton of stuff, and I was thinking of something skinnier. Still a good suggestion TY.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

7 Apr 2016, 11:11 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #6 by mc12345678

swguy:

IH4 does a ton of stuff, and I was thinking of something skinnier. Still a good suggestion TY.

I do suppose that portions of that codecould be incorporated, the only thing that comes to mind though is once an "app" gets into say permitting easier input of something like additional images, next comes a need to manage those images. (Ie. Resequence them, present them in a way to resequence, etc...)

I know that in my early learnings of PHP I had created something like a ZC product type that had images and I had to incorporate a save this and add additional images section. Didn't use any javascript or jquery, just loaded another page that supported reloading other images and a "sort order". Point being similar to other pages in ZC, would need to address all the necessary interactions to support adding the additional images. Now, if upon page load, there was already an image assigned, that could provide the additional image button... But then still would have to deal with load/reload for each image... Just some "additional" thoughts...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

30 Jun 2016, 12:57 AM
#7
jkll avatar

jkll

New Zenner

Join Date:
May 2016
Location:
Minneapolis
Posts:
4
Plugin Contributions:
0

Post #7 by jkll

Double post, huh? See next.

<kill image!>

30 Jun 2016, 12:57 AM
#8
jkll avatar

jkll

New Zenner

Join Date:
May 2016
Location:
Minneapolis
Posts:
4
Plugin Contributions:
0

Post #8 by jkll

Hello, I have very methodically upgraded a localhost test site from 1.5.0ish to 1.5.5. I have not made any hacks. Using Responsive Classic as my template, I proceeded to very methodically add CEON, then sitemapXML, then Simple Google Analytics 1-2-6, and then UPS 12-30-15. I have backed up both the database and the files for each step. Then I added Manufacturers All About 1.1, which is when I noticed things were awry (none of the added custom MFR code/text was being added -- there isn't even a call for it anywhere in the mod, I believe, at least not that I can find, I had to add PHP callouts to the database myself).

Anyhow, with that fixed, I then noticed additional images were not appearing. I checked the template files, even though I have not touched them since installation. They are fine. I even copied tpl_modules_additional_images.php from default to responsive classic. I checked the admin flags: 1) "number of additional images per row" = 5, and 2) "show additional images" = 1.

However, when I switch to Classic Green, I do notice that the three-col layout is broken on a product page. The third col is wonky. The second/middle/main col kicks the third out to the far right outside the bounding box. Although, that is not quite right, it does start a few pixels inside of the bounding box. [See attached image (below?) if I figure that out.] Might have something to do with my flag settings in Layout Boxes Controller but not sure. Responsive looks great and appears to be without issues. IOW, I am currently at a loss what else to do.

So, does anybody have some troubleshooting tips for me?

Thank you.

Attachment 16461

30 Jun 2016, 3:39 AM
#9
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #9 by mc12345678

jkll:

Hello, I have very methodically upgraded a localhost test site from 1.5.0ish to 1.5.5. I have not made any hacks. Using Responsive Classic as my template, I proceeded to very methodically add CEON, then sitemapXML, then Simple Google Analytics 1-2-6, and then UPS 12-30-15. I have backed up both the database and the files for each step. Then I added Manufacturers All About 1.1, which is when I noticed things were awry (none of the added custom MFR code/text was being added -- there isn't even a call for it anywhere in the mod, I believe, at least not that I can find, I had to add PHP callouts to the database myself).

Anyhow, with that fixed, I then noticed additional images were not appearing. I checked the template files, even though I have not touched them since installation. They are fine. I even copied tpl_modules_additional_images.php from default to responsive classic. I checked the admin flags: 1) "number of additional images per row" = 5, and 2) "show additional images" = 1.

However, when I switch to Classic Green, I do notice that the three-col layout is broken on a product page. The third col is wonky. The second/middle/main col kicks the third out to the far right outside the bounding box. Although, that is not quite right, it does start a few pixels inside of the bounding box. [See attached image (below?) if I figure that out.] Might have something to do with my flag settings in Layout Boxes Controller but not sure. Responsive looks great and appears to be without issues. IOW, I am currently at a loss what else to do.

So, does anybody have some troubleshooting tips for me?

Thank you.

Attachment 16461

What are the filenames of the main image and the additional images including sub-folder if used?
Do you have any error logs that correspond with the date/time of when this issue began appearing (check the logs directory assuming the install/upgrade was done properly).

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...