Thanks so much for the help...
Thanks so much for the help...
Hi yellow1912,
For updating jqlightbox, which file(s) do we overwrite with a new version?
thanks!
Also, there is a new version of jqlightbox and jqzoom which address the issue of watermark not working for IH2 available for download.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
I updated image handler jzoom and jquery lightbox but still no watermark shows up. Uninstalled ih and reinstalled via admin. Cleared image cache. What else can I check?
Live and learn... the Zen way.
You will have to check if the image being used is really ih2 created image. Link should look like this bmz_cache/a/e.....
I cant tell unless I see your site.
Edit: I can confirm that this product is using ih2 image:
http://www.mydanilo.com/fish/fish-ta...ropical-yellow
So if the watermark does not show here, you will have to recheck your ih2 settings. Because the reason is: in previous version, jqzom and lightbox did not use images created by ih2, they use the original images instead, so no wonder the watermark does not show. Now that they already use ih2 images, and if watermark still does not show that has nothing to do with the 2 javascript modules. You should recheck your ih2 setting perhaps?
Last edited by yellow1912; 25 Mar 2009 at 05:32 PM.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
Settings in IH for watermark are activated. What IH file was now modified that takes care of the watermark? I want to check if I use the right file online. Where would the watermark file need to be placed? Still like before like /images/large/watermark_LRG.png ? That's what I have...
Live and learn... the Zen way.
No IH2 file was modified in this package, if that is the question you want to ask.
Also, your site is loading the correct image that it should, I dont know why watermark is not there though, you may want to try clearing ih2 image cache via ih2 admin?
Also, turn of jqzoom and see if the normal image show with watermarks as well.
You can see on my demo page here:
working:
http://demo.rubikintegration.com/jqz...products_id=12
not working:
http://demo.rubikintegration.com/jqz...products_id=47
I believe there is some kind of rule IH2 requires us to follow, thich Im not exactly sure at the moment lol. Gotta run now but I will check back later.
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
looking at the files from the update and comparing them to my current files, i can only find two files changed.
1) additional_images
add
change:Code:if(!defined('LARGE_IMAGE_MAX_WIDTH')) define('LARGE_IMAGE_MAX_WIDTH', MEDIUM_IMAGE_WIDTH); if(!defined('LARGE_IMAGE_MAX_HEIGHT')) define('LARGE_IMAGE_MAX_HEIGHT', MEDIUM_IMAGE_HEIGHT);
2) tpl_modules_main_product_imageCode:$script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . '<a href="'. zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_MAX_WIDTH, LARGE_IMAGE_MAX_HEIGHT) . '" class="'.$css_class.'">' . $thumb_slashes . '</a>\')'. "\n" . '//--></script>';
change:
and change:Code:document.write('<a href="<?php echo zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_MAX_WIDTH, LARGE_IMAGE_MAX_HEIGHT);?>" id="jqzoomMain"<?php if (JQLIGHTBOX_STATUS == 'true') echo ' class="jqlightbox"';?>><?php echo zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT);?></a>');
but when i make that addition and those changes, it breaks the page...???Code: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>';
Exactly how does it break the page?
I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me
it's weird.... the entire page disappears (images, attributes, etc) and i can't figure out why. everything looks correct. unless i missed a change in one of the other files...