[Contribution] OPI: OsC Product Image Module
#121
Posted 19 April 2012 - 09:23 AM
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.
#122
Posted 03 May 2012 - 07:32 PM
#123
Posted 27 May 2012 - 11:07 AM
Its a shame the writter of the code seems to have disapeared after such a promising start.
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
#124
Posted 31 May 2012 - 09:27 AM
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
Attached Files
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /
#125
Posted 31 May 2012 - 11:20 AM
OSC-Sevilla, on 31 May 2012 - 09:27 AM, said:
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 by OSC-Sevilla, 31 May 2012 - 11:21 AM.
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /
#126
Posted 14 June 2012 - 02:38 AM
Anybody have a clue?
Edited by DrGlitch, 14 June 2012 - 02:49 AM.
#127
Posted 15 June 2012 - 05:51 AM
vigors, on 19 April 2012 - 09:23 AM, said:
I encountered the same problem and discovered that this is because the images are cached in the thumbnails directory ("catalog/images/_thumbnail_"). They do not get regenerated if they already exist.
Either delete the contents of the thumbnails directory manually or in the Administration Tool:
1. Go to Configuration>Images
2. Edit "OPI: Cleanup Thumbnail" and set it to "true"
3. Go to Categories>Products
4. Edit any product.
5. Reload the page (no need to save). This causes the cleanup to occur and OPI: Cleanup Thumbnail gets reset back to "false".
Subsequently reloading or displaying a product causes thumbnails to be regenerated using the new settings in opi_thumbnails.php.
Edited by DrGlitch, 15 June 2012 - 05:54 AM.
#128
Posted 16 July 2012 - 07:35 AM
For some reason on one of the stores the "NEW DIRECTORY " button has stopped showing....
What would be the cause of this. Everything else is working just fine.
Just a pointer would help. Thank you.
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /
#129
Posted 18 July 2012 - 02:49 PM
OSC-Sevilla, on 16 July 2012 - 07:35 AM, said:
For some reason on one of the stores the "NEW DIRECTORY " button has stopped showing....
What would be the cause of this. Everything else is working just fine.
Just a pointer would help. Thank you.
After some successful head scrathing the issue is solved.
For reason only known to OSC the copied site, identical contained an issue. This issue was the "Aministation table" in the SQL SERVER. I simply updated this table and all went back to normal!
INSTALLED:Document Manager / Monthly Sales and Tax Returns / Batch Print Invoices / Ultimate HTML EMAILs / AJAX Attribute Manager / OSC PDF Catalog / Move Bookmarks / Sort Order / Easy Populate / Sales Reports / Low Stock Report / Admin: Model # on Category / Product Administration Screen / Mini images in admin / SLiCK reCaptcha / Google + / Beautiful Breadcrumbs / 2.3.1 - Banner Language Mod / ADD New Page / EASY MAP (google) v.3.0 / Who's Online Enhancement for 2.3.1 / Admin Notes / scrambled order number / remove_unused_images / Quantity Select / Unit Weight / Product Specifions (filter results) / AJAX Product Attributes/ Attribute Codes/ Date & Order No. to Invoice/ O.P.I. 2.0 / Attribute Images / Manual Order Editor / Attributes Clone / Order Editor / Create Order / Company VAT No. / Add customer/ CKEditor 2.3.1 / Page Manager / Default images via admin / Percentage Shipping Price / QTPro / Scroll to Top / PDF Invoice / Featured Products / Product Listing Enhancements / AutoBackups / Ultimate SEO URLS 5 Pro / Kiss Tags/ ..Custom Admin Mods /
#130
Posted 27 July 2012 - 11:19 PM
Thank you for writting such a wonderful module. I really love it and got almost all of it to work for me. That is why I am writting, sorry it is not all about how thankful I am (there should be more posts like those).
I was able to add three images for one product and the preview slider works great. I have only one module installed which is:
Product Cycle Slideshow Box for 2.3.1
http://addons.oscommerce.com/info/6238
The instruccions are these:
Quote
ALTER TABLE `configuration` CHANGE `set_function` `set_function` VARCHAR( 700 );
The other sql alterations are executed when the box is installed.
----------------------------
Upload the contents of catalog to your store
upload the new files:
catalog/ext/jquery/jquery.cycle.all.min.js
catalog/ext/jquery/jquery.easing.1.3.js
catalog/includes/modules/boxes/bm_product_cycle_slideshow.php
catalog/includes/languages/english/modules/boxes/bm_product_cycle_slideshow.php
catalog/includes/languages/espanol/modules/boxes/bm_product_cycle_slideshow.php
catalog/includes/languages/german/modules/boxes/bm_product_cycle_slideshow.php
Edit these files:
catalog/includes/template_top.php
Add before </head>
<!-- BOF Product Cycle Slideshow -->
<script type="text/javascript" src="ext/jquery/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="ext/jquery/jquery.easing.1.3.js"></script>
<script type="text/javascript">
function onPCS1Before() {
$('#PCS1Output').animate({
opacity: 0.0
}, 1000 );
}
function onPCS1After() {
$('#PCS1Output').html($(this).attr("title"));
$('#PCS1Output').animate({
opacity: 1.0
}, 500 );
}
$(document).ready(function(){
// Inizialize ProductsCycleSlideshow
$('#PCS1').cycle({
fx: '<?php echo PCS_FX?>',<?php echo PCS_EASING != 'None' ? "\n easing: '".PCS_EASING."',\n" : ''?>
sync: <?php echo PCS_SYNC == 'true' ? '1' : '0' ?>,
speed: <?php echo PCS_SPEED?>,
timeout: <?php echo PCS_TIMEOUT?>,
pause: <?php echo PCS_PAUSE == 'true' ? '1' : '0' ?>,
random: <?php echo PCS_RANDOM == 'true' ? '1' : '0' ?>,
// pager: '#PCS1Pager', //comment out this line to remove the numbered boxes under the title
before: onPCS1Before,
after: onPCS1After
});
});
</script>
<!-- EOF Product Cycle Slideshow -->
catalog/stylesheet.css
Add the following to the end
/* Special Price */
span.productSpecialPrice {
color:rgb(255,0,0);
}
/*Products Cycle Slideshow*/
.ProductsCycleSlideshowWrapper { height:160px; padding:0; margin:0; overflow: hidden; text-align:center;}
.ProductsCycleSlideshow { height: 90px; width:97%; padding:0; margin:0; overflow: hidden; border: 2px solid #bbc3d3; background-color:#fff;}
.PCSChild {height:90px; width:100%; text-align:center; top:0; left:0 }
.PCSChild a { text-decoration: none; color:000;}
.PCSChild a img { border: none; border-width:0px;}
.PCSOutput { text-align:center; font-size:11px;}
.PCSOutput a { text-decoration: none; color:#000; }
.PCSPager { margin:7px; }
.PCSPager a { border: 1px solid #bbc3d3; background: #fff; color:#bbc3d3; text-decoration: none; margin: 0 5px; padding: 3px 5px; font-size:12px;}
.PCSPager a.activeSlide { border: 1px solid #000; background: #bbc3d3; color:#000;}
.PCSPager a:focus { outline: none; }
End of editing files.
------------------------
go to Admin --> Modules --> Boxes --> Install Module
Now select the module Produc Cycle Slideshow and install it.
That's all!!
What happens to me is that it all works except somehow all the thumbnails seem to load on top of each other like the image I am attaching. When I hover of the one thumbnail below or above they seem to flicker between one and the next image - clicking on the bottom image does nothing. When I click on the top thumbnail it loads the preview and it works great going form one image to the next. I tried disabling the other module (which is the only module I have installed form a default installation) and removing the code from template_top.php but I still got the error.
What would you suggest I try?
Best regards...










