Page 121 of 169 FirstFirst ... 2171111119120121122123131 ... LastLast
Results 1,201 to 1,210 of 1685
  1. #1201
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: products_image_large equivalent

    Thank you so much for your input. It's all way above my head so I'll have to stick with copying files over until someone shares product info zoom with IH4.

  2. #1202
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: products_image_large equivalent

    Quote Originally Posted by nipinuk View Post
    Thank you so much for your input. It's all way above my head so I'll have to stick with copying files over until someone shares product info zoom with IH4.
    The code of: http://www.zen-cart.com/showthread.p...52#post1263152
    Is based on the downloadable product image zoom from the downloads section. What I had to do to get that "program" to work or force it to work was to move the javascript files out of their special little directory and place them with the other jscript files just off of the template's main folder. I then prefixed the files to load I think with jscript_. There are less forceful ways to do this, but with those files loaded and the provided code for themain image, product image zoom does work.

    Now if you use the IH4 zoom on hover over small images feature then the code at: http://www.zen-cart.com/showthread.p...34#post1263234
    Would be more appropriate if the product's image (medium sized image) is the same as both the small image and the large image, or if the large image is relatively repesentative of the product image being displayed.

    Other than that, I can't see why more questions aren't asked instead of surrendering to doing more work than is necessary to run your store.

  3. #1203
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: products_image_large equivalent

    Quote Originally Posted by mc12345678 View Post
    The code of: http://www.zen-cart.com/showthread.p...52#post1263152
    Is based on the downloadable product image zoom from the downloads section. What I had to do to get that "program" to work or force it to work was to move the javascript files out of their special little directory and place them with the other jscript files just off of the template's main folder. I then prefixed the files to load I think with jscript_. There are less forceful ways to do this, but with those files loaded and the provided code for themain image, product image zoom does work.

    Now if you use the IH4 zoom on hover over small images feature then the code at: http://www.zen-cart.com/showthread.p...34#post1263234
    Would be more appropriate if the product's image (medium sized image) is the same as both the small image and the large image, or if the large image is relatively repesentative of the product image being displayed.

    Other than that, I can't see why more questions aren't asked instead of surrendering to doing more work than is necessary to run your store.
    Looking at what I did to make this work, I see that I didn't follow the instructions of installing css/js loader... I thought the lasttime I did that, I got more than I wanted/needed... Needless to say atthat time I uninstalled the application, until I would find a must need for it and as necessary keep/omit the aspects I wanted to have. Seems like it would accomplish the loading of the javascript to apply to the product(s) as necessary based on the auto_loader cll, though if you use a product type other than just product, the autoloder would have to be modified to apply to each applicable product type used/to which to apply the product image zoom code.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #1204
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: products_image_large equivalent

    Sorry I was feeling completely overwhelmed! I'm looking at it again as you're right, I shouldn't just surrender so quickly :)

    Here's what I've done and where I got stuck
    1. move the following files from includes/templates/mytemplate/jscript/jquery to includes/templates/mytemplate/jscript
    jquery.elevateZoom-3.0.8.min.js
    jquery_product_image_zoom.js
    jquery-1.10.2.min.js

    2. 'prefixed the files to load I think with jscript_' - I got stuck here. How would you prefix the files to load? I tried looking into the script of the files mentioned but don't know which line or file to ammend. Which file/s would I need to ammend?

    I just read your latest post. I need CSS JS Loader as I'm using the Fast and Easy Checkout plugin. I don't think I'll be using any other product type other than just product thank goodness!

    Thank you for all your help mc12345678

  5. #1205
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: products_image_large equivalent

    Quote Originally Posted by nipinuk View Post
    Sorry I was feeling completely overwhelmed! I'm looking at it again as you're right, I shouldn't just surrender so quickly :)

    Here's what I've done and where I got stuck
    1. move the following files from includes/templates/mytemplate/jscript/jquery to includes/templates/mytemplate/jscript
    jquery.elevateZoom-3.0.8.min.js
    jquery_product_image_zoom.js
    jquery-1.10.2.min.js

    2. 'prefixed the files to load I think with jscript_' - I got stuck here. How would you prefix the files to load? I tried looking into the script of the files mentioned but don't know which line or file to ammend. Which file/s would I need to ammend?

    I just read your latest post. I need CSS JS Loader as I'm using the Fast and Easy Checkout plugin. I don't think I'll be using any other product type other than just product thank goodness!

    Thank you for all your help mc12345678
    From what it seems like (ie, following the instructions which includes loading CSS/JS loader) then steps 1 and 2 above would be unnecessary. But, if not using that, then in step 2, the prefixing of the files is to rename the file so that it begins with jscript_ so jquery-1.10.2.min.js would become jscript_jquery-1.10.2.min.js. That said, caution should be taken to not have jquery load multiple times or under multiple versions... Otherwise some quirky things can happen/load time is increaased, errors etc... CSS/JS loader tries to minimize that by loading only the desired jquery files applicable to the situation/condition met in the autoloaders file(s).

    Glad though that there is progress... As Diva pointed out there is one additional snippet of. code needed to control the display of the zoomed image according to the images->zoom on small image hover setting. A "partial" solution has been provided I apologize that I did not fully incorporate all aspects into a single snippet of code yet. The above code for using product image zoom will be active regardless of that setting, though still the image that will be presented on hover of the medium sized image (product image) will be the large size image. For general use of IH4 this doesn't make a difference, but for those that use IH4 to store two or three different images for a single "product", this code will display the large image as stored in the database/on the server.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #1206
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: products_image_large equivalent

    Quote Originally Posted by mc12345678 View Post
    So, dropped the product image zoom version of the above. Instead went with incorporating the existing zoom functionality of IH4, which I know Diva you dislike... :)
    I dislike it because it's a silly feature which really has little to do with IH4's PRIMARY purpose, and for that reason I have despised it's inclusion in IH.. That said, I know folks like it including some of my own clients.. **SHRUGS**

    Quote Originally Posted by mc12345678 View Post

    The above does not require any additional switch to turn on/off the zoom functionality as it is auto controlled when it comes to the builtin zoom functionality.
    and this ASSUMES that one would want to turn on image hover on both small and medium images.. that may NOT be the desired behavior.. Hence why I suggested that there be a configuration option for turning on/off zoom on medium images..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #1207
    Join Date
    Oct 2005
    Location
    Hampshire, UK
    Posts
    96
    Plugin Contributions
    0

    Default Re: products_image_large equivalent

    Thank you so much mc12345678! There is definitely progress indeed! I've deleted all my images in the images/large directory - hurrah!

    Here's temporary link to my test site to show it working: http://tinyurl.com/nolf24y

    I have more than one image per product. I currently use the additional images hover to display the additional images in the main product image area. Ideally I would like to be able to click on the little additional product image, display it in main product image area and be able to zoom in on the product. Then I won't need to use zen colorbox and additional images hover plugins. If this is beyond the scope of this thread, do let me know!

    Relevant plugins used: IH4, zen colorbox, product image zoom, css js loader, additional images hover

    Template used: westminster_new by Anne from picaflor-azul

    File ammended (thanks to mc12345678 ) - includes/templates/westminster_new/templates/tpl_modules_main_product_image.php. Contents of file as follows:
    Code:
    <?php
    /**
     * Module Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2011 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_modules_main_product_image.php 18698 2011-05-04 14:50:06Z wilt $
     */
    ?>
    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); 
    /* Begin add 1 of 2 by mc12345678 to support product image zoom */
    if ($products_image != '') {
     if (function_exists('handle_image')) {
      $newimg = handle_image($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, '');
      list($src, $alt, $width, $height, $parameters) = $newimg;
      $products_image_large_test = zen_output_string($src);
      if (file_exists($products_image_large_test)) {
       $products_image_large = $products_image_large_test;
      }
     } 
    }
    /* End add 1 of 2 by mc12345678 to support product image zoom 14-10-31*/
     ?> 
    <div id="productMainImage" class="centeredContent back">
    <script language="javascript" type="text/javascript"><!--
    document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image(addslashes($products_image_medium), addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT,/* Begin add 2 of 2 by mc12345678 14-10-31*/ (file_exists($template->get_template_dir('loader_product_image_zoom.php',DIR_WS_TEMPLATE, 'auto_loaders','auto_loaders'). 'loader_product_image_zoom.php') ? 'data-zoom-image="' . $products_image_large . '"' : '') /* End add 2 of 2 by mc12345678 14-10-31*/) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
    //--></script>
    <noscript>
    <?php
      echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </noscript>
    </div>
    Last edited by nipinuk; 3 Nov 2014 at 04:19 PM.

  8. #1208
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default v4.3.3 in beta.. Soon to be released..

    New version of IH4 coming out which FINALLY (Thanks/credit to balhir) gets rid of those ugly MD5 hash file names.. NO OTHER updates in this release.. but given that this has been asked for repeatedly over the years, I think this is a pretty BIG change.

    See what the new image URL's will look like here: http://overthehillweb.com/shop/bmz_cache/z/zc4wp.png.image.550x432.png

    The new file naming convention in this release breaks down like this:
    Actual file name
    Filetype
    Dimension


    This should encourage shop owners to create image file names which are MUCH more meaningful, and it means that shop owners will need to implement file naming structures which follow proper file naming standards. (i.e. no file names with spaces in them or file names with invalid characters)

    Needs to be tested.. I have been using this for MONTHS with no issues.. However both I and my clients do not engage in poor file naming practices, and I've not tested this when the file names include spaces or invalid characters.

    See: https://github.com/DivaVocals/zen_Image-Handler
    Last edited by DivaVocals; 12 Nov 2014 at 11:44 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #1209
    Join Date
    Nov 2012
    Location
    Utrecht, Nederland
    Posts
    41
    Plugin Contributions
    0

    Default Re: v4.3.3 in beta.. Soon to be released..

    Yes!! I'm going to download the beta version :-D Thank you for putting so much effort in this community!

  10. #1210
    Join Date
    Mar 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    I have repeatedly followed the instructions for an install of IH4 for the last 4 days. I'm totally missing something. I change the name to my admin name I FTP the files over that are not the same name and use WinMerge to merge the files that are. Every time I try to start up I get a white screen instead of an Admin Login. I've tried to be in Admin then do the FTP of files as well but when I click on something I get the white screen. I'm clueless at this point in time. What could I possibly be doing wrong?

    Please help me. the only blog I found that's like my problem gave no real response as to what he did to fix it and instead said "I got it"

 

 

Similar Threads

  1. v158 Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 592
    Last Post: 12 Apr 2024, 09:06 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 24 Aug 2020, 05:07 PM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 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