Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / HOW-TO: Image Preparation

HOW-TO: Image Preparation

Sticky

Views: 268,211

Results 121 to 140 of 304
24 Apr 2006, 18:02
#121
ajeh avatar

ajeh

Oba-san

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

HOW-TO: Image Preparation

You have a choice ...

You can use the default pattern of:

/images
/images/medium
/images/large

Or, if you like, you can make your own directories based on your image sorting needs and use subdirectories ... some need them some do not ... such as a custom pattern for:

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

As long as you follow the pattern, either method works ...

24 Apr 2006, 18:20
#122
knitlady avatar

knitlady

New Zenner

Join Date:
Apr 2006
Posts:
59
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

ok, great---thanks so very much for all your help!!

Mellany

24 Jul 2006, 04:11
#123
reuben avatar

reuben

New Zenner

Join Date:
Apr 2005
Location:
Traralgon
Posts:
51
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

But can you do this?

/images/your_own_directory/your_own_subdirectory
/images/medium/your_own_directory/your_own_subdirectory
/images/large/your_own_directory/your_own_subdirectory

For example, I wish to keep images from each manufacturer separate, but also each major product line from each manufacturer separate.

Reuben

25 Jul 2006, 04:43
#124
ajeh avatar

ajeh

Oba-san

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

Re: HOW-TO: Image Preparation

Currently ... Zen Cart is setup just for the /images or /images/something

We will be looking into this in a future release ...

25 Jul 2006, 09:12
#125
reuben avatar

reuben

New Zenner

Join Date:
Apr 2005
Location:
Traralgon
Posts:
51
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

Ok thanks.
Appreciate it.

Reuben

20 Aug 2006, 19:14
#126
oxygensmith avatar

oxygensmith

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

My big question is this: how can you get the system to understand you want your small & medium images to be "gif," and a jpg for the large image? It seems to me a lot of stores wouldn't want 8k or 10k jpgs displayed on their category overview pages, but .gifs that represent the product (e.g. a bumpersticker design for the small image, and the bumpersticker as it actually looks on a car).

I have to say... I think this is a pretty silly way to have to do things, and unnecessarily confuses new people. I spent 2 hours futzing with this just to get it going, when it should be handled by having extra fields on the product management form.

If this was set up sensibly,

  • There would simply be three fields, one for the small, medium, and large images.
  • There would be additional image fields if you need to display more than one image for a product per page.
  • The user could then set up their image directories however they wanted.
  • Image management would be immediately apparent.

Nevertheless, I'm focussed on the "how to do a small/med gif and large jpeg" question, rather than this mini-rant. Has anyone had this dilemma?

After having read through the posts in this thread, here's the process I now use to work the images on the site:

If you already have the product category folders set up, skip to step 7.

  1. create a subfolder (named after the category of product is useful, but not necessary) in the main 'images' directory, if it doesn't exist.
    2a. create the directory 'large' in the main 'images' directory, if it doesn't exist.
    2b. in this 'large' directory, create a subfolder with the same name as the one in step 1.
    3a. create the directory 'medium' in the main 'images' directory, if it doesn't exist.
    3b. in this 'medium' directory, create a subfolder with the same name as the one in step 1

  2. make sure the permissions for all these directories you've created are set to 777.

  3. in image > configuration, make sure the option "calculate image size is turned on."

  4. in your image editing program of choice, create the images necessary for your projects, at the large size. shrink them down to make the medium and small images, adding light "sharpening" if necessary before saving them. Make sure your large size images are all the same size, and there should be uniformity among the medium and small size images as well.

  5. the filenames of the medium and large images must be identical to the small image, except:

  • the medium version of the image must be named:
    filename_MED.jpg
  • the large version of the image must be named:
    filename_LRG.jpg
  1. with FTP/Dreamweaver, upload the large images to the folder:
    images/large/subdirectory

  2. with FTP/Dreamweaver, upload the medium images to the folder:
    images/medium/subdirectory

  3. Go to the Zen Cart product manager. In the product info page for each product, aim the field with the "browse" button to the correct file (for that product) in images/subdirectory — the "small" image. Upload it with "preview", and it will become the product image, and then "update."

  4. the system will correctly point to the medium and large images as necessary.

For workflow purposes, upload everything first with FTP, and then go back through existing products to guide them to the small image.

20 Aug 2006, 20:43
#127
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: HOW-TO: Image Preparation

Or you could install Image-Handler 2 which I believe allows you to use different file-types for different sizes - but check out the documentation first (http://www.breakmyzencart.com)

20 Aug 2006, 21:30
#128
oxygensmith avatar

oxygensmith

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

Ryk:

Or you could install Image-Handler 2 which I believe allows you to use different file-types for different sizes - but check out the documentation first (http://www.breakmyzencart.com)

Hey Ryk, thanks for responding. I was just looking at Image-Handler 2.

However, I'm also trying to find about a plug-in(?) called Zen Magic (?) which allows more than one product image per product; e.g. one can have 3 medium-sized images per product (to accommodate different views of the product, for example.)

Would you know anything about this Zen Magic? I'm just trying to install something'll work for this crew...

Thanks again!

20 Aug 2006, 22:10
#129
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: HOW-TO: Image Preparation

You can have as many additional images as you want - it's built in to the system. Read up on image base name...and I think you may have been misled by the phrase "ZenMagic" which was coined by the dev team to explain some of the things that this cart is capable of! :D

20 Aug 2006, 22:14
#130
oxygensmith avatar

oxygensmith

New Zenner

Join Date:
Jun 2006
Posts:
4
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

Ryk:

You can have as many additional images as you want - it's built in to the system. Read up on image base name...and I think you may have been misled by the phrase "ZenMagic" which was coined by the dev team to explain some of the things that this cart is capable of! :D

wait — additional images in ZenCart, or additional images with the support of Image Handler?

Thanks!

21 Aug 2006, 00:11
#131
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: HOW-TO: Image Preparation

In ZenCart - look up additional images!

03 Sep 2006, 16:57
#132
milkyway avatar

milkyway

Inactive

Join Date:
Aug 2006
Location:
Singapore
Posts:
167
Plugin Contributions:
1

Re: HOW-TO: Image Preparation

I can't read the whole pages of discussion yet, but Ryk, your tutorial surely helps lot of people... even for designer themselves.

Thanks

03 Sep 2006, 22:32
#133
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: HOW-TO: Image Preparation

Thank you very much - bear in mind that if you use Image Handler, all you need worry about is creating a single good quality image at your largest size (I would recommend max width 750px or max height 550px to avoid any scrolling issues) at a sensible filesize...after that, IH does the rest!

24 Dec 2006, 19:41
#134
awk_grep avatar

awk_grep

New Zenner

Join Date:
Dec 2006
Location:
Dallas,TX
Posts:
98
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

Hello..... I am very very new to zencart.... and I am trying to setup my shop..https://www.andrefood.com..... I need some help with the config. Also... Where do I start for the forms and pages? Where is my first page? I have the database made ... now I want to start working with templates but where do I start? may I ask for some help .. plz..

[email protected]

05 Jan 2007, 06:43
#136
tombenson2 avatar

tombenson2

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

Ryk

Your original posting and follow up discussions were superb! You have made my day!!! Can't thank you enough.

Cheers!!

Tom

05 Jan 2007, 08:04
#137
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: HOW-TO: Image Preparation

tombenson2:

Ryk

Your original posting and follow up discussions were superb! You have made my day!!! Can't thank you enough.

Cheers!!

Tom

Thank you - and to thank me, when you're up and running, set up a regular donation to the ZenCart dev team (of which I am NOT a member! :D ) as a way of thanks to the whole community.

06 Jan 2007, 05:35
#138
tombenson2 avatar

tombenson2

New Zenner

Join Date:
Jan 2007
Posts:
8
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

Will Do! Thanks!

09 Jan 2007, 22:10
#139
trickyireland avatar

trickyireland

New Zenner

Join Date:
Nov 2006
Posts:
19
Plugin Contributions:
0

Re: HOW-TO: Image Preparation

hi everyone,

I really need to fix my image issues!
I have followed the instructions in this tutorial, i have images in the following locations

shop/images/img1.jpg
shop/images/medium/img1_MED.jpg
shop/images/large/img1_LRG.jpg

Unfortunatly all of my pictures are being selected from the root images directory.
The only thing i can think of is i use Easy Populate to bulk upload my products & i specify the image name within the program.

Would this cause a problem? if so i can direct my issue to the developers of easy populate to see if they can support it.
If Easy populate should not cause an issue, could someone please visit my site and root around and maybe tell me if its something silly.

I appreciate the help, thanks again!

09 Jan 2007, 22:41
#140
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: HOW-TO: Image Preparation

could someone please visit my site and root around and maybe tell me if its something silly.

A bit tricky, Tricky, without an address! :wink2: