Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2008
    Posts
    55
    Plugin Contributions
    0

    Default image handler 2 issue

    I downloaded and installed the Image Handler 2 files and the application works great as far as uploading, sizing, etc. However, when I go to the store and try the changes...

    ...pictures are there, but when mouse over the image in the "center box" for "New Products" it drops the whole page down about an inch (including the "header" and shows the "pop-up" pic in the top space that has been created with the mouse over?!?!? Have searched the threads, and either it isn't listed or I am just an idiot and missed the correct thread. Can anyone make a suggestion?
    Thanks in Advance.

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: image handler 2 issue

    Url of your site is?
    Without looking at actual problem you quote,
    impossible to advise.

  3. #3
    Join Date
    Jan 2008
    Posts
    55
    Plugin Contributions
    0

    Default Re: image handler 2 issue

    Like I said...the Idiot thing and all. Anway, I have installed this into a primary store where I am running into these difficulties, I installed into a test store and that one actually works properly. Not sure where the mix up happened.

    http://www.wreckerequip.com/2008_catalog

    Thanks Again in advance

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: image handler 2 issue

    Image Handler2 is working fine BUT
    you have not added
    /style_imagehover.css
    to your current template

  5. #5
    Join Date
    Mar 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: image handler 2 issue

    I am having a big headache right now, I try to install image handler. But after i install it. I couln't log in my admin . Could some body help?
    Here is my link: 8import.com/Store/admin/index.php.
    The file of index is like that:

    <?php
    /**
    * index.php represents the hub of the Zen Cart MVC system
    *
    * Overview of flow
    * <ul>
    * <li>Load application_top.php - see {@tutorial initsystem}</li>
    * <li>Set main language directory based on $_SESSION['language']</li>
    * <li>Load all *header_php.php files from includes/modules/pages/PAGE_NAME/</li>
    * <li>Load html_header.php (this is a common template file)</li>
    * <li>Load main_template_vars.php (this is a common template file)</li>
    * <li>Load on_load scripts (page based and site wide)</li>
    * <li>Load tpl_main_page.php (this is a common template file)</li>
    * <li>Load application_bottom.php</li>
    * </ul>
    * @package general
    * @copyright Copyright 2003-2005 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: index.php 2942 2006-02-02 04:41:23Z drbyte $
    */

    /**
    * Load common library stuff
    */
    require('includes/application_top.php');

    $language_page_directory = DIR_WS_LANGUAGES . $_SESSION['language'] . '/';
    $directory_array = $template->get_template_part($code_page_directory, '/^header_php/');
    foreach ($directory_array as $value) {
    /**
    * We now load header code for a given page.
    * Page code is stored in includes/modules/pages/PAGE_NAME/directory
    * 'header_php.php' files in that directory are loaded now.
    *<!-- BEGIN LIVECHAT button tag. See also www.######################.com -->
    <table border='0' cellspacing='0' cellpadding='0'><tr><td align='center'> <img src="http://server.######################.net/licence/1011718/button.cgi?lang=en&groups=0"
    style="cursorointer;cursor:hand" onclick= "window.open('http://server.######################.net/licence/1011718/open_chat.cgi?groups=0'+
    '&s=1&lang=en&dc='+escape(document.cookie+';l='+document.location+';r='+
    document.referer+';s='+typeof lc_session),'Chat_1011718', 'width=604,height=247,resizable=no,scrollbars=no,status=1');"/></td></tr>
    <tr><td align='center'><a href='http://www.######################.com' style='text-decoration:none' target='_blank'><font face='Tahoma' size='1' color='#333333'>Live Chat</font></a><font face='Tahoma' size='1' color='#475780'> Software for Business</font></td></tr></table>
    <!-- END LIVECHAT button tag. See also www.######################.com -->

    <!-- BEGIN LIVECHAT track tag. See also www.######################.com --> <script language="JavaScript"
    src="http://server.######################.net/licence/1011718/script.cgi?lang=en&groups=0"></script>
    <!-- END LIVECHAT track tag. See also www.######################.com -->
    */
    require($code_page_directory . '/' . $value);
    }
    /**
    * We now load the html_header.php file. This file contains code that would appear within the HTML <head></head> code
    * it is overridable on a template and page basis.
    * In that a custom template can define its own common/html_header.php file
    */
    require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php');
    /**
    * Define Template Variables picked up from includes/main_template_vars.php unless a file exists in the
    * includes/pages/{page_name}/directory to overide. Allowing different pages to have different overall
    * templates.
    */
    require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php');
    /**
    * Read the "on_load" scripts for the individual page, and from the site-wide template settings
    * NOTE: on_load_*.js files must contain just the raw code to be inserted in the <body> tag in the on_load="" parameter.
    * Looking in "/includes/modules/pages" for files named "on_load_*.js"
    */
    $directory_array = $template->get_template_part(DIR_WS_MODULES . 'pages/' . $current_page_base, '/^on_load_/', '.js');
    foreach ($directory_array as $value) {
    $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value;
    $read_contents='';
    $lines = @file($onload_file);
    foreach($lines as $line) {
    $read_contents .= $line;
    }
    $za_onload_array[] = $read_contents;
    }
    /**
    * now read "includes/templates/TEMPLATE/jscript/on_load/on_load_*.js", which would be site-wide settings
    */
    $directory_array=array();
    $tpl_dir=$template->get_template_dir('.js', DIR_WS_TEMPLATE, 'jscript/on_load', 'jscript/on_load_');
    $directory_array = $template->get_template_part($tpl_dir ,'/^on_load_/', '.js');
    foreach ($directory_array as $value) {
    $onload_file = $tpl_dir . '/' . $value;
    $read_contents='';
    $lines = @file($onload_file);
    foreach($lines as $line) {
    $read_contents .= $line;
    }
    $za_onload_array[] = $read_contents;
    }

    // set $zc_first_field for backwards compatibility with previous version usage of this var
    if (isset($zc_first_field) && $zc_first_field !='') $za_onload_array[] = $zc_first_field;

    $zv_onload = "";
    if (isset($za_onload_array) && count($za_onload_array)>0) $zv_onload=implode(';',$za_onload_array);

    //ensure we have just one ';' between each, and at the end
    $zv_onload = str_replace(';;',';',$zv_onload.';');

    // ensure that a blank list is truly blank and thus ignored.
    if (trim($zv_onload) == ';') $zv_onload='';
    /**
    * Define the template that will govern the overall page layout, can be done on a page by page basis
    * or using a default template. The default template installed will be a standard 3 column layout. This
    * template also loads the page body code based on the variable $body_code.
    */
    require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php');
    ?>
    </html>
    <?php
    /**
    * Load general code run before page closes
    */

    ?>

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: image handler 2 issue

    That's an index.php file from your storefront, not the admin.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Mar 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: image handler 2 issue

    ok, yea, you are right. Finally I used a backup store to fix it.
    Thanks

 

 

Similar Threads

  1. Image Handler 2 Security issue?
    By Shane78 in forum All Other Contributions/Addons
    Replies: 22
    Last Post: 26 Jul 2010, 04:54 PM
  2. Image display issue for preview with image handler, please help
    By bengalliboy in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 16 May 2010, 06:34 PM
  3. Is this a database issue? Additional image-handler images not showing
    By crabdance in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 14 Oct 2009, 12:28 AM
  4. Image Handler 2 Issue
    By CRYSTALDOLL in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 12 Sep 2009, 02:41 PM
  5. Image handler 2 addtional image issue.
    By shackle in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 24 Mar 2008, 06:51 AM

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