Page 12 of 31 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 304
  1. #111

    Default

    NB. As mentioned earlier, you can’t set the dimensions of the large image in ZC – not in 1.2.1d anyway – but it will display at the dimensions you upload it, although you may have to tweak the javascript file for the pop-up window to open at the size you want. The file you need to edit is /includes/modules/pages/product_info/jscript_main.php. In the function popupWindow(url) change width= and height= to your sizes. (You can also decide whether or not you want scrollbars by setting scrollbars=no or scrollbars=yes.) Then save the file to includes/modules/YOUR_TEMPLATE/pages/product_info/
    Hi-
    I'm still having difficulty getting my images uploaded and working properly. I have them saved as jpg even though they are not photographs. They are images that I have created in Paint Shop Pro and originally saved as bmp then resaved as jpg. They are 179x290 or smaller. I have enlarged them for the large size to be 350 high. The original size I'm using for the _MED and I resized them smaller to be 80 wide.

    I'm following the tutorial ad quoted above where he says the file to edit /includes/modules/pages/product_info/jscript_main.php. When I downloaded that file and tried to edit it, there is nothing at all in it. So what else am I supposed to do to get the _LRG to enlarge. They still just come up to the same size as on the product info page.

    I'd really appreciate some more help on this....guess I'm just a little dense. This is all really new to me.
    smilie

    Mellany ::frust
    [FONT="Comic Sans MS"][/FONT]
    Mellany M
    www.mellmaxknits.com

  2. #112
    Join Date
    Feb 2006
    Posts
    308
    Plugin Contributions
    0

    Default

    hello maellany...the jscript_main.php is as follows in 1.3.01

    Code:
    <?php
    //
    // +----------------------------------------------------------------------+
    // |zen-cart Open Source E-commerce                    |
    // +----------------------------------------------------------------------+
    // | Copyright (c) 2003 The zen-cart developers              |
    // |                                   |
    // | http://www.zen-cart.com/index.php                  |
    // |                                   |
    // | Portions Copyright (c) 2003 osCommerce                |
    // +----------------------------------------------------------------------+
    // | This source file is subject to version 2.0 of the GPL license,    |
    // | that is bundled with this package in the file LICENSE, and is    |
    // | available through the world-wide-web at the following url:      |
    // | http://www.zen-cart.com/license/2_0.txt.               |
    // | If you did not receive a copy of the zen-cart license and are unable |
    // | to obtain it through the world-wide-web, please send a note to    |
    // | license AT zen-cart DOT com so we can mail you a copy immediately.     |
    // +----------------------------------------------------------------------+
    // $Id: jscript_main.php 1969 2005-09-13 06:57:21Z drbyte $
    //
    ?>
    <script language="javascript" type="text/javascript"><!--
    function popupWindow(url) {
     window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
    }
    function popupWindowPrice(url) {
     window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,screenX=150,screenY=150,top=150,left=150')
    }
    //--></script>
    hth...if not you may have the original in a the first download you made of zencart

    good luck :)

  3. #113

    Default

    thanks for the reply. I still can't get it to do the _LRG as the large photos. Can someone look at it and see if the can tell what I'm doing wrong, or not doing that I should be doing ::frust

    MellmaxKnits

    thanks so much in advance
    Mellany
    [FONT="Comic Sans MS"][/FONT]
    Mellany M
    www.mellmaxknits.com

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

    Default

    Did you change something related to images in any way?

    Here is hoppy easter in the product listing:

    http://www.mellmaxknits.com/images/medium/...yBasket_MED.jpg

    This should be using the small image in:

    http://www.mellmaxknits.com/imagesEasterBu...BunnyBasket.jpg

    Then going to the product _info page you see:

    http://www.mellmaxknits.com/images/medium/...yBasket_MED.jpg

    While that is the correct image, I am wondering if you have the medium image in the database vs the small image ... if so, when you click the large image it will not be found so it will load the _MED image as it is currently thinking that is the base image ...

    To check, either go to phpMyAdmin and browser your products table for products_id 9 and see what you have in the products_image field ... or go to the Admin and edit the product and see what you see is listed as its products_image
    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: v1.5.5]
    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!

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

    Default

    Note: you also are using spaces in your image filename ...

    This is not a good idea on images or filenames etc. as it can cause unexpected issues on the code ...
    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: v1.5.5]
    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!

  6. #116

    Default

    I tried to do what I have read as far as putting the small image in via the browser when you are entering the individual product information; however when I click on the browse button to get the drop down box to select the file there was no "images" listed..only medium and large. So I think I probably put them in the medium. Are they supposed to go in the one called "main directory". If so, that is very confusing to have all the tutorials calling it images when it isn't.....anyway to me it is confusing.

    I'll fix any of the file names so they don't have spaces and try uploading one of the small images to the main directory and see if that do the trick

    In config/images I have the width at 80 and height for 0 for all but the product info and that is set at 179 wide and 0 high. Calculate image size is true and at the bottom "Use proportional images in products and catalogs is set to 1"

    Thanks for your reply

    Mellany
    [FONT="Comic Sans MS"][/FONT]
    Mellany M
    www.mellmaxknits.com

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

    Default

    You should have in the dropdown: Main Directory

    This is referring to the /images directory
    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: v1.5.5]
    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!

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

    Default

    Note: the pattern is ...

    /images (You'd see Main Directory in the dropdown)
    /images/medium
    /images/large

    /images/somedirectory (You'd see somedirectory in the dropdown)
    /images/medium/somedirectory (You need to make this)
    /images/large/somedirectory (You need to make this)
    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: v1.5.5]
    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!

  9. #119

    Default

    Hoooooorayyy!!!! I put the small bunny image into the main directory and it worked great. Thank you sooooo much.

    Mellany ::tup
    [FONT="Comic Sans MS"][/FONT]
    Mellany M
    www.mellmaxknits.com

  10. #120

    Default

    Originally posted by Ajeh@Apr 24 2006, 12:15 PM
    Note: the pattern is ...

    /images (You'd see Main Directory in the dropdown)
    /images/medium
    /images/large

    /images/somedirectory (You'd see somedirectory in the dropdown)
    /images/medium/somedirectory (You need to make this)
    /images/large/somedirectory (You need to make this)
    sorry, I didn't read your post before my last one. So what you are saying is that I need to make a folder of my own inside "images" and also inside medium and large? My template is called melknits...should I make a folder named that for everything that I make a change too for customizing?

    Mellany
    [FONT="Comic Sans MS"][/FONT]
    Mellany M
    www.mellmaxknits.com

 

 
Page 12 of 31 FirstFirst ... 2101112131422 ... LastLast

Similar Threads

  1. v151 Zen image preparation 3 (small, medium, large) images folder?
    By gsmsalers in forum General Questions
    Replies: 4
    Last Post: 4 Oct 2013, 05:01 PM
  2. v150 How do I swap main product image with an attribute image?
    By bazza_87 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 May 2012, 08:30 AM
  3. how to modify the image SRC for image-handler images?
    By jason1116 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 2 Sep 2009, 01:00 PM
  4. Preparation advice for upgrade v1.3.7.1 to 1.3.8a
    By Computer Candy in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 19 Feb 2008, 11:07 PM
  5. Replies: 2
    Last Post: 21 Dec 2007, 09:59 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR