Page 149 of 169 FirstFirst ... 4999139147148149150151159 ... LastLast
Results 1,481 to 1,490 of 1685
  1. #1481
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by DivaVocals View Post
    The Github repo is updated for ZC 1.5.5.
    Since I want to use IH with a fresh install of ZC 1.5.5a, which version of IH should I use? I have not used IH before.
    I noticed on the Image Handler 4 for v1.5.x Plugin page, it says, "Zen Cart Versions v1.5.0, v1.5.1"
    I'm guessing this is the link to the updated for ZC 1.5.5 version at Github https://github.com/DivaVocals/zen_Image-Handler you are referring to.

    Should I use the version on the ZC Plugin page or should I use the version at Github?

    Thanks so much!

  2. #1482
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by Zean View Post
    Since I want to use IH with a fresh install of ZC 1.5.5a, which version of IH should I use? I have not used IH before.
    I noticed on the Image Handler 4 for v1.5.x Plugin page, it says, "Zen Cart Versions v1.5.0, v1.5.1"
    I'm guessing this is the link to the updated for ZC 1.5.5 version at Github https://github.com/DivaVocals/zen_Image-Handler you are referring to.

    Should I use the version on the ZC Plugin page or should I use the version at Github?

    Thanks so much!
    Based on the recent posts, the github version would be the one to use even with ZC 1.5.5.a.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #1483
    Join Date
    May 2009
    Posts
    186
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by mc12345678 View Post
    Based on the recent posts, the github version would be the one to use even with ZC 1.5.5.a.
    Yes, that is what I am inclined to think as well. However, the README.md in the Github version says . . .
    ## This is a development version of Image Handler v4.3.4 only
    #### If you are looking to install the latest version from zencart please visit [this page](http://www.zen-cart.com/downloads.php?do=file&id=1380)

    So, I'm wondering what that implies, if anything, concerning which version I should use for ZC 1.5.5?

  4. #1484
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by Zean View Post
    Yes, that is what I am inclined to think as well. However, the README.md in the Github version says . . .
    ## This is a development version of Image Handler v4.3.4 only
    #### If you are looking to install the latest version from zencart please visit [this page](http://www.zen-cart.com/downloads.php?do=file&id=1380)

    So, I'm wondering what that implies, if anything, concerning which version I should use for ZC 1.5.5?
    So, generally speaking "storage" locations such as github are used to support development. IH4 for more recent versions hasn't been packaged up by anyone (and truly anyone can do this) for distribution on the ZC site. If you were to wander back in this thread, I think there are statements about how the currently available ZC version has issues working with more recent versions of ZC. Further, understand that just about everything you see here has been provided/maintained by someone that is willing and able to sustain it. What that means in part is that sometimes instructions/links/etc... may not be fully up-to-date. That said, a live person (the recent long-term maintainer of this plugin) has stated that the github version is good for zc 1.5.5.

    Another thing about it all, you could always test things out on your development server/location. You have one of those don't you? Somewhere you can test and try things before applying to your live site?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #1485
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    I'm using the git one, and so far so good.
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  6. #1486
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    zc 1.5.5a IH4 4.3.2, now github update for 1.5.5

    When I updated my live site to zc 1.5.5a I lost the images that appear in admin/tools/IH4(4.3.2) - the small imgs that appear when you add extra images to your product. I updated my wamp test site first and did not encounter this problem. I uninstalled IH4 from test site, and installed IH4.4 most recent github file set. No problems. Did same with live site and the no small img on admin page persists.

    The images all show properly in the store, and on the admin page the names of the files added show, just not the actual image.

    I confirmed that the small image exists in the bmz cache folder. And looking at the source code for the IH admin page in live site, compared to test site - everything is identical except the img file names and folders that are specific to each. I was using the .htaccess file that was in the 4.3.2 file set, and now the updated version.

    Could this be a permissions issue? And/or any idea which folders I would look at. Or does this sound like some other issue?

    Name:  screenshot-server10 camelot-hosting com 2016-05-18 10-21-52.jpg
Views: 137
Size:  14.3 KB

  7. #1487
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    If you view the source of the page, what does the path look like for your image(s)? (remember to obscure your admin directory if it is included.)

    Also, may want to post your admin/includes/configure.php obscuring your dB credentials and admin directory if present.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #1488
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by mc12345678 View Post
    If you view the source of the page, what does the path look like for your image(s)? (remember to obscure your admin directory if it is included.)
    Code:
    <!-- Start Photo Display -->
    
    
        <h4>
          Product: #287&nbsp;&nbsp;Aloe Vera 27  S      <br />Model: SN102709A          </h4>
        <table border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td valign="top">
        <table border="0" width="100%" cellspacing="0" cellpadding="2">
        <tr class="dataTableHeadingRow">
          <td class="dataTableHeadingContent">Image name</td>
          <td class="dataTableHeadingContent">File Type</td>      <td class="dataTableHeadingContent" align="center">Default size</td>
          <td class="dataTableHeadingContent" align="center">Medium size</td>
          <td class="dataTableHeadingContent" align="center">Large size</td>
          <td class="dataTableHeadingContent" align="right">Action&nbsp;</td>
        </tr>
    
    <tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='https://serverxx.camelot-hosting.com/xxxxxxx/xxxxxxx/image_handler.php?products_filter=287&amp;imgName=MN102709A&amp;action=layout_info'">
        
          <td class="dataTableContent">MN102709A</td>
          <td class="dataTableContent">.JPG</td>
          <td class="dataTableContent" align="center" valign="top">
            <img src="/bmz_cache/m/m-mn102709ajpgimage200x191jpg.image.50x47.JPG" border="0" alt="Aloe Vera 27  S" title=" Aloe Vera 27  S " width="50" height="47"><br />        200x191<br /><strong>7.65Kb</strong>      </td>
          <td class="dataTableContent" align="center" valign="top">
            <img src="/bmz_cache/m/m-mn102709ajpgimage300x287jpg.image.50x47.JPG" border="0" alt="Aloe Vera 27  S" title=" Aloe Vera 27  S " width="50" height="47"><br />300x287<br /><strong>14.08Kb</strong><br />      </td>
          <td class="dataTableContent" align="center" valign="top">
            <img src="/bmz_cache/m/m-mn102709ajpgimage574x550jpg.image.50x47.JPG" border="0" alt="Aloe Vera 27  S" title=" Aloe Vera 27  S " width="50" height="47"><br />574x550<br /><strong>41.84Kb</strong><br />      </td>
          <td class="dataTableContent" align="right"><a href="https://serverxx.camelot-hosting.com/xxxxxxx/xxxxxxxxx/image_handler.php?products_filter=287&amp;imgName=MN102709A&amp;action=layout_info"><img src="images/icon_info.gif" border="0" alt="Info" title=" Info "></a>&nbsp;</td>
        </tr>
      </table></td><!-- END Photo list table -->

    Also, may want to post your admin/includes/configure.php obscuring your dB credentials and admin directory if present.
    Code:
    /**
     * Enter the domain for your Admin URL. If you have SSL, enter the correct https address in the HTTP_SERVER setting, instead of just an http address.
     */
    define('HTTP_SERVER', 'https://serverxx.camelot-hosting.com/xxxxxxx');
    /**
     * Note about HTTPS_SERVER:
     * There is no longer an HTTPS_SERVER setting for the Admin. Instead, put your SSL URL in the HTTP_SERVER setting above.
     */
    
    /**
     * Note about DIR_WS_ADMIN
     * The DIR_WS_ADMIN value is now auto-detected.
     * In the rare case where it cannot be detected properly, you can add your own DIR_WS_ADMIN definition below.
     */
    
    /**
     * Enter the domain for your storefront URL.
     * Enter a separate SSL URL in HTTPS_CATALOG_SERVER if your store supports SSL.
     */
    define('HTTP_CATALOG_SERVER', 'https://serverxx.camelot-hosting.com/xxxxxxxxx');
    define('HTTPS_CATALOG_SERVER', 'https://serverxx.camelot-hosting.com/xxxxxxxx');
    
    /**
     * Do you use SSL for your customers login/checkout on the storefront? If so, enter 'true'. Else 'false'.
     */
    define('ENABLE_SSL_CATALOG', 'true');
    
    /**
     * These DIR_WS_xxxx values refer to the name of any subdirectory in which your store is located.
     * These values get added to the HTTP_CATALOG_SERVER and HTTPS_CATALOG_SERVER values to form the complete URLs to your storefront.
     * They should always start and end with a slash ... ie: '/' or '/foldername/'
     */
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    
    /**
     * This is the complete physical path to your store's files.  eg: /var/www/vhost/accountname/public_html/store/
     * Should have a closing / on it.
     */
    define('DIR_FS_CATALOG', '/home/xxxxxxxxxx/public_html/');
    
    /**
     * NOTE about DIR_FS_ADMIN
     * The value for DIR_FS_ADMIN is now auto-detected.
     * In the very rare case where there is a need to override the autodetection, simply add your own definition for it below.
     */
    
    /**
     * The following settings define your database connection.
     * These must be the SAME as you're using in your non-admin copy of configure.php
     */
    define('DB_TYPE', 'mysql'); // always 'mysql'
    define('DB_PREFIX', 'xxxx'); // prefix for database table names -- preferred to be left empty
    define('DB_CHARSET', 'utf8'); // 'utf8' or 'latin1' are most common
    define('DB_SERVER', 'localhost');  // address of your db server
    define('DB_SERVER_USERNAME', 'xxxxxxxxx');
    define('DB_SERVER_PASSWORD', 'xxxxxxxxx');
    define('DB_DATABASE', 'xxxxxxxxxx');
    
    /**
     * This is an advanced setting to determine whether you want to cache SQL queries.
     * Options are 'none' (which is the default) and 'file' and 'database'.
     */
    define('SQL_CACHE_METHOD', 'none');
    
    /**
     * Reserved for future use
     */
    define('SESSION_STORAGE', 'reserved for future use');
    
    /**
     * Advanced use only:
     * The following are OPTIONAL, and should NOT be set unless you intend to change their normal use. Most sites will leave these untouched.
     * To use them, uncomment AND add a proper defined value to them.
     */
    // define('DIR_FS_SQL_CACHE' ...
    // define('DIR_FS_DOWNLOAD' ...
    // define('DIR_FS_LOGS' ...
    
    // End Of File
    My bmz_cache and images folders are permission set as in IH4 faq on this forum.

    MY test site, which works properly, is WAMP, not ssl; Live site is SSL. I have a mod - Admin Photos (twitch) installed on test and live. There is a merge with IH4 admin/incl/mods/category_prod_listing. The merges were clearly indicated and they place nice on test site. Only other merge involved is additional images as per the IH4 readme for using with Colorbox.

  9. #1489
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    On your "test" server is it also setup to have a subdirectory within the HTTP_SERVER and secure version of the same?

    I'm thinking that the code in the image_handler.php file which references using DIR_WS_CATALOG where in your case is setup as / but is acting like /xxxxxxxx/ is possibly causing this issue.

    Might suggest modifying line say line 752 of image_handler.php for you from:
    Code:
     echo zen_image(DIR_WS_CATALOG . $preview_image, addslashes($pInfo->products_name), $width, $height) . '<br />';
    To:
    Code:
     echo zen_image('/xxxxxx' . DIR_WS_CATALOG . $preview_image, addslashes($pInfo->products_name), $width, $height) . '<br />';
    Where '/xxxxxx' is the "hidden" portion of your uri in the admin/includes/configure.php.

    Might have a better solution later if that is successful. Preferably one that doesn't require any further editing.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #1490
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Image Handler 4 Support Thread

    So I posted that knowing I had more to write. Haven't had a chance to see the effect, but there are a couple of things at play here. One is that it seems generally speaking and it's been a while since I was told this but there is/was a suggestion that for both secure and not the DIR_WS_ portion of the catalog ought to be the same. As well base ZC is written to handle those two being different. IH4 appears to use the fact that they match whatever follows the base domain name. At the same time ZC admin hasn't used a base html tag so that's a factor. Then any image to be displayed could also use the full uri applying the applicable server constant, but the "correct" one has to be evaluated so that one doesn't get mixed content errors.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

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