Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
jeffiec
Ok, little trouble shooting and putting a trap in 'setflag' function of categories.php,
print '<script type="text/javascript">';
print 'alert("im in the case"'. $_GET['flag'] . ')';
print '</script>';
I get the popup, but $_GET['flag'] is empty?
Just looking for clues.
Jeff
The flag property is captured within a post form as a hidden field with the alternate value of the current option, I don't think a get statement will pull the data that you are looking for. This was identified by looking at the page source.
Re: Image Handler 4 (for v1.5.x) Support Thread
Thank you Thank you Thank you Working as intended.
Jeff
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
mc12345678
The flag property is captured within a post form as a hidden field with the alternate value of the current option, I don't think a get statement will pull the data that you are looking for. This was identified by looking at the page source.
At this point I should beat Diva to the punch. It no appears that this issue is not specifically related to IH4 and further discussion, if any, should be taken to a new/alternate thread or PMs. Was bad of me not to state this sooner, but I expect the comment to come.
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
jeffiec
Thank you Thank you Thank you Working as intended.
Jeff
Please share. What was the fix and associated problem?
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
jeffiec
Not sure I fully understand what you are saying, have cleared all temp files and the link you posted matches what that file already has, remember, I uninstalled and re-installed to 4.3.1 IH is working fine.
Telling someone they need to pay for help can be taken a few ways, i will for arguments sake, take it in a neutral way.
So what you are saying is instead of sharing ideas, with fellow coders, is not the way to go? I should just go out and hire someone who will no doubt do the same thing, unless it's deva herself? And like i said, i don't even think IH is the issue, however, most of the searches so far, have pointed at IH, that's why I am asking if someone knew of another add-on i could look at or java.
So let me weigh in on mc12345678's "pay for help" comment.. It's a suggestion I too have made when it seems warranted.. Not sure why people appear to get their feathers ruffled over this as it is a LEGIT suggestion.. The comment is neutral and meant to mean that if after trying to get help, you reach an IMPASSE (for whatever reason), that one should/could consider paying for professional help.. I've done it when it's become necessary.. (hell I don't know everything, and I don't mind paying for professional advice/help when needed) but some folks find the thought objectionable.. The suggestion is not an insult, or a way or avoiding helping or anything else that's been suggested.. it's truly a legit option.. 'tis all.. Everything is NOT going to be free just because Zen Cart is free.. (IJS)
Quote:
Originally Posted by
mc12345678
Please share. What was the fix and associated problem?
Quote:
Originally Posted by
jeffiec
Thank you Thank you Thank you Working as intended.
Jeff
lhungil posted the solution a few posts ago (quoted below).. It appears the issue is due to left over 1.3.9 code which was missed during the upgrade..
Quote:
Originally Posted by
lhungil
The code you posted looks like Zen Cart 1.3.x code... Possibly Zen Cart was upgraded from a previous version and something was missed when merging files... Or maybe some older code was merged into your "/admin/categories.php" by mistake when installing a plugin...
The code from Zen Cart 1.5.1 for "/admin/categories.php" (note the parts in red):
Code:
case 'setflag':
if ( isset($_POST['flag']) && ($_POST['flag'] == '0') || ($_POST['flag'] == '1') ) {
if (isset($_GET['pID'])) {
zen_set_product_status($_GET['pID'], $_POST['flag']);
}
}
zen_redirect(zen_href_link(FILENAME_CATEGORIES, 'cPath=' . $_GET['cPath'] . '&pID=' . $_GET['pID'] . (isset($_GET['page']) ? '&page=' . $_GET['page'] : '') . ((isset($_GET['search']) && !empty($_GET['search'])) ? '&search=' . $_GET['search'] : '')));
break;
Image Handler 4 (for v1.5.x) v4.3.2 submitted tonight
Image Handler4 v4.3.2 Changelog
- Important required changes to modules/YOUR_TEMPLATE/additional_images.php to support the changes made to /includes/templates/YOUR_TEMPLATE/popup_image_additional/tpl_main_page.php in v4.3.1
- Minor correction to /includes/templates/YOUR_TEMPLATE/popup_image_additional/tpl_main_page.php
Images displaying in my catalog, but not in my admin when adding images to products
I have an unusual problem, and may need to be sorted with my host (BlueHost).
My problem started when I could not get to display my header image in emails, while it was available in my browser if I pointed the url directly to it. This has been fixed by BlueHost.
But now I have an issue with imagehandler, if I add new images to a product, the images do display in my catalog, but not in admin > imagehandler4.
Here is te code from <td class="dataTableContent" align="center" valign="top"> which is correct
Code:
<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://my-site.com/my-admin/image_handler.php?products_filter=32&imgName=434-8&action=layout_info'">
But the path to the image sudddenly includes the directory in which ZC is installed, while my URL points directly to my ZC installation:
Code:
<img src="/Directory/bmz_cache/7/726d23ceac06644ebcac83d0ffb615ab.image.175x175.jpg" border="0" alt="ProductName - 434" title=" Big Pocket Wool & Cashmere Jacket - 434 " height="175"><br /> 175x175<br /><strong>5.4Kb</strong> </td><td class="dataTableContent" align="center" valign="top">
Is there anywhere in IH that I can change the path above to read the image correctly ie: /bmz_cache/7/726d23ceac06644ebcac83d0ffb615ab.image.175x175.jpg"
Thanks.
Goshawk
Re: Images displaying in my catalog, but not in my admin when adding images to produc
Quote:
Originally Posted by
Goshawk
I have an unusual problem, and may need to be sorted with my host (BlueHost).
My problem started when I could not get to display my header image in emails, while it was available in my browser if I pointed the url directly to it. This has been fixed by BlueHost.
But now I have an issue with imagehandler, if I add new images to a product, the images do display in my catalog, but not in admin > imagehandler4.
Here is te code from <td class="dataTableContent" align="center" valign="top"> which is correct
Code:
<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://my-site.com/my-admin/image_handler.php?products_filter=32&imgName=434-8&action=layout_info'">
But the path to the image sudddenly includes the directory in which ZC is installed, while my URL points directly to my ZC installation:
Code:
<img src="/Directory/bmz_cache/7/726d23ceac06644ebcac83d0ffb615ab.image.175x175.jpg" border="0" alt="ProductName - 434" title=" Big Pocket Wool & Cashmere Jacket - 434 " height="175"><br /> 175x175<br /><strong>5.4Kb</strong> </td><td class="dataTableContent" align="center" valign="top">
Is there anywhere in IH that I can change the path above to read the image correctly ie: /bmz_cache/7/726d23ceac06644ebcac83d0ffb615ab.image.175x175.jpg"
Thanks.
Goshawk
Please don't take this wrong.. but I really don't understand what the issue is.. Are you saying that the images don't show on the product pages or do they not appear in the IH image manager in the admin?? It would help if you posted a link to an actual product where the issue is occurring..
Re: Image Handler 4 (for v1.5.x) Support Thread
Quote:
Originally Posted by
Goshawk
I have an unusual problem, and may need to be sorted with my host (BlueHost).
My problem started when I could not get to display my header image in emails, while it was available in my browser if I pointed the url directly to it. This has been fixed by BlueHost.
But now I have an issue with imagehandler, if I add new images to a product, the images do display in my catalog, but not in admin > imagehandler4.
Here is te code from <td class="dataTableContent" align="center" valign="top"> which is correct
Code:
<tr class="dataTableRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" onclick="document.location.href='http://my-site.com/my-admin/image_handler.php?products_filter=32&imgName=434-8&action=layout_info'">
But the path to the image sudddenly includes the directory in which ZC is installed, while my URL points directly to my ZC installation:
Code:
<img src="/Directory/bmz_cache/7/726d23ceac06644ebcac83d0ffb615ab.image.175x175.jpg" border="0" alt="ProductName - 434" title=" Big Pocket Wool & Cashmere Jacket - 434 " height="175"><br /> 175x175<br /><strong>5.4Kb</strong> </td><td class="dataTableContent" align="center" valign="top">
Is there anywhere in IH that I can change the path above to read the image correctly ie: /bmz_cache/7/726d23ceac06644ebcac83d0ffb615ab.image.175x175.jpg"
Thanks.
Goshawk
In addition to Diva's question, what version of IH4 are you using?
2 Attachment(s)
Re: Image Handler 4 (for v1.5.x) Support Thread
Hi,
I am using Image_Handler4_v4_3_1.
attached are 2 images of the same product.
1 shows the admin of image handler, 2 other shows the product in the catalog
Attachment 13068
Attachment 13069