Totally Zenned
- Join Date:
- May 2006
- Location:
- Texas
- Posts:
- 554
- Plugin Contributions:
- 2
Image Handler 2 (for ZC v1.3.8 ONLY) Support
^^ thats the link i'm talking about.. just got a little lazy and didnt look around for it. Thanks for the link man
Views: 2,510,545
Totally Zenned
^^ thats the link i'm talking about.. just got a little lazy and didnt look around for it. Thanks for the link man
New Zenner
thanks :), Great help guys I solved the problem with the JS error by uploading the new file set to the site.
spottedhaggis: I switched so it displays 3 items per row works perfect..so now the next step where exactly in the CSS file should I look?
New Zenner
Anyone happen to know why I am still getting js errors?
It driving me nuts.
Here is the error.
Error: syntax error
Source File: http://2210media.com/zen_test/index.php?main_page=product_info&products_id=2
Line: 1, Column: 91
Source Code:
showtrail('bmz_cache/d/d4022f016994ac24e76848e7ed32b960.image.400x300.jpg','Porche',100,75,,,this,89,64,11,11);
```Its this little part right here. Where are the extra ,'s coming from?
100,75,,,this
I have the latest patched install, the latest zen cart version, and this addtion does not work out of the box, period. :no: I'm about to scrap this whole thing...
New Zenner
I just found this contrib and had a question about installation. In the directions it said to merge tpl_main_page.php contents with your current template. Maybe I don't understand the overrides system enough, but it seems that the body tag would get messed up if I put the ID and onLoad in place of what's in my template. Would anyone explain how I can do this properly? Thanks!
Image Handler
<body id="popupAdditionalImage" class="centeredContent" onLoad="resize();">
<div>
<?php
// $products_values->fields['products_image']
echo '<a href="javascript:window.close()">' . zen_image($_GET['products_image_large_additional'], $products_values->fields['products_name'] . ' ' . TEXT_CLOSE_WINDOW) . '</a>';
?>
</div>
</body>
```MyTemplate
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
```Thanks in advance!
Wil
New Zenner
Solved my own questions. Installed without changing the file. One more small issue which I do not think has to do with the main_page file. Whenever I hover an image, the product name does not appear in the zoombox. I'll continue looking around, but any help would be great. Thanks.
New Zenner
Fixed my zoombox issue, I had to decrease the padding on the box. I guess it was being pushed outside of the area.
Wil
New Zenner
Hello,
have a fresh install of ZW 1.3.6, and have downloaded IH2 from the contrib section here (version 2 for 1.35)
after I copy all the files, but my admin index and main site index show up blank..no errors just a blank white page...
I've reloaded it twice and am getting the same results....
did some searching and am not finding any obvious solutions - anyone have an idea as to what the problem might be?
thanks!
Totally Zenned
Corys8646:
Hello,
have a fresh install of ZW 1.3.6, and have downloaded IH2 from the contrib section here (version 2 for 1.35)after I copy all the files, but my admin index and main site index show up blank..no errors just a blank white page...
I've reloaded it twice and am getting the same results....
did some searching and am not finding any obvious solutions - anyone have an idea as to what the problem might be?
thanks!
ensure every single file gets uploaded.. your host may have error reporting off which is why you don't get info on the blank page. some FTP programs upload parts of files but never get around to doing the whole file.. i use FileZilla for all of mine and it hasn't failed me yet
if that still doesn't work.. redownload the contribution from the downloads section and upload a fresh one.. could be a bad archive download too
Inactive
I was wondering if there was a way to remove the watermark from certain images?
I have a category that's laid out differently using CSS than all other product categories. The products under this category will have 2 large images - the second is an "additional image". It's about 550px in width, and to get it to show up on the page, I had to name it the same name as the product image + _01_LRG. When I did that, the image showed up as it should - but here's a watermark over it. It also has the script with the hover attribute added to that image.
So I'm wondering if there's a way to remove the script and watermark from additional images in a particular category? I'm not afraid to hack code if I must - but I'd need to know where to look for it. Any help would be appreciated.
Zen Follower
This is such a long thread and didn't see if this was already covered. Apologies if it is.
This is really a great mod, however as it is resizing images "on the fly" I have found a good way of making it quick. In Configuration >> Images
Set the size of your images close as possible to the image as it appears on the site. So when your images load, right click and check their size. Then change your images size in config as close to these values as possible. I use the following
Image - Width 85
Image - Height 75
Zen Follower
I posted a couple messages regarding Additional Images popping up the default product image instead of the additional image, but I may have posted in the wrong thread -- so with apologies to anyone who may have seen this already, I detailed my problem in the Upgrading to 1.3.6 section. I'm just hoping to hear a viable suggestion for how to link Additional image thumbnails with their large-image popup counterparts. (Currently I get the product's default image popup whenever an Additional image thumbnail is clicked.)
Thanks in advance,
Sean Prónay
Inactive
Well, I've come to the conclusion (after further reading) that IH2 can't make specific changes to certain images - it's an "all or nothing" kind of thing.
So, I've come to a conclusion (and I'll share it, in case anyone else needs to know) - basically we are now putting the extra images for our products within the product description. We are sticking in a hard-coded link that goes directly to the image itself, and bypasses the IH2 program. That way, we can still have all others with the watermark, and the ones we don't just are called in individually.
Yeah, makes for a lot of extra work, but that's where the Easy Populate comes in handy :)
Zen Follower
Yeah, I can see where trying to designate specific images for watermarks would call for either hard-coded links in the product description or a lot of custom programming. Probably not much call for that feature.
As for the question of how to make additional image thumbnails display the correct large image when clicked (with Zen-Cart 1.3.6), I'm still working on that one. Haven't heard any ideas or suggestions yet, so I guess I'll try re-installing IH2 and hope for some improvement. :mellow:
Zen Follower
I'm having trouble with this mod. I have installed it on two of my websites (fresh 1.3.6 Zencart installs). There is a border around all my images that I cannot get rid of. See an example on a product listing page : http://www.netjuggler.net/diabolos-diabolos-c-2_3.html
I get the same problem on the product page :
http://www.netjuggler.net/circus-p-5.html
I think this problem is relative to this mod.
What should I modify to get rid of this border and border colour. I know where to change the colour as it comes from my css :
a:link, a:visited {
color: #7f7f7f;
text-decoration: none;
padding:0px;
margin:0px;
border:none;
}
That is the only place in my css that this colour is used. And for some reason it's being applied to image border as well as to text. How do I get the link colour to only affect the text ? and most of all how do I get rid of the border on my images.
Any advice would be appreciated.
Thanks.
Zen Follower
Problem solution : Sorry for bothering you with this, this had nothing to do with the mod. It was my error. I found the solution, I had deleted the following bit of css from my stylesheet :
a img {border: none; }
Zen Follower
Just installed the 1.3.5 compatible IH2 on my zen-cart 1.3.6, and I'm happy to report the IH2 problem with additional image thumbnails popping the wrong image on click has gone away. Now, when you click the additional image thumbnail, the correct large image pops up.
Excellent contribution! :D
Inactive
I'm having a new issue -
I have no idea what happened. Everything was working just fine until yesterday. I've racked my brains trying to figure out why this started happening all of a sudden, and cannot figure out what's gone wrong.
Anyway, before, when you hovered over the smaller images, there would be a nice little "popup" of a larger image. For some reason, it's now not working. Instead, I get three javascript errors:
"showtrail is not defined"
"hidetrail is not defined"
"Error in parsing value for property 'cursor'. Declaration dropped."
These are all Firefox messages, by the way. When I view in IE, it gives me a little bit more information:
"Line 136, Char 1, error: object expected"
Now, I haven't touched the script. The only thing I did yesterday was work on the stylesheet, and I don't know how that would mess with the script. If any more information is needed, I'll be happy to post it - but would anyone know why this would be happening?
New Zenner
doodlebee:
I'm having a new issue -
I have no idea what happened. Everything was working just fine until yesterday. I've racked my brains trying to figure out why this started happening all of a sudden, and cannot figure out what's gone wrong.
Anyway, before, when you hovered over the smaller images, there would be a nice little "popup" of a larger image. For some reason, it's now not working. Instead, I get three javascript errors:
"showtrail is not defined"
"hidetrail is not defined"
"Error in parsing value for property 'cursor'. Declaration dropped."
These are all Firefox messages, by the way. When I view in IE, it gives me a little bit more information:
"Line 136, Char 1, error: object expected"
Now, I haven't touched the script. The only thing I did yesterday was work on the stylesheet, and I don't know how that would mess with the script. If any more information is needed, I'll be happy to post it - but would anyone know why this would be happening?
Welcome to my world. At least your getting help though. :no:
Inactive
doodlebee:
I'm having a new issue -
I have no idea what happened. Everything was working just fine until yesterday. I've racked my brains trying to figure out why this started happening all of a sudden, and cannot figure out what's gone wrong.
Anyway, before, when you hovered over the smaller images, there would be a nice little "popup" of a larger image. For some reason, it's now not working. Instead, I get three javascript errors:
"showtrail is not defined"
"hidetrail is not defined"
"Error in parsing value for property 'cursor'. Declaration dropped."
These are all Firefox messages, by the way. When I view in IE, it gives me a little bit more information:
"Line 136, Char 1, error: object expected"
Now, I haven't touched the script. The only thing I did yesterday was work on the stylesheet, and I don't know how that would mess with the script. If any more information is needed, I'll be happy to post it - but would anyone know why this would be happening?
Although you did not touch the script itself, and that is not where the problem is anyway, you do state that changes were made to the CSS file. As the script uses the CSS file and the errors seem to be CSS related, you should check and see what descriptors your CSS file has for:
showtrail - hidetrail - cursor
Inactive
As the script uses the CSS file and the errors seem to be CSS related, you should check and see what descriptors your CSS file has for:
showtrail - hidetrail - cursor
Well, I haven't touched the CSS file (on the items related to the Image Handler) since I first installed it and made my initial changes. My CSS work was involving the rest of the site. As I said, everything was working just fine until the other day.
Wait - your comment made me go check something - I decided to check my CSS stuff against the default template, and I found something interesting - the javascript file had been deleted from my server! I've just re-uploaded it and it's fine now.
Now I have to go have a talk with the client and tell them to stop messing with stuff on the server! Funny - they're the ones who complained it was "suddenly not working" - I didn't think that they'd actually deleted the file - and smack me for believing them when they said "No, we didn't do anything...". Sheesh. No wonder it wasn't working.
Thanks for making me check, Rob!
Fields marked required must be completed.
Tell staff why this post should be reviewed.