Guest Posted January 2, 2012 Share Posted January 2, 2012 Here the list of browsers that are supported "local image preview": Chrome (versione 8 or higher) Firefox (version 4 or higher) Safari/WebKit (nightly build version) You can find the info about it here: https://developer.mo...createObjectURL. And complete tutorial on a new way to handling upload field (files) is here: https://developer.mo...eb_applications (pure ajax upload) Regarding OPI addon, I decided to use iframe instead of pure ajax upload because IE and some old browser will suffer. So, for users that use IE or lower version... don't worry, you still able to upload image except you can not preview your image before uploading. Cheers, @zaenal I dont thinkt this workd, I cant upload pictures with IE. See post above.. =) Quote Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2012 Share Posted January 6, 2012 on product_info.php, under the main image and over the small thums I have a text row : Undefined. How can I remove it? Quote Link to comment Share on other sites More sharing options...
Алексей Трипольский Posted January 12, 2012 Share Posted January 12, 2012 hello, help me please, i have no watermark on my image( what's wrong can be? Quote Link to comment Share on other sites More sharing options...
Johnatan Posted January 15, 2012 Share Posted January 15, 2012 I'm using this addon for a few month and now I reached a BIG problem for my site... In admin section when I edit product there is no picture show for that product. But in main categories/products listing I see picture. So, If I changing some text of my prodtcs and click on SAVE, picture dissappear. If I upload new picture (but I can't do that for 1000 products) with OPI everything is OK. Please HELP ASAP thnx J. Quote Link to comment Share on other sites More sharing options...
phdesignz Posted January 19, 2012 Share Posted January 19, 2012 Hello, I'm trying to use this along with Easy Populate 2.77. I've gotten so far as to find the additional images in the Easy Populate .csv files under v_products_images that have been uploaded using the admin panel based product info editing page. Such as "image1.jpg,image2.jpg,image3.jpg" ...etc. If I add new pictures using the same format of newpicture1.jpg,newpicture2.jpg, etc that I've uploaded to the /images folder they don't appear. I've figured out that it's obviously not being computed by any of the scripts in the whole system, opi or osc. I've even looked at the php database under products_images and do not find the picture names listed there either. So my question is, can you code a script or something in the next release to be able to upload some pictures to an image folder, write the names and paths of the pictures into the .csv file for Easy Populate under v_products_images and have it display on the product info page? Quote Link to comment Share on other sites More sharing options...
phdesignz Posted January 19, 2012 Share Posted January 19, 2012 Oops, it looks like I didn't upload the edited 2.3.1 files. Looking at view source I can now see all of the images being scripted, BUT it points to a thumb directory that I don't have (I assume I need to use the admin product info panel to create those?) If I use Easy Populate and upload the files manually to my server, can I make it not use the thumb directory and instead use the normal /images directory? None of my images are showing up including the ones I put in using the normal admin product info panel method... Quote Link to comment Share on other sites More sharing options...
phdesignz Posted January 19, 2012 Share Posted January 19, 2012 I guess another option would be to have OPI and Easy Populate create a thumb in the thumbs/def/large/ directory upon .csv upload...ya? Quote Link to comment Share on other sites More sharing options...
Guest Posted January 19, 2012 Share Posted January 19, 2012 I guess another option would be to have OPI and Easy Populate create a thumb in the thumbs/def/large/ directory upon .csv upload...ya? But I think the thumbnails generates "on the fly" when they are loaded the first time in the catalog. Try to remove your thumbs, then go to catalog and load your product again. Voila.. You have the thumbs again! :) Quote Link to comment Share on other sites More sharing options...
phdesignz Posted January 19, 2012 Share Posted January 19, 2012 woohoo! nevermind, simple fix! just change the dir location in the php files! Quote Link to comment Share on other sites More sharing options...
phdesignz Posted January 19, 2012 Share Posted January 19, 2012 Hmm...one last problem...the categories page doesn't show images...it's just <img src="images/" ... Quote Link to comment Share on other sites More sharing options...
phdesignz Posted January 20, 2012 Share Posted January 20, 2012 nevermind everyone, i used dynamic image resizer and everything is ok now...I assume the html_output file was messed up... Quote Link to comment Share on other sites More sharing options...
varina Posted February 3, 2012 Share Posted February 3, 2012 Just installed this contribution. Everything seems to be working on the admin side, but I am not getting any images in product_info. My product images files are uploaded to catalog/images/(subdirectory)/file.jpg I changed the relative path in the Configuration->Images to 'blank' instead of products Do I need to change my opi_thumbnail.php file and / or any other files? And if so, how? I'm not a php programmer, though I understand some of the language. I have read through this forum, but I can't seem to find the same problem. I am running OSC 2.3.1 and installed the latest version of OPI. Thanks for any input you may have... Varina Quote Running osCommerce 2.3.1 with following contributions: Category Description, CKEditor, Customer Sort, Enhanced Contact Us, Mindsparx Admin, Modular Front Page, Modular SEO Header Tags, Multiple Products Manager, Remove Unused Images, Select Product Image Directory, Shipping Cost Estimator, Simple Checkout for 2.3.1, Store Mode, Theme Switcher, UPSXML Link to comment Share on other sites More sharing options...
oxwivi Posted February 6, 2012 Share Posted February 6, 2012 Hi, forgive me but I've not combed through the previous posts to see if my question has been answered already. But can you please confirm that this addon is compatible with the products and the images I've already uploaded? Quote Link to comment Share on other sites More sharing options...
scubaworld Posted February 8, 2012 Share Posted February 8, 2012 (edited) Hi, I have a problem with this contribution. Everything works fine except when I push the button Browse Server or Upload Image I see the screen below (in the attach) and.. Nothing is happing... It looks like it doesn't get connected. I have tried everything. Can somebody help me with this. Thanks. Oscommerce 2.3.1. PHP 5.3 Edited February 8, 2012 by scubaworld Quote Link to comment Share on other sites More sharing options...
Melhor Posted February 10, 2012 Share Posted February 10, 2012 i copy all the files to the right directory makes the changes into the htaccess but nothing appears in my admin ! Quote Link to comment Share on other sites More sharing options...
zenithsoe Posted February 21, 2012 Share Posted February 21, 2012 For those who installed admin level account. don't forget to set permission for opi_productimage.php. ( admin> administrator > access ) This is saved my life :) Quote Link to comment Share on other sites More sharing options...
AFMatt Posted February 28, 2012 Share Posted February 28, 2012 I desperately need someone's help. I've been testing OPI 1.0 on my local machine (using xampp) and was able to install and run it without any issues. However, now I've installed it on my live site and all of my previously uploaded pictures have disappeared, and when I go into the admin page to edit/add products, the OPI only displays the rotating circles (see attached image). I installed it the same on my local machine (with xampp) as I did on my live website, but it doesn't seem to be working. Note: My live website is on a linux server hosted by GoDaddy. Any help would be greatly appreciated. Thank you. Sincerely, Matt Quote Link to comment Share on other sites More sharing options...
Mrmike Posted March 7, 2012 Share Posted March 7, 2012 Ive gone over the install multiple times now and I get the same error. My admin/categories.php is giving a blank page with : () Any ideas? Ive set permissions, added the code to htaccess.. Quote Link to comment Share on other sites More sharing options...
RMD27 Posted March 29, 2012 Share Posted March 29, 2012 Hi How can we get this to work on the categories pages as well as the product_info pages? Quote Link to comment Share on other sites More sharing options...
RMD27 Posted March 29, 2012 Share Posted March 29, 2012 ok, i got it. awesome contrib Just use the same method as product_info.php. Below an example to edit includes/modules/product_listing.php file... Find... case 'PRODUCT_LIST_IMAGE': if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id'] . '&products_name=' . $listing['products_name']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } else { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id'] . '&products_name=' . $listing['products_name']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td>'; } break; Replace with: --here we use "thumbs/def/small/" but you can use other "def", or just edit opi_thumbnail.php to fit your need. case 'PRODUCT_LIST_IMAGE': if (isset($HTTP_GET_VARS['manufacturers_id']) && tep_not_null($HTTP_GET_VARS['manufacturers_id'])) { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '"><img src="' . tep_href_link(DIR_WS_IMAGES . 'thumbs/def/small/' . $listing['products_image']) . '" alt="' . $listing['products_name'] . '" /></a></td>'; } else { $prod_list_contents .= ' <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing['products_id']) . '"><img src="' . tep_href_link(DIR_WS_IMAGES . 'thumbs/def/small/' . $listing['products_image']) . '" alt="' . $listing['products_name'] . '" /></a></td>'; } break; @zaenal Edited by Pa Quote Link to comment Share on other sites More sharing options...
vigors Posted April 19, 2012 Share Posted April 19, 2012 First of all - love this addon, great work! But I have a few problems with it. I have loaded all the images into my shop, they are displaying fine, and in admin side they are shown when selecting product: http://screencast.com/t/MnwumJe0xv but after some manipulation (either thumbnail cleanup or something) they are not shown in admins edit panel: http://screencast.com/t/kHO7uUj6C8N If I add new images, the old one is just not used anymore and is not displayed. Although I have no idea why - some of the old images are displayed correctly. Second problem is opi_thumbnails.php is not reacting to any changes in configuration. I change this and that, but the thumbnails and the main images stay the same. Could this have to do with file permissions and opi_thumbnails not beeing able to overwrite old files? Is there a way to enable logging, so I can see what opi thumbnails did and where were the errors? And the last problem - is it possible to make this plugin take the information from current database entry images, re-do the image and save the new image as well as new database input? I am asking because I add my information with EasyPopulate through CSV file and I would love to state that image field is 1.jpg and then tell OPI - do the magic! and it would rewrite all files automatically? Otherwise there is a lot of manual click-click-click work involved. Quote Link to comment Share on other sites More sharing options...
breakbred101 Posted May 3, 2012 Share Posted May 3, 2012 Ive got a question... What if I want to watermark only select images? For example I have images that dont represent the actual product as packaging changes, suppliers change etc. So im placing a watermark via php over that image that says "Image May not Represent Actual Product". But i want to be able to select & save these items that need to render like this individualy. This may be to much to ask pertaining to coding but im thinking it may be as easy as adding an "if"/"else" statement and a checkbox that correlates to products description table in the database and renders either checked/unchecked on categories.php...action=edit. Any ideas? Quote Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 27, 2012 Share Posted May 27, 2012 I like the look of this addon but am having a few problems. Most have been answered, but the main one being, I use ie9 mainly and this does not seem to work. Is there a working work around for this. Its a shame the writter of the code seems to have disapeared after such a promising start. Quote REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
OSC-Sevilla Posted May 31, 2012 Share Posted May 31, 2012 Having a slight problem - Moved severs, all working fine except: When browsing images on the server to add photos I can see all the first tier subdirectories but when i click on the subdirectory i just see whats in the products folder and not the subdirectory. image attached Quote Link to comment Share on other sites More sharing options...
OSC-Sevilla Posted May 31, 2012 Share Posted May 31, 2012 (edited) Having a slight problem - Moved severs, all working fine except: When browsing images on the server to add photos I can see all the first tier subdirectories but when i click on the subdirectory i just see whats in the products folder and not the subdirectory. image attached FIXED - it was an jquery upgrade error, went from 1.4 to 1.7 and it didnt like it Edited May 31, 2012 by OSC-Sevilla Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.