Page 358 of 710 FirstFirst ... 258308348356357358359360368408458 ... LastLast
Results 3,571 to 3,580 of 7099
  1. #3571
    Join Date
    Jan 2009
    Posts
    59
    Plugin Contributions
    1

    Default Re: Image Handler 2 Support

    >Had have trouble with 16bit/32bit png files.
    Interesting - but I'm using the samples included with the contrib. Will throw in loads of tracing to see where it is falling over.

    K

  2. #3572
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Hi All,
    I would like to change the size of my additional images without changing the size of the small images site wide.

    In the includes/templates/mytemp/templates/additional_images.php from row 84-95 there is this
    PHP Code:
      for ($i=0$n=$num_images$i<$n$i++) {
        
    $file $images_array[$i];
        
    $products_image_large str_replace(DIR_WS_IMAGESDIR_WS_IMAGES 'large/'$products_image_directory) . str_replace($products_image_extension''$file) . IMAGE_SUFFIX_LARGE $products_image_extension;
        
    $flag_has_large true;//file_exists($products_image_large);
        
    $products_image_large = ($flag_has_large $products_image_large $products_image_directory $file);
        
    $flag_display_large = (IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE == 'Yes' || $flag_has_large);
        
    $base_image $products_image_directory $file;
        
    $thumb_slashes zen_image($base_imageaddslashes($products_name), SMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT);
        
    // remove additional single quotes from image attributes (important!)
        
    $thumb_slashes preg_replace("/([^\\\\])'/"'$1\\\''$thumb_slashes);
        
    $thumb_regular zen_image($base_image$products_nameSMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT);
        
    $large_link zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL'pID=' $_GET['products_id'] . '&pic=' $i '&products_image_large_additional=' $products_image_large); 
    I changed the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT in both locations in this file to HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT.

    It works fine but it also breaks IH2 small image handling. They no longer pop up on hover.

    I also tried SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2

    This works too but once again. . . broken IH2.


    How can I do this without breaking the IH2?

    Thanks in Advance,
    John

  3. #3573
    Join Date
    Apr 2006
    Location
    Hong Kong
    Posts
    27
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    I have fixed the problem of the broken page in the index now i have got another issue which is the category products do not open in the IH format. There si no resizing.
    Please let me know why.
    Thank you

  4. #3574
    Join Date
    Apr 2006
    Location
    Hong Kong
    Posts
    27
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Please tell me how can i have the IH function work even on the products page under categories.
    Please advice. Tophand is actually one of the best people that supports this thread thank you very much for what you do. You deserve all the best from us.

  5. #3575
    Join Date
    Mar 2006
    Posts
    283
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Yes, thank you .

  6. #3576
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Bump. . .

  7. #3577
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by asiaradiosales View Post
    Please tell me how can i have the IH function work even on the products page under categories.
    Please advice. Tophand is actually one of the best people that supports this thread thank you very much for what you do. You deserve all the best from us.
    Good work! Your site loads a lot faster and looks great with the fixes.

    Not sure what your are asking, post a link to the problem page.
    But I'm thinking you need to make size adjustment for product listing.
    Admin-->Config-->Images

  8. #3578
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by bumba000 View Post
    Hi All,
    I would like to change the size of my additional images without changing the size of the small images site wide.

    In the includes/templates/mytemp/templates/additional_images.php from row 84-95 there is this
    PHP Code:
      for ($i=0$n=$num_images$i<$n$i++) {
        
    $file $images_array[$i];
        
    $products_image_large str_replace(DIR_WS_IMAGESDIR_WS_IMAGES 'large/'$products_image_directory) . str_replace($products_image_extension''$file) . IMAGE_SUFFIX_LARGE $products_image_extension;
        
    $flag_has_large true;//file_exists($products_image_large);
        
    $products_image_large = ($flag_has_large $products_image_large $products_image_directory $file);
        
    $flag_display_large = (IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE == 'Yes' || $flag_has_large);
        
    $base_image $products_image_directory $file;
        
    $thumb_slashes zen_image($base_imageaddslashes($products_name), SMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT);
        
    // remove additional single quotes from image attributes (important!)
        
    $thumb_slashes preg_replace("/([^\\\\])'/"'$1\\\''$thumb_slashes);
        
    $thumb_regular zen_image($base_image$products_nameSMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT);
        
    $large_link zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL'pID=' $_GET['products_id'] . '&pic=' $i '&products_image_large_additional=' $products_image_large); 
    I changed the SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT in both locations in this file to HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT.

    It works fine but it also breaks IH2 small image handling. They no longer pop up on hover.

    I also tried SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2

    This works too but once again. . . broken IH2.


    How can I do this without breaking the IH2?

    Thanks in Advance,
    John
    I'm not a coder.
    But might look at how the main image is called on the product info page.

  9. #3579
    Join Date
    Jan 2007
    Posts
    14
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Hi friends,

    Great script, I had it working Ok for a few days, but somehow the images are not bieng zoomed on the main page in the center columns of New, specials, featured products etc.

    The zoom is workimg fine in all the scroll side boxes.
    It does not work on the category pages, but it does work on the additional images on the product info page.

    Just in case it helps, the zoom sign "+" is also not showing, it used to show earlier

    I've cleared the cache... and also uploaded all the files again, but no change, please help

    Thanks

  10. #3580
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by roshlin View Post
    Hi friends,

    Great script, I had it working Ok for a few days, but somehow the images are not bieng zoomed on the main page in the center columns of New, specials, featured products etc.

    The zoom is workimg fine in all the scroll side boxes.
    It does not work on the category pages, but it does work on the additional images on the product info page.

    Just in case it helps, the zoom sign "+" is also not showing, it used to show earlier

    I've cleared the cache... and also uploaded all the files again, but no change, please help

    Thanks
    If you want that function for those areas then your settings
    (Admin-->Config-->Images) need to match for what you for...
    Code:
    Small Image Width 
    Small Image Height
    Info for this is already posted in this thread.

 

 

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. 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
  3. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM
  4. Image handler only covers part of screen
    By shaneburton in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 May 2009, 07:15 PM
  5. Is Image Handler the only way to go?
    By wwwursa in forum Installing on a Windows Server
    Replies: 2
    Last Post: 23 Dec 2007, 09:22 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