Forums / Setting Up Categories, Products, Attributes / Multiple Images problem LINDA HELPPP!!!!! LOL

Multiple Images problem LINDA HELPPP!!!!! LOL

Locked
Results 1 to 20 of 26
This thread is locked. New replies are disabled.
22 Feb 2008, 22:04
#1
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Multiple Images problem LINDA HELPPP!!!!! LOL

Hello All,
Linda I put your name on this one because I have read almost every post about multiple images and you seem to be the goto person. This is the first of a two part problem LOL I figured one at a time. After reading everything twenty times :frusty: I tried a couple of experiemnts. I loaded for the heck of it "a_bugs_life.jpg" and multiple pics came up on the page, so again after all my reading about the naming conventions I went on. I have two sets of pictures they are the same picture with just a diffrent view. What makes each uniqe is the naming. The attributes are the same on all pic's. one set is WMBR_LGR.jpg, WMBR_LRG_01.jpg. Now if I load the WMBR_LRG.jpg it loads fine but the WMBR_LRG_01.jpg never appers? I also created WMBR.jpg, WMBR_01.jpg. Now for some reason not known to me when I try to load WMBR.jpg it gives me a error "Error: File upload not saved." so that set does not even work at all. These are all located in the /images directory. And the _LRG are in /images and /images/large. I know this is very a very broad question but? Any thoughts? www.petestown.com the page is under men's watches Rich
23 Feb 2008, 00:14
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Posts:
5,752
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Main image should be
WMBR.jpg .. location /images
Large image should be
WMBR_LRG.jpg ..location /images/large
Medium image
WMBR_MED.jpg ..location /images/medium
Additional images
WMBR_01.jpg
WMBR_02.jpg
Both those ..location /images
ajeh(linda) may not be on forum today,
hence hope my post helps you.
Am sure she will correct this post soon,
if am mistaken.
23 Feb 2008, 00:43
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

The problem most likely is, if misty didn't clarify this enough for you, is that you have as the main image:
/images/WMBR.jpg

/images/medium/WMBR_MED.jpg (only 1 medium image)

That means it owns:
/images/WMBR_01.jpg
/images/WMBR_02.jpg
/images/WMBR_03.jpg
/images/WMBR_abc.jpg

/images/large/WMBR_01_LRG.jpg
/images/large/WMBR_02_LRG.jpg
/images/large/WMBR_03_LRG.jpg
/images/large/WMBR_abc_LRG.jpg

-- or --

if using subdirectories:
/images/something/WMBR.jpg

/images/medium/something/WMBR_MED.jpg (only 1 medium image)

That means it owns:
/images/something/WMBR_01.jpg
/images/something/WMBR_02.jpg
/images/something/WMBR_03.jpg
/images/something/WMBR_abc.jpg

/images/large/something/WMBR_01_LRG.jpg
/images/large/something/WMBR_02_LRG.jpg
/images/large/something/WMBR_03_LRG.jpg
/images/large/something/WMBR_abc_LRG.jpg
23 Feb 2008, 19:21
#4
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Misty Linda THANK YOU I think the older I get the more dysleix I become :hug:


Rich
23 Feb 2008, 19:27
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

You and me both ... :blink:

Glad we were able to be of help on clarifying this for you ... :smile:
23 Feb 2008, 19:49
#6
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Now I don't want ya to laugh at me because REMEBERR I said it's a TWO PART PROBLEM. If I was dumb with mutiple pic's now I am working on the attribute problem for multi-colors LOLOLOL. But I am going to read a bunch of posts first!:smartalec:

Rich
23 Feb 2008, 20:01
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Hint: there isn't an enlargement on attribute images as they are more like swatches ... and I like to toss them in the /images/attributes directory to keep them separate ...

Hint: there is no relationship, at this time, between the base image for the products_image and the attribute(s) image name ... it just pulls whatever you call the image ...
23 Feb 2008, 22:29
#8
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Linda

I was playing around with sizes so I re-shot some new pics! I created wmbr.jpg and wmbr_01.jpg loaded them to the /images directory it keeps giving me this error "Error: File upload not saved."? the folder is set for read write and modify for all? This is a problem I was having in my first post as well and used the LRG and it worked so I think this is a reason for some of my misunderstanding as well

Rich
23 Feb 2008, 22:38
#9
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Now if I rename them wmbr_LRG.jpg and wmbr_LRG-01.jpg and leave them in the /images directory it works fine?????? I'm confussed
23 Feb 2008, 22:54
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

The /images directory is a touch more flexible than the subdirectories like /images/mysubdirectory so it allows the image naming to be a little less strict in regard to using the underscore or not ...

As a rule, it is:
basename underscore something extention

Example:
basename_something.jpg

I prefer numbers so I can sort my images as well as post additional images on a product ... as they are loaded alpha/numeric ...

I am not sure what you mean on the lower case naming of the large images ... I think I would need to see an URL to follow what you are doing there ...
23 Feb 2008, 23:02
#11
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Hi Linda here is a direct link to the page

http://www.petestown.com//index.php?main_page=product_info&products_id=490

It does not like wmbr or WMBR period it gives an error everytime I try to upload but when I do _LRG to each pic its fine so I imagine _anything would work? I was just confussed because it seemed you and Misty had both used just WMBR.jpg but it will not work?

The link is with both of those names and the _LRG

Rich
23 Feb 2008, 23:27
#12
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Now I take a picture of another watch I call this one WMBL.jpg and WMBL_01.jpg it gives me the same error "Error Error: File upload not saved" will not upload. So now I change them to WMBL_LRG.jpg and WMBL_LRG_01.jpg and again this is going in /images but I still get the same error while tryingto load and this just worked on the previous product?
23 Feb 2008, 23:34
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

I think you have errors in your configure.php file ... :eek:

IF that URL is correct, then you have too many slashes in it ... and you should never see extra slashes ...

If that is really your URL, could you post, from the server, the file:
/includes/configure.php

without your username and password ...

Sounds like you have an error in it ...
23 Feb 2008, 23:38
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

NOTE: you also have only 1 Product in this category so it is skipping the Product Listing and going to the product _info page ...

Small images show in the listings, Medium on the product _info page and Large when you click on the Medium Image ... or if you have Additional Images, when you click on one of the other ones ...
23 Feb 2008, 23:46
#15
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Here is that file Linda

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://www.petestown.com');
define('HTTPS_SERVER', 'https://www.petestown.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '//');
define('DIR_WS_HTTPS_CATALOG', '//');

define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

define('DIR_WS_PHPBB', '/');

// * DIR_FS_* = Filesystem directories (local/physical)
//the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
define('DIR_FS_CATALOG', '/var/www/html//');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');

// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxxxxxx');
define('DB_DATABASE', 'petesdb');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'file');
define('DIR_FS_SQL_CACHE', '/var/www/html//cache');

?>
24 Feb 2008, 00:50
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Everywhere you have 2 // such as:
define('DIR_WS_CATALOG', '//');
define('DIR_WS_HTTPS_CATALOG', '//');

should be 1 / as in:
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

If you look through your configure.php file you have several spots with the // and that is incorrect ...

Be sure to check your Admin configure.php file in:
/admin/includes/configure.php

for the same error ...
25 Feb 2008, 17:21
#17
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Yes I seen and changed both config files THANX

Rich
25 Feb 2008, 18:08
#18
petestown avatar

petestown

Zen Follower

Join Date:
Jul 2007
Posts:
148
Plugin Contributions:
0

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

But it's still giving me errors on loading pic's? I did the next watch this one is wmbl.jpg wmbl_01.jpg the others were wmbr! It gives me the same error when creating a new product and trying to load a new pic? So I went and renamed them to wmbl_LRG.jpg wmbl_LRG_01.jpg since that worked on the last one and I still get the error? So then since I had coppied as a duplicate product I thought maybe something was corrupt so I deleted the record and created a new one from scratch. It still gave me the error and I can not load a pic for that product? I am using the same camera software and settings that I have used for the other 451 products so I am a little puzzled any thoughts?

www.petestown.com Rich

http://www.petestown.com/index.php?main_page=index&cPath=34

** EDITED *** Never ever post in a forum, email, newsletter etc. the zenid or zenAdminID or you will be doomed!! :eek:
25 Feb 2008, 18:20
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

There should be no file called:
wmbl_LRG_01.jpg

Small, medium and large images:
wmbl.jpg goes in /images
wmbl_LRG.jpg goes in /images/large
wmbl_MED.jpg goes in /images/medium

Additional images or Extra images:
wmbl_01.jpg goes in /images
wmbl_01_LRG.jpg goes in /images/large

wmbl_02.jpg goes in /images
wmbl_02_LRG.jpg goes in /images/large

wmbl_abc.jpg goes in /images
wmbl_abc_LRG.jpg goes in /images/large

NOTE: Again, there is only 1 medium image for display on the product _info page
25 Feb 2008, 18:24
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Posts:
62,757
Plugin Contributions:
1

Re: Multiple Images problem LINDA HELPPP!!!!! LOL

Looking at your site I see a Product with this image as the main or base image:
/images/wmbr_LRG.jpg

This should be stored in the database to use:
/images/wmbr.jpg

with the large image in:
/images/large/wmbr_LRG.jpg