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,607

Results 2,081 to 2,100 of 7,094
3 Jan 2008, 6:35 PM
#2081
chris_parker avatar

chris_parker

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

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

chris parker:

Hi Testuser,
Many thanks for your reply.

I haven't changed servers or anything. I haven't moved the store to any other directories either.

Configure.php is:

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // 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.evaprofessional.co.uk'); define('HTTPS_SERVER', 'https://www.evaprofessional.co.uk'); // 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', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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', '/home/hairdcom/public_html/evapro/shop/'); 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', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'XXXXXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXXXX'); define('DB_DATABASE', 'XXXXXXXXX'); 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', 'database'); define('DIR_FS_SQL_CACHE', '/home/hairdcom/public_html/evapro/shop/cache'); ?>
> 
> The error on the screen when trying to access admin is, 
> 
> 
> Warning: Cannot modify header information - headers already sent by (output started at /home/hairdcom/public_html/evapro/shop/admin/includes/languages/english/extra_definitions/linkpoint_review.php:25) in /home/hairdcom/public_html/evapro/shop/admin/includes/init_includes/init_templates.php on line 36
> 
> Warning: Cannot modify header information - headers already sent by (output started at /home/hairdcom/public_html/evapro/shop/admin/includes/languages/english/extra_definitions/linkpoint_review.php:25) in /home/hairdcom/public_html/evapro/shop/admin/includes/functions/general.php on line 34
> 
> I have also tried re-uploading a fresh copy of linkpoint_review.php but also to no avail.
> 
> Any ideas?
> 
> P.S. Forgot to add, cache is CHMOD 777. I have also tried 755.
> 
> The admin part was working fine until I attempted to install Image maker. Luckily, the front end is still working.


Completely ignore me. I've found the problem. I was looking in the wrong linkpoint_review file, it turns out that there was white space after all!

Sorry about that!

:blush:
3 Jan 2008, 6:42 PM
#2082
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

chris parker:

Completely ignore me. I've found the problem. I was looking in the wrong linkpoint_review file, it turns out that there was white space after all!

Sorry about that!

:blush:

:frusty: Gotta love it ... glad you got it working.

3 Jan 2008, 7:50 PM
#2083
stargre avatar

stargre

New Zenner

Join Date:
Jul 2006
Posts:
89
Plugin Contributions:
0

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

Thanks a lot for the help. I got it figured out. However, how do I modify the watermark itself? I want it to show my store name rather than "zencart". Do I need a special software, or this contribution can somehow take care of that? Thanks!

testuser:

To add the watermark, the file is defined in your Admin panel :: Configuration :: Images and located respectively in each of the image directories:

/images/
/images/medium/
/images/large/

When installing Image Handler, you would have added these files.

3 Jan 2008, 9:08 PM
#2084
chris_parker avatar

chris_parker

New Zenner

Join Date:
Dec 2007
Posts:
53
Plugin Contributions:
0

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

testuser:

:frusty: Gotta love it ... glad you got it working.

At least we both gotta laugh out of my misfortune LOL.

One thing I am trying desperately to discover though is if there is any point in the zoom feature? I mean, it actually makes my products smaller!

Did I do something wrong?

See this product page to see what I mean

:huh:

3 Jan 2008, 9:48 PM
#2085
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

"How do I modify the watermark itself? I want it to show my store name rather than "zencart"."

Just create a new image of the size with a transparent background in Photoshop or other and type in your Business Name.

Create one for the small, medium, and large watermark images, and name them the same and dump them into your directories exactly where you found the IH2 Zen Cart watermark images.

I just happen to use the Engraved font on all images because it shows more product amongst the letters as opposed to say futura.

3 Jan 2008, 11:48 PM
#2086
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

stargre:

Thanks a lot for the help. I got it figured out. However, how do I modify the watermark itself? I want it to show my store name rather than "zencart". Do I need a special software, or this contribution can somehow take care of that? Thanks!

You'll need to create the graphic using some sort of an editing program.

Some examples:

Fireworks
Photoshop

3 Jan 2008, 11:50 PM
#2087
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

chris parker:

At least we both gotta laugh out of my misfortune LOL.

One thing I am trying desperately to discover though is if there is any point in the zoom feature? I mean, it actually makes my products smaller!

Did I do something wrong?

See this product page to see what I mean

:huh:

The size of the hover image is dependent on your settings for the Product Info Image dimensions located under Configuration :: Images in your Administration area.

4 Jan 2008, 3:28 PM
#2088
names avatar

names

New Zenner

Join Date:
May 2007
Location:
Oregon
Posts:
31
Plugin Contributions:
0

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

Hey guys, I am trying to install IH2 into 1.3.8a on my
Localhost test server. I have a shop in the root dir and
a completely nested shop in the root/wholesale dir
Have installed IH2 into the wholesale dir but this error
seems to say it is trying to call to the root dir?
The front end still works fine, this error is generated entering admin...
Any insight would be greatly appreciated :smile:

Warning: require_once(C:/wamp/www/allcrestsv2/includes/extra_configures/bmz_image_handler_conf.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\allcrestsv2\Wholesale\admin\includes\extra_configures\bmz_image_handler_conf.php on line 12

Fatal error: require_once() [function.require]: Failed opening required 'C:/wamp/www/allcrestsv2/includes/extra_configures/bmz_image_handler_conf.php' (include_path='.;C:\php5\pear') in C:\wamp\www\allcrestsv2\Wholesale\admin\includes\extra_configures\bmz_image_handler_conf.php on line 12

4 Jan 2008, 5:22 PM
#2089
webskipper avatar

webskipper

Totally Zenned

Join Date:
Nov 2007
Location:
USA
Posts:
876
Plugin Contributions:
2

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

"failed to open stream: No such file or directory"

If it were present, how could it fail or be missing?

Go back and double check each directory, each directory in that directory, etc and see if anything is missing. ALL images need to be 777, and the BMZ needs to be 777.

Is the JS in the right spot?

Clear cache and cookies. Inside the BMZ folder will be generated folders, 1,2,3, a,b,c delete these until you see that the hovers and watermarks are all working.

I just went through this many times on my own site.:frusty:

I would not build another Zen Cart without this contribution.

5 Jan 2008, 11:13 AM
#2090
gsis avatar

gsis

Zen Follower

Join Date:
Jun 2007
Posts:
140
Plugin Contributions:
0

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

One of my listing rules is that I do **not **use stock images for used books. Every used book I list must have an image of the actual book for sale. This is currently quite time-consuming so I aim to speed up this part of the listing process.

I'd like to cut out the work between scanning and entering the image filename into the system. At the moment I tend to do it in batches (recording purchases, listing, then scanning/image resizing/image upload). This means I'm handling stock multiple times and wasting time every time. I'd like to change to a handle-the-item-once process (record purchase, list and scan at the same time, with the image resizing automated).

The system would need to collect the image from the scanner, resize it, then feed it to IH2 for upload - a one-click process from the collect_info page. The current browse-for-a-file process would have to remain too as some books will have to be photographed - they're just too big for my scanner! An A3 scanner is being hunted for ...

Does anyone have any hints or tips for accessing a TWAIN compliant USB scanner directly from the image section of the collect_info page? I'm using IH2, so I'm asking the question in this thread as I assume most of the required software changes will be in the IH2 code.

One possibility is that I need to do some work on my PC (Windows XP SP2) to add the scanner to the file browser control? Perhaps this will complete most of the task ...

Any thoughts?

5 Jan 2008, 7:14 PM
#2091
deepsouthfishing avatar

deepsouthfishing

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

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

Ive been using IH2 with this particular store front since it was setup several weeks back. Ive been adding products thruout with no problems.
Earlier today, I had added several more new products with additional images, but suddenly while im still adding products im getting this error now when trying to add the additional errors.
No changes were made to cart or settings of any kind. In fact I had just previously added an item and now get this error...

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

Ive tried clearing cookies, cache etc... to no avail.
Running v3.8 and IH2
you can find the store at ...
DeepSouth Fishing Rodeo

Thanks in advance if anyone has any insight or has seen this before.
Thanks
Bill

5 Jan 2008, 8:10 PM
#2092
saminshah avatar

saminshah

New Zenner

Join Date:
Dec 2007
Posts:
15
Plugin Contributions:
0

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

Hello Everybody,
IH 2 working fine with me except one thing. Any one tell me how to display additional images with it. I am uploading three images with IH2 but it displays only one .

Please help me out and thanks in advance

Samin

http://laroyal.net

5 Jan 2008, 10:07 PM
#2093
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

I have just realized that while IH2 does add the watermark to my category images, it does not resize them. Is it supposed to? If not, anyone know how I might add that function?

6 Jan 2008, 5:04 AM
#2094
mewell avatar

mewell

New Zenner

Join Date:
Oct 2007
Location:
Lakewood, CO
Posts:
28
Plugin Contributions:
0

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

ADMIN - PLEASE NOTE! I've copied the following from my site review post at http://www.zen-cart.com/forum/showthread.php?t=83862&page=2 since I wasn't able to edit/remove the post there. If someone could please remove that one I'd appreciate it!

I've been playing with Admin/Images in an effort to get my New Products image size larger. I've succeeded in doing so but now find that Image Handler's pop-ups are the same size as the image the are supposed to be enlarging :bigups:

The site is https://www.remarkablepens.com

Here are my Images settings now:

Small Image Width                                             160
Small Image Height                                            128         
Heading Image Width - Admin                                    57         
Heading Image Height - Admin                                   40         
Subcategory Image Width                                       200         
Subcategory Image Height                                      114         
Calculate Image Size                                         true         
Image Required                                               true         
Image - Shopping Cart Status                                    1         
Image - Shopping Cart Width                                    50         
Image - Shopping Cart Height                                   40         
Category Icon Image Width - Product Info Pages                 57         
Category Icon Image Height - Product Info Pages                40         
Top Subcategory Image Width                                   150         
Top Subcategory Image Height                                   85         
Product Info - Image Width                                    180         
Product Info - Image Height                                   144         
Product Info - Image Medium Suffix                           _MED         
Product Info - Image Large Suffix                            _LRG         
Product Info - Number of Additional Images per Row              3         
Image - Product Listing Width                                 160         
Image - Product Listing Height                                160         
Image - Product New Listing Width                             100         
Image - Product New Listing Height                             80         
Image - New Products Width                                    160         
Image - New Products Height                                   128        
Image - Featured Products Width                               100         
Image - Featured Products Height                               80         
Image - Product All Listing Width                             100         
Image - Product All Listing Height                             80         
Product Image - No Image Status                                 1         
Product Image - No Image picture                      picture.gif         
Image - Use Proportional Images on Products and Categories      1         
IH resize images                                              yes         
IH watermark small images                                      no         
IH small image filetype                                 no_change         
IH zoom small images                                          yes         
IH small image background                             255:255:255         
IH small image hotzone                                         no         
IH small image compression quality                             85         
IH watermark medium images                                     no         
IH zoom medium images                                         yes         
IH medium image hotzone                                        no         
IH medium image filetype                                no_change         
IH medium image compression quality                            85         
IH medium image background                            255:255:255         
IH watermark large images                                      no         
IH large image compression quality                             85         
IH large image filetype                                 no_change         
IH large image background                             255:255:255         
IH large image maximum width                                  750         
IH large image maximum height                                 550         
IH watermark gravity                                       Center         
IH zoom gravity                                         SouthEast

Can someone point me in the right direction here?

Thanks,
Mark

6 Jan 2008, 5:58 AM
#2095
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

mewell:

ADMIN - PLEASE NOTE! I've copied the following from my site review post at http://www.zen-cart.com/forum/showthread.php?t=83862&page=2 since I wasn't able to edit/remove the post there. If someone could please remove that one I'd appreciate it!

I've been playing with Admin/Images in an effort to get my New Products image size larger. I've succeeded in doing so but now find that Image Handler's pop-ups are the same size as the image the are supposed to be enlarging :bigups:

The site is www.remarkablepens.com

Here are my Images settings now:

Small Image Width 160
Small Image Height 128
Heading Image Width - Admin 57
Heading Image Height - Admin 40
Subcategory Image Width 200
Subcategory Image Height 114
Calculate Image Size true
Image Required true
Image - Shopping Cart Status 1
Image - Shopping Cart Width 50
Image - Shopping Cart Height 40
Category Icon Image Width - Product Info Pages 57
Category Icon Image Height - Product Info Pages 40
Top Subcategory Image Width 150
Top Subcategory Image Height 85
[B] Product Info - Image Width 180
Product Info - Image Height 144 [/B]
Product Info - Image Medium Suffix _MED
Product Info - Image Large Suffix _LRG
Product Info - Number of Additional Images per Row 3
Image - Product Listing Width 160
Image - Product Listing Height 160
Image - Product New Listing Width 100
Image - Product New Listing Height 80
Image - New Products Width 160
Image - New Products Height 128
Image - Featured Products Width 100
Image - Featured Products Height 80
Image - Product All Listing Width 100
Image - Product All Listing Height 80
Product Image - No Image Status 1
Product Image - No Image picture picture.gif
Image - Use Proportional Images on Products and Categories 1
IH resize images yes
IH watermark small images no
IH small image filetype no_change
IH zoom small images yes
IH small image background 255:255:255
IH small image hotzone no
IH small image compression quality 85
IH watermark medium images no
IH zoom medium images yes
IH medium image hotzone no
IH medium image filetype no_change
IH medium image compression quality 85
IH medium image background 255:255:255
IH watermark large images no
IH large image compression quality 85
IH large image filetype no_change
IH large image background 255:255:255
IH large image maximum width 750
IH large image maximum height 550
IH watermark gravity Center
IH zoom gravity SouthEast

> 
> Thanks,
> Mark

The size of the pop-up is dependent on these settings:

** Product Info - Image Width                                    180         
 Product Info - Image Height                                   144   **
6 Jan 2008, 5:59 AM
#2096
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

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

gothstone:

I have just realized that while IH2 does add the watermark to my category images, it does not resize them. Is it supposed to? If not, anyone know how I might add that function?

It does resize them, but only if the image actually needs resizing ...

Options are under Configuration :: Images

6 Jan 2008, 6:21 AM
#2097
deepsouthfishing avatar

deepsouthfishing

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

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

DeepSouthFishing:

Ive been using IH2 with this particular store front since it was setup several weeks back. Ive been adding products thruout with no problems.
Earlier today, I had added several more new products with additional images, but suddenly while im still adding products im getting this error now when trying to add the additional errors.
No changes were made to cart or settings of any kind. In fact I had just previously added an item and now get this error...

Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')

Ive tried clearing cookies, cache etc... to no avail.
Running v3.8 and IH2
you can find the store at ...
DeepSouth Fishing Rodeo

Thanks in advance if anyone has any insight or has seen this before.
Thanks
Bill

Any help would be greatly appreciated. Our whole store is on hold till I or someone willing to help can figure this out. Were moving this request to the commercial help section as well.
Cant upload any additional pics suddenly.
Thanks

6 Jan 2008, 6:28 AM
#2098
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

testuser:

It does resize them, but only if the image actually needs resizing ...

Options are under Configuration :: Images

I played some more and realized that if I manualy upload to the directory, it will put the large (not the meduim that I want) watermark on it, but not resize it. It I do it nicely through the admin it will resize it, but not watermark it. If I leave my old category images up it does not resize them, and they were already watermarked. For now I'm going through by hand and uploading watermarked images throught the admin.

6 Jan 2008, 6:32 AM
#2099
gothstone avatar

gothstone

Zen Follower

Join Date:
Jun 2005
Posts:
330
Plugin Contributions:
0

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

DeepSouthFishing:

Ive been using IH2 with this particular store front since it was setup several weeks back. Ive been adding products thruout with no problems.
Earlier today, I had added several more new products with additional images, but suddenly while im still adding products im getting this error now when trying to add the additional errors.
No changes were made to cart or settings of any kind. In fact I had just previously added an item and now get this error...

Ive tried clearing cookies, cache etc... to no avail.
Running v3.8 and IH2
you can find the store at ...
DeepSouth Fishing Rodeo

Thanks in advance if anyone has any insight or has seen this before.
Thanks
Bill

This was answered in this thread on 25th July 2007, 01:39 PM
Change the name of the file you are uploading. Don't use spaces or anything within 2 keys of the enter button and you should be fine.

6 Jan 2008, 1:10 PM
#2100
deepsouthfishing avatar

deepsouthfishing

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

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

Thanks Gothstone, could have sworn I had skimmed thru, musta went too fast.
DeepSouth Fishing Rodeo