Zen Cart Logo
Forums / All Other Contributions/Addons / Image Handler 2 (for ZC v1.3.8 ONLY) Support

Image Handler 2 (for ZC v1.3.8 ONLY) Support

Views: 2,510,740

Results 3,321 to 3,340 of 7,094
22 Dec 2008, 2:48 AM
#3321
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Image Handler 2 (for ZC v1.3.8 ONLY) Support

terrill taylor, you have no problem with installing the files? I got errors and I am not sure why.

22 Dec 2008, 2:51 AM
#3322
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

dreamlex:

Admin > Tools > Image Handler 2. I see the image on image manager tab. but i haven't installed image handler.
so I went to admin tab > install image handler.. then there is error:
Fatal error: Call to undefined function install_image_handler() in /home/dreamlex/public_html/thepeephole/admin/image_handler.php on line 171.

One more - I went to "preview" tab and I got this error:
Fatal error: Call to undefined function getcachename() in /home/dreamlex/public_html/thepeephole/includes/classes/bmz_image_handler.class.php on line 258

Anyone have experienced this? Please kindly help and I will appreciate it. thank you

Make sure you uploaded all the IH files and they are in the correct folders.
Is the files in red uploaded?

22 Dec 2008, 2:59 AM
#3323
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tophand:

Make sure you uploaded all the IH files and they are in the correct folders.
Is the files in red uploaded?

red? you mean doc/res folder? if yes, I have just put it in docs folder in domain folder. i tested it just now and I still have two same errors.

22 Dec 2008, 3:06 AM
#3324
4thwave avatar

4thwave

Zen Follower

Join Date:
Sep 2007
Posts:
125
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Thank's for the reply!!!
When I look at the file structure is this correct?

mystore/includes/includes

There is a second includes folder already there. Does it go into the first includes folder or intothe second?

Gracias

22 Dec 2008, 3:07 AM
#3325
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Terrill_Taylor:

Thanks for your reply - I looked at both configure.php and they look right to me... What file is missing? I re-uploaded all of the files before posting, so it may be there now..
/NewZen/includes/configure.php:

/ 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.banberryplace.com/NewZen');
define('HTTPS_SERVER', 'https://www.banberryplace.com/NewZen');

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

// 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', '/home2/banbecom/public_html/forum/');

// * 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', '/home2/banbecom/public_html/NewZen/');

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('HTTP_SERVER', 'http://www.banberryplace.com/NewZen');
  define('HTTPS_SERVER', 'https://www.banberryplace.com/NewZen');
  define('HTTP_CATALOG_SERVER', 'http://www.banberryplace.com/NewZen');
  define('HTTPS_CATALOG_SERVER', 'https://www.banberryplace.com/NewZen');

  // Use secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'false');
  define('ENABLE_SSL_ADMIN', 'false');

// 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_ADMIN', '/admin/');
  define('DIR_WS_CATALOG', '/');
  define('DIR_WS_HTTPS_ADMIN', '/admin/');
  define('DIR_WS_HTTPS_CATALOG', '/');

  define('DIR_WS_IMAGES', 'images/');
  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
  define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
  define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
  define('DIR_WS_INCLUDES', 'includes/');
  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
  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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

// * 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_ADMIN', '/home2/banbecom/public_html/NewZen/admin/');
  define('DIR_FS_CATALOG', '/home2/banbecom/public_html/NewZen/');

  define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
  define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
  define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
  define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
  define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

In your other post you said:
"In IH the file location for the large image is banberryplace.com\images and the default and medium point to banberryplace.com\bmz_cache but if I view the product details it points to banberrryplace.com\NewZen\images."

But both of your configure files has the path:
http://www.banberryplace.com/NewZen/images/

The correct path for define('DIR_WS_IMAGES', 'images/'); is
define('DIR_WS_IMAGES', 'http://www.banberryplace.com/images/');
since you are pulling images from banberryplace.com/images

The above configure files will work if you are pulling images from banberryplace.com/NewZen/images

Missing a stylesheet for NewZen

22 Dec 2008, 3:13 AM
#3326
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

4thwave:

Thank's for the reply!!!
When I look at the file structure is this correct?

mystore/includes/includes

There is a second includes folder already there. Does it go into the first includes folder or intothe second?

Gracias

hola.. it should be store/includes.

22 Dec 2008, 3:15 AM
#3327
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

duh me, i missed the function folder for admin. now it works.

i apologize if it is unrelated but i am wondering if it is possible to put a few color images
for the specific product so that the user could get to see color before order specific color?

thank you!

22 Dec 2008, 3:23 AM
#3328
4thwave avatar

4thwave

Zen Follower

Join Date:
Sep 2007
Posts:
125
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

Thank you,
I ftp'd the files into the /includes directory and then went to admin/tools and I do not find Image Handler there? Am I missing something?

A.H

22 Dec 2008, 3:27 AM
#3329
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

4thwave:

Thank you,
I ftp'd the files into the /includes directory and then went to admin/tools and I do not find Image Handler there? Am I missing something?

A.H

did you install every folder which came with Image Handler 2? you have to install admin folder, bmz_cache folder & image folder.

22 Dec 2008, 3:32 AM
#3330
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

4thwave:

dreamlex,

Did you drop the IM2 files directly into the Zencart folder or did you install each of the install folders into different locations???

Step 1: Back Up, Back Up and you did back up your zencart files, right?

Step 2: You have created your override folders, right?
If not now is the time.

Step 3: Have you made any changes to any zen cart files?
Easy to check, just look in your override folders to see if any IH files will overwrite any files. If so you need to merge the 2 files into one.
If you have not made any file changes, good.
IH files (3 I think) overwrite some ZenCart files so those files need to be uploaded the the correct override folders.

Step 4: Forget Steps 1 to 3 and upload/drop IH folders into the ZenCart folder.

22 Dec 2008, 3:32 AM
#3331
4thwave avatar

4thwave

Zen Follower

Join Date:
Sep 2007
Posts:
125
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I loaded these four folders directly into the /includes folder

admin
bmz_cache
images
includes

I must be missing something???

22 Dec 2008, 3:38 AM
#3332
4thwave avatar

4thwave

Zen Follower

Join Date:
Sep 2007
Posts:
125
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I have to admit, I have not created the overide folders. This part of the Zen experience is still a bit confusing. I have been biting of small chunks of the Zen process at a time (being new to the Zen life).

T answer the question I followed the fourth step and installed the four folders into mystore/includes using filezilla. Then wen to admin/tools and there is no Image Handler.

Stumped.

22 Dec 2008, 3:39 AM
#3333
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

4thwave:

I loaded these four folders directly into the /includes folder

admin
bmz_cache
images
includes

I must be missing something???

then you should see admin>tools>image handler 2 - i am not sure why it didn't work for you.

22 Dec 2008, 3:40 AM
#3334
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

dreamlex:

duh me, i missed the function folder for admin. now it works.

i apologize if it is unrelated but i am wondering if it is possible to put a few color images
for the specific product so that the user could get to see color before order specific color?

thank you!

Can add additional images.

But also can with attributes.
This will point the way but you can add color swatches
https://www.zen-cart.com/tutorials/index.php?article=57

22 Dec 2008, 3:41 AM
#3335
4thwave avatar

4thwave

Zen Follower

Join Date:
Sep 2007
Posts:
125
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

I am using iC_AthemeV1.3 for my template if this makes a difference.

Thank's for the help!!!

22 Dec 2008, 3:43 AM
#3336
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

4thwave:

I loaded these four folders directly into the /includes folder

admin
bmz_cache
images
includes

I must be missing something???

Not correct.

They all go into the Zen Cart root folder.

From your earlier post, they will all go into your mystore folder

22 Dec 2008, 3:58 AM
#3337
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tophand:

Can add additional images.

But also can with attributes.
This will point the way but you can add color swatches
https://www.zen-cart.com/tutorials/index.php?article=57

yeah i have looked at tutorials, but I don't really understand how to use images with attributes. I know only how to add value and names in option manager (text only)..so could you show me how to do swatch colors with attributes?

thank you again

22 Dec 2008, 4:00 AM
#3338
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tophand:

Not correct.

They all go into the Zen Cart root folder.

From your earlier post, they will all go into your mystore folder

yes, it has to be your store root folder. for an example:

mystore/admin
mystore/bmz_cache
mystore/images
mystore/includes

22 Dec 2008, 4:07 AM
#3339
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

dreamlex:

yeah i have looked at tutorials, but I don't really understand how to use images with attributes. I know only how to add value and names in option manager (text only)..so could you show me how to do swatch colors with attributes?

thank you again

The attributes part has nothing to do with IH.

Admin-->Catalog-->Attributes Controller you scroll to the bottom and you can add color swatches.
You can get more help here (search first)
http://www.zen-cart.com/forum/forumdisplay.php?f=33

22 Dec 2008, 4:14 AM
#3340
dreamlex avatar

dreamlex

New Zenner

Join Date:
Dec 2008
Posts:
57
Plugin Contributions:
0

Re: Image Handler 2 (for ZC v1.3.8 ONLY) Support

tophand:

The attributes part has nothing to do with IH.

Admin-->Catalog-->Attributes Controller you scroll to the bottom and you can add color swatches.
You can get more help here (search first)
http://www.zen-cart.com/forum/forumdisplay.php?f=33

ok i saw swatch at the bottom and test it with big image (i know resize it but it is for test). yeah it works. hope that one product can hold more than 1. thank you so much.

then i am on way to fix swap image. thank you again :hug: