Forums / Setting Up Categories, Products, Attributes / Reposition Multiple Images

Reposition Multiple Images

Views: 1,331

Results 1 to 12 of 12
30 Jun 2011, 1:30 PM
#1
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Reposition Multiple Images

Hello, I added multiple images and they are showing below my product description instead of below the main image. Is there a way for the multiple images to show below the main image and not below the product description?

Thank you in advance :smile:

30 Jun 2011, 2:13 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Reposition Multiple Images

Edit a custom copy for your template structure of tpl_product_info_display.php and move the complete block for additional images to right after the block for main image

Zen-Venom Get Bitten

18 Jul 2011, 1:42 PM
#3
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Hello, I apologize for the late response and I really appreciate your help. I'm sorry but I don't really understand what you mean. I actually learned how to add multiple images via this video on youtube: youtube.com/watch?v=zae6Y0jeB3c

So I am not really sure what you mean by "Edit a custom copy for your template structure of tpl_product_info_display.php and move the complete block for additional images to right after the block for main image".

Please help and thank you for time =)

18 Jul 2011, 4:51 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Reposition Multiple Images

Search the forum using this phrase:

tpl_product_info_display.php

You have to EDIT that code file manually.

20 years a Zencart User

18 Jul 2011, 5:22 PM
#5
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Thank you for your reply schoolboy. How would I edit that code file manually? :blush:

Also, did I do right by adding the multiple images as I did on the Youtube video or should I try adding the images differently? I'm sorry, this is all so confusing. :(

Thank you for your time.

18 Jul 2011, 5:28 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Reposition Multiple Images

You EDIT the php files by sending (via FTP) a copy of the file, to YOUR hard drive.

When it comes on your hard drive, you OPEN it for editing, using a PLAIN TEXT EDITOR.

I recommend EMERALD EDITOR (Use GOOGLE to search for this free software, and install it on your machine).

When you have made the edits, you FTP the changed file BACK to the server.

BUT... you do not put it back in the includes/templates/template_default/ templates folder...

You put it into includes/templates/YOUR_CUSTOM_TEMPLATE/templates folder.

SEE:
https://www.zen-cart.com/tutorials/index.php?article=5
https://www.zen-cart.com/tutorials/index.php?article=38
https://www.zen-cart.com/tutorials/index.php?article=39

20 years a Zencart User

18 Jul 2011, 5:44 PM
#7
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Would I have to: "move the complete block for additional images to right after the block for main image" as mentioned by kobra (thank you Kobra). I did find the "tpl_product_info_display.php" you guys mentioned earlier, but I did not find the information that has to be moved to the right. That is where I am a little confused.

Is this where I would make the changes in the "tpl_product_info_display.php" file?:
**

<!--eof Main Product Image-->**

I truly appreciate all the help, thank you

18 Jul 2011, 5:48 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Reposition Multiple Images

Try a few "positions" to see what happens.

All you need remember is not to paste one <!--BOF--><!--EOF--> section inside another one.

20 years a Zencart User

18 Jul 2011, 6:04 PM
#9
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Ok, let me see if I understand correctly:

I would move a copy of the " tpl_product_info_display.php" to my hard drive. Then I will edit the file and send it to includes/templates/YOUR_CUSTOM_TEMPLATE/templates correct? :blush:

What i don't understand is what would I have to edit inside the " tpl_product_info_display.php" file? What would I have to add or change inside that file?? :blush:

I apologize for the inconvenience. I really wished I knew more about computer programming, thank you.

18 Jul 2011, 7:05 PM
#10
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Wait a minute, I think I understand what you guys are trying to tell me. :clap:

I would have to move everything from this section: "<!--bof Additional Product Images -->" and place it after here this section: "<!--eof Main Product Image-->". Is that correct? :blush:

I honestly been trying to figure this out for months, I hope this is it. *Crossing my fingers :frusty:

Please let me know, thank you

18 Jul 2011, 7:35 PM
#11
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Wait a minute, I think I understand what you guys are trying to tell me.

I would have to move everything from this section: "<!--bof Additional Product Images -->" and place it after here this section: "<!--eof Main Product Image-->". Is that correct?

I honestly been trying to figure this out for months, I hope this is it. *Crossing my fingers

Where in my hard drive would I place the copy of the file, to do the editing? Also, can I use notepad for the editing? Please let me know, thank you

21 Jul 2011, 1:05 PM
#12
ricangem avatar

ricangem

Zen Follower

Join Date:
Dec 2010
Posts:
138
Plugin Contributions:
0

Re: Reposition Multiple Images

Yey! I finally did it!

BTW: I already had a PLAIN TEXT EDITOR with my ftp program. :smile:

I did what you guys told me to do. I moved a COPY of the " tpl_product_info_display.php" to my hard drive. Then I opened the file and moved all the information that was under "Additional Images" and placed it under information about "Main Image". ( **This tpl_product_info_display.php file displays what you will see in your product page. )

Then, I closed the file and moved it into ** includes/templates/YOUR_CUSTOM_TEMPLATE/templates folder** and not where I got first got the file, which was in includes/templates/template_default/ templates. And it worked like a charm!!!

Thank you schoolboy and kobra!!:D