Forums / Templates, Stylesheets, Page Layout / Multiple Images Questions

Multiple Images Questions

Locked

Views: 3,174

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
3 Mar 2008, 7:20 PM
#1
manifest avatar

manifest

New Zenner

Join Date:
Feb 2008
Posts:
12
Plugin Contributions:
0

Multiple Images Questions

I've read through the multitude of threads on the site to see if my question has already been answered. It seems that most people have difficulty understanding the naming conventions and file paths for multiple images. I believe that mine are set up correctly, but my product is still only displaying one image.

The site is at:www.bahamamontana.com/shop
The product is at: www.bahamamontana.com/shop/index.php?main_page=product_info&cPath=23_25_32&products_id=24

I uploaded the main image that is currently displaying through the admin when I created the new product. Using the admin I specified that the image should be placed in the directory titled 'indoor'. This should upload it to: images/indoor/indiancreek-bedroom.jpg.

I then uploaded (through FTP) the file "indiancreek-bedroom_MED.jpg" to the images/medium/indoor directory. When I view the product listing in my browser, and check the file path, this is the image that is displayed even though I originally uploaded to the images/indoor directory through the admin. I assume this automatically happens when you upload the same file name (with the _MED extension) to the proper directory.

From there also uploaded the following files to the images/large/indoor directory:
indiancreek-bedroom_LRG.jpg
indiancreeek-bedrom_02_LRG.jpg

From all the posts here on the site, I think that I'm uploading and naming correctly. However, from the product page you can see that only the main image displays.

I checked to make sure the setting for "Show Additional Images" was on in the "Product Types" admin config.

I'm not sure how to check if I'm using the add-on module "Image Handler".

Can anyone help???!

To summarize my images directory currently is as follows:
images/indoor/indiancreek-bedroom.jpg
images/indoor/indiancreek-bedroom_02.jpg (not sure if this file is even needed)
images/medium/indiancreek-bedroom_MED.jpg
images/large/indiancreek-bedroom_LRG.jpg (not sure if this file is even needed)
images/large/indiancreek-bedroom_02_LRG.jpg

3 Mar 2008, 7:27 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Multiple Images Questions

I've read through the multitude of threads on the site to see if my question has already been answered.
Did you check the tutorials & FAQ's??

https://www.zen-cart.com/tutorials/index.php?article=58

And I would place them all just in the images folder then the large and medium for ease

Zen-Venom Get Bitten

3 Mar 2008, 7:33 PM
#3
manifest avatar

manifest

New Zenner

Join Date:
Feb 2008
Posts:
12
Plugin Contributions:
0

Re: Multiple Images Questions

I've read every tutorial and post I can find on the subject and think that I'm following the directions to the letter.

From what I describe, can you see a problem with my setup.

Also, I plan on having many products (as you can see from the categories) and would like to organize them at least a little. Hence the simple sub-directories.

3 Mar 2008, 7:41 PM
#4
kobra avatar

kobra

Black Belt

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

Re: Multiple Images Questions

images/indoor/indiancreek-bedroom.jpg
images/large/indoor/indiancreek-bedroom_LRG.jpg
images/medium/indoor/indiancreek-bedroom_MED.jpg

and others respectively

Zen-Venom Get Bitten

3 Mar 2008, 7:48 PM
#5
manifest avatar

manifest

New Zenner

Join Date:
Feb 2008
Posts:
12
Plugin Contributions:
0

Re: Multiple Images Questions

kobra:

images/indoor/indiancreek-bedroom.jpg
images/large/indoor/indiancreek-bedroom_LRG.jpg
images/medium/indoor/indiancreek-bedroom_MED.jpg

and others respectively

Taking your advice, I set up a new product here. This time I did not use sub-directories. The file structure looks like this:

images/lexington-bedroom.jpg
images/lexington-bedroom_02.jpg
images/medium/lexington-bedroom_MED.jpg
images/large/lexington-bedroom_LRG.jpg
images/large/lexington-bedroom_02_LRG.jpg

Additionally, I've checked my admin to ensure that the suffixes I'm adding (_MED and _LRG) are correct. I'm getting the same result as the first product though.

3 Mar 2008, 8:12 PM
#6
kobra avatar

kobra

Black Belt

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

Re: Multiple Images Questions

on your test product try this naming for shagrins:

images/lexingtonbedroom.jpg
images/lexingtonbedroom_1.jpg
images/medium/lexingtonbedroom_MED.jpg
images/large/lexingtonbedroom_LRG.jpg
images/large/lexingtonbedroom_LRG_1.jpg

Zen-Venom Get Bitten

3 Mar 2008, 8:24 PM
#7
manifest avatar

manifest

New Zenner

Join Date:
Feb 2008
Posts:
12
Plugin Contributions:
0

Re: Multiple Images Questions

I tried as you recommended... Removing the hyphens and placing the suffix before the image number, and beginning the numbering with the numeral 1. No change...

Just for kicks I also tried removing the numeral altogether:
images/lexingtonbedroom.jpg
images/lexingtonbedrooma.jpg
images/large/lexingtonbedroom.jpg
images/large/lexingtonbedrooma.jpg

Weird right? I know the system is working to some degree, because when you select "View Image" through your browser and check the path, it shows
images/medium/lexingtonbedroom_MED.jpg

Files are curently named:
lexingtonbedroom.jpg
large/lexingtonbedroom1_LRG.jpg

3 Mar 2008, 8:37 PM
#8
kobra avatar

kobra

Black Belt

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

Re: Multiple Images Questions

Opps!! I think - I posted

images/large/lexingtonbedroom_LRG_1.jpg

should have been

images/large/lexingtonbedroom_1_LRG.jpg

You posted

large/lexingtonbedroom1_LRG.jpg

This is/has always been "auto-magik"

Zen-Venom Get Bitten

3 Mar 2008, 8:41 PM
#9
bugyoutoo avatar

bugyoutoo

New Zenner

Join Date:
Nov 2007
Posts:
34
Plugin Contributions:
0

Re: Multiple Images Questions

How did you eventually get this to work? I'm having the exact same problem and see that you have accomplished it!

3 Mar 2008, 8:44 PM
#10
kobra avatar

kobra

Black Belt

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

Re: Multiple Images Questions

manifest,

Is this a template monster template?

Zen-Venom Get Bitten

3 Mar 2008, 8:44 PM
#11
manifest avatar

manifest

New Zenner

Join Date:
Feb 2008
Posts:
12
Plugin Contributions:
0

Re: Multiple Images Questions

Not neccessary... This problem has been driving me batty, but now it's
SOLVED! :yes:

I should have thought of the fact that this was initially a Template Monster Template. I opened up the page templates/tpl_product_info_display.php and was able to find the line of code for additional images.

The folks at Template Monster had commented that line of code to ensure that their layout would look good... not necessarily work well!

Now all I have to do is figure out how to move the thumbnail image closer to the main image display...

KOBRA, thanks for all your help here and throughout my other posts. It's greatly appreciated.

3 Mar 2008, 8:48 PM
#12
manifest avatar

manifest

New Zenner

Join Date:
Feb 2008
Posts:
12
Plugin Contributions:
0

Re: Multiple Images Questions

kobra:

manifest,

Is this a template monster template?

Looks like you beat me to it!

bugyoutoo: look right around Line 139 in includes/templates/yourtemplate/templates/tpl_product_info_display.php

Find the section of code that looks like this:

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
// require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->

and remove the comment slashes before the require statement so it looks like this:

<!--bof Additional Product Images -->
<?php
/**
 * display the products additional images
 */
require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
<!--eof Additional Product Images -->
3 Mar 2008, 9:44 PM
#13
kobra avatar

kobra

Black Belt

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

Re: Multiple Images Questions

manifest,
Check your private messages

Zen-Venom Get Bitten