Forums / General Questions / Where are MEDIUM_IMAGE_WIDTH, etc are defined?

Where are MEDIUM_IMAGE_WIDTH, etc are defined?

Locked

Views: 3,372

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 May 2006, 7:06 PM
#1
harmeet avatar

harmeet

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
0

Where are MEDIUM_IMAGE_WIDTH, etc are defined?

Where are MEDIUM_IMAGE_WIDTH, etc values are defined?

12 May 2006, 12:52 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

Look in the Configuration ... Images Settings ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

12 May 2006, 2:04 PM
#3
harmeet avatar

harmeet

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
0

Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

I meant which file they are defined in? Or if it is read from database, which file has the calls made to database. I did file search on entire tree and can't find it.

Thanks

12 May 2006, 2:23 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

harmeet:

I meant which file they are defined in?
Log in to Admin.
Select Developers Tool Kit from the Tools menu.
Enter MEDIUM_IMAGE_WIDTH into the bottom left hand input box and All Files Catalog/Admin into the drop down menu next to it. Press select and it should give you the six places that it is referenced.

(Though I am puzzled as to how you would use this info :dontgetit).

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

12 May 2006, 2:33 PM
#5
harmeet avatar

harmeet

New Zenner

Join Date:
May 2006
Posts:
30
Plugin Contributions:
0

Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

I see only 4 locations!! Same like in My Computer! It is only referenced in these 4 locations but where is it initialized?

My problem is that when I clike on "larger image" link it shows me a popup window with 100x100 dimensions and the image also is 100x100. The actual image is much larger and is 500x500. This is very annoying. I looked through the code and and found a javascript code used to load these popups is hard coded with MEDIUM_IMAGE_WIDTH and MEDIUM_IMAGE_HEIGHT. I want to find out where these are initialized to 100x100 and why such small value is used for "larger image"??

THanks

12 May 2006, 2:52 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

harmeet:

I see only 4 locations!!I see a couple of extras because I have the near standard Image Handler add-in installed.

harmeet:

I want to find out where these are initialized to 100x100Ajeh answered this above. In Admin, select images from the Configuration menu and you can do all sorts of things to your image sizes. Install Image Handler and it will makes uploading and handling image sizes trivial.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)