
Originally Posted by
Joseph M
v157c with bootstrap template and Image Handler. I installed this Additional Images plugin today and it was successful according to the messages in the admin. However, when I try to use it, it is non-functional. Going to Admin>Catalog >Additional Product Images displays the message:
I am unable to select any images for active products. I can see my products listed when I select a category. But selecting a product and clicking "Upload Images" just returns me to a blank form.
I've checked all of the plugin settings under Configuration>Images, but all seems to be in order there.
Others have also reported the message. But I've not been able to find any solutions. Anyone have an idea on how to fix this?
So, looking over the code and knowing of an "issue" with ZC 1.5.7, may I suggest changing:
admin/additional_product_images.php
Line 80 from:
Code:
<?php echo zen_draw_form('related_products', FILENAME_ADDITIONAL_IMAGES_UPLOAD, '', 'get');
to:
Code:
<?php
if (isset($_GET['cmd'])) {
$tempcmd = $_GET['cmd'];
}
$_GET['cmd'] = FILENAME_ADDITIONAL_IMAGES_UPLOAD;
echo zen_draw_form('related_products', FILENAME_ADDITIONAL_IMAGES_UPLOAD, '', 'get');
unset($_GET['cmd']);
if (isset($tempcmd)) {
$_GET['cmd'] = $tempcmd;
}
This should support the plugin working in ZC 1.5.7. It did for me...
Bookmarks