Zen Cart Logo
Forums / Customization from the Admin / extra images too small for image handler

extra images too small for image handler

Locked

Views: 6,301

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
3 Jun 2006, 4:35 AM
#1
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

extra images too small for image handler

Not sure if this is the right category, When adding additional images I dont want to use image handler, I choose NO under the options but zen still does it, what can I do to override this??

thanks.

3 Jun 2006, 5:37 AM
#2
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: extra images too small for image handler

Don't upload the images.

4 Jun 2006, 12:32 AM
#3
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

Re: extra images too small for image handler

You mean just FTP them?

4 Jun 2006, 12:55 AM
#4
timkroeger avatar

timkroeger

Totally Zenned

Join Date:
Feb 2005
Location:
Germany
Posts:
580
Plugin Contributions:
0

Re: extra images too small for image handler

I think you mean you don't want to have additional images resized, right? You can't disable image handler partly. The resizing happens on page request so if you want to prevent images from being resized, you need to do it on page request. Actually no resizing at all is happening when you upload images. Never. Why do you want to disable it for additional images? I can't think of any reason but that's just me and I'd really like to know.

If you really want to do this, have a look at /includes/extra_configures/bmz_image_handler_conf.php and you'll find two settings:

$ihConf['noresize_key']         = 'noresize';         //files which contain this string will not be resized
$ihConf['noresize_dirs']        = array('noresize', 'banners'); //images in directories with these names within the images directory will not be resized.

The first one means, you can add the noresize keyword to files you don't want to have resized. All you do is name your file e.g. flower_additional02_noresize.jpg (for a default image called flower.jpg) and your good. The second setting means you can upload the images to a noresize folder and the images won't be resized. You can only use the first way to prevent resizing in your case, because default and additional images need to be in the same folder.

Cheers,
Tim

4 Jun 2006, 2:44 AM
#5
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

Re: extra images too small for image handler

HI tim I dont want them resized because image manager makes them soooooooooooooooooo tiny. Thats why thank you I will try your suggestions.

4 Jun 2006, 3:14 AM
#6
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

Re: extra images too small for image handler

I tried this, I make a noresize folder in the images folder and it still resizes it. :no:

any other ideas?

4 Jun 2006, 3:26 AM
#7
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

Re: extra images too small for image handler

OK, It does work. I had to rename the jpg to a gif. But Its not the effect i need. I will have to keep playing with the images.

thank you very much.

4 Jun 2006, 4:14 AM
#9
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: extra images too small for image handler

Jewelrylady,

While I have not gone live with my 1.3+ upgrade yet, I have installed Tim's IH2. I uploaded file (.jpg) in the size I set for the Large images. I have the base image plus any additional images for that product. (If I wanted NO addtional images, I would never upload anything in the first place.)

Then, I use the admin for IH2 to set the file type and sizes for base, medium and large. I use

base = gif, 150x113, no watermark
medium = jpg, 200x150, no watermark
large = jpg, 500x375, with watermark.

I installed IH2 to get away from sorting out multiple sizes for each image. Usually, I have the base image plus 4 additional images. Now I load 5 images (500x375, jpg) and IH2 handles the resizing. Before, I loaded 15 images for the same product.

While the Flash image handler you mention is nice, isn't the zoom just a large image in a small box? What if you just resize from 300x200 to 600x400? That looks about the same 'zoom' as in the site you mention. IH2 does everything I need and is great mod.

You can control the size of your images. If you want small and medium to be the same can't you just do that in the admin? If you want a Flash image handler, let me know when you have finished the programming. I will be glad to beta test.

Best wishes.

4 Jun 2006, 4:49 PM
#10
jewelrylady avatar

jewelrylady

Totally Zenned

Join Date:
Sep 2005
Location:
ny
Posts:
434
Plugin Contributions:
0

Re: extra images too small for image handler

NO I want the zoom, plus it protects your images. I need a fancier option.

thanks.

4 Jun 2006, 10:26 PM
#11
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: extra images too small for image handler

I want the zoom,You are totally in control of the amount of zoom using IH2. The primary difference seems to be that IH2 shows the **entire **image while the Flash version you mention only shows **part **of the image. How is that better?

plus it protects your images. IH2 let's me customize the watermark for size and location. Further, I suspect with a little searching, you could figure out how to use Javascript to disable the right click and save option.

I need a fancier option. Best wishes on writing your code.