I'm getting convinced that all the time, we try to make a work around in IM for a disfunction somewhere else. ZC by default fixes missing large and even medium size images by adjusting the filename to a file that is present, with a lower resolution. Apparantly, darkbox doesn't make use of this ability. So I think the problem is there.
From the JS I cannot read (which may be my lack of knowledge of JS) what image name is passed to the script. Likely that is in the PHP code of the page.
Boudewijn Sjouke
http://www.chinesedingen.nl
I'm not sure how to do that. In any case it will affect the products information, which mentiones the filename of the image. Furthermore, I don't want to introduce an open rename method that enables you to rename anything to anything. So what rules should apply to a rename action?
Boudewijn Sjouke
http://www.chinesedingen.nl
Ok ... so ... what do I do?
I haven't altered any of the image links in regards to customizing ZC, other than whatever your addon alters. So I don't know why the popup link would be different than what it should be.
Right now, I'm replacing the Monthly Specials products as it is a new month, thus new products on special.
The first product I changed was the Laminate Conference Table and the popup image is fuzzy. And that was after completely deleting the original (previous product's) image and uploading the new product's image.
Just to clarify, I do not have a problem when uploading a product pic for the first time. But if I have to replace a product pic, that is when I have a problem with the fuzziness factor.
Last edited by beyre; 9 Apr 2012 at 03:05 PM.
Have vs 1.9 installed (ZenCart 1.5 store) and all works well but I have no "Delete File" option for resized Large images. I do notice that the Large image dimensions remain in red even after correctly resizing and Medium images (with delete option) are in black. Any ideas on why I have no Delete option for my Large images?
![]()
I think I've got this working with the additions of:
$images[$image]["large"]["delete_link"] = ($dirread[DIR_FS_CATALOG_IMAGES . "large/" . $p["dirname"]] == true && IMFileIsWriteable($filename_large) ? $partlink. "&actcnt=" . ($_SESSION["actcnt"] + 1) . "&IMaction=deletefile&filename=" . urlencode('large/' . $p["dirname"] . $p["filename"] . IMAGE_SUFFIX_LARGE . "." . $p["extension"]) . "\" onclick=\"return confirm('" . IM_CONFIRM_SINGLE_DELETE . "');\" />". IM_IMAGE_DELETE . "</a>" : "");
at line 358 of the function_image_manager.php file.
Please let me know if this is an acceptable solution or if this will cause other problems?
OK, just needed to get one of my original images with the txt extension, and changing it back to a jpg corrupted the image. Seems to happen with every transition from txt to jpg extension, but did not happen with the former bak extension. Is there a safe way to convert the txt back to a jpg, or is the change to a txt file for backup just always going to result in a corrupt image?
Hey ZCers,
just tried Image Manager 1.5 on my QA test system, and while it may work as it says, I have played with it for the better part of my morning and the admin UI I have to say is a bit lacking. I do not see the 'watermark' config that the readme talks about. So I'm stumbling in the dark and here's what i got working... WAIT... I just found it under the 'config/image manage' and will try again and get back to this post. : )
I've used a watermark (that HAS to be named 'watermark.png' which I did not see mentioned anywhere) that was 100px x 100px. which is relatively small but IM uses this image in an odd way. It is huge relatively, to my thumbnail and stays large relative to my medium and large images (which I use IM to auto resize). See below image.
I want to thank IM for creating this plugin, and want to encourage further development and refinement.
If anyone has any suggestions, please do share.
Thanks,
PM99
Last edited by pm99; 26 Jun 2012 at 06:02 PM.
Ok, I"m back and I've tried using the config panel for image manager, and I was extremely hopeful. But alas, fail. I got thouroughly confused as I tried changing my watermark image, but each time the watermark on the product image would not reflect the change. So i tried deleting the image and adding a new image, and voila, the watermarks are no longer there. I deleted the medium and large images in hope of regenerating them with the new watermarks, but .. that link is now gone?! Huh? Am I missing something? Tired. Need to move forward... but this is aggravating! Here's what my admin panel now looks like to see what I mean...
![]()
Last edited by pm99; 26 Jun 2012 at 06:33 PM.
Uninstall went well, nothing broke.
Bookmarks