Results 1 to 6 of 6
  1. #1
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default Where are MEDIUM_IMAGE_WIDTH, etc are defined?

    Where are MEDIUM_IMAGE_WIDTH, etc values are defined?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default 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!

  3. #3
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

    Quote Originally Posted by 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 ).

  5. #5
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Where are MEDIUM_IMAGE_WIDTH, etc are defined?

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

    Quote Originally Posted by harmeet
    I want to find out where these are initialized to 100x100
    Ajeh 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.

 

 

Similar Threads

  1. Where are the email variables defined
    By rhodesengr in forum General Questions
    Replies: 1
    Last Post: 7 Feb 2008, 09:27 PM
  2. Where do I find proper files where constants are defined?
    By joshuwaj in forum General Questions
    Replies: 17
    Last Post: 18 Jan 2008, 05:28 AM
  3. Where are buttons defined
    By miweb in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 31 Jul 2007, 01:58 PM
  4. Where are things defined?
    By brownsgreens in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Oct 2006, 10:51 PM
  5. Uncertain where zones are defined.....
    By distanceDemon in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 14 Sep 2006, 09:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg