A new project_project entry has been added:
Enhanced Dynamic MoPics and Images stored in directories
This consolidates a lot of the common issues/questions that people have with the use of images.
A new project_project entry has been added:
Enhanced Dynamic MoPics and Images stored in directories
This consolidates a lot of the common issues/questions that people have with the use of images.
Last edited by ridexbuilder; 05-15-2009 at 10:50 AM.
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
Might be handy for some:
http://www.oscmax.com/blog/ridexbuilder/enhanced_dynamic_mopics_stepbystep_tutorial
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
Wondering if someone could give me a help with the following code snippet.
It's the iterated filenames that's the issue - I'm not au fait with the required syntax.
TIAPHP Code:
// BOF Enhanced Dynamic Mopic - ejsolutions
$products_thumb = new upload('products_thumb');
$products_thumb->set_destination(DIR_FS_CATALOG_IMAGES . DYNAMIC_MOPICS_THUMBS_DIR);
if ($products_thumb->parse() && $products_thumb->save()) {
$products_thumb_name = $products_thumb->filename;
} else {
$products_thumb_name = (isset($HTTP_POST_VARS['products_previous_thumb']) ? $HTTP_POST_VARS['products_previous_thumb'] : '');
}
// for ($i=1; $i<MAX_IMAGES_UPLOAD + 1; $i++) {
// $products_mopics[$i] = new upload('products_image' . '_' . $i);
// $products_mopics[$i]->set_destination(DIR_FS_CATALOG_IMAGES . DYNAMIC_MOPICS_THUMBS_DIR);
// if ($products_mopics[$i]->parse() && $products_mopics[$i]->save()) {
// $products_mopics_name[$i] = $products_mopics[$i]->filename;
// } else {
// $products_mopics_name[$i] = (isset($HTTP_POST_VARS['products_previous_mopics']) ? $HTTP_POST_VARS['products_previous_mopics'] : '');
// }
}
// EOF Enhanced Dynamic Mopics
EJ
Last edited by ridexbuilder; 05-18-2009 at 04:21 PM. Reason: Typo! :-(
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
New Slimbox revision (RC1), with improved instructions, code cleanup and better/clearer descriptions (I hope) in Admin console.
Also includes instruction on changing from Slimbox to Lightbox and small 'tweaks' to Slimbox popup image borders.
Released on my website along with a short Irfanview tutorial.
There's a blog with a step-by-step guide for newbies - accessed either directly from the menus above or from documentation in the Project (see the 1st post of this thread).
Last edited by ridexbuilder; 05-20-2009 at 09:24 AM.
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
Just a quick update, this mod has been committed to SVN in the v2.1 branch (slimbox too!). It will be in the next planned release. Great work!
Unfortunately there's a file missing from the Slimbox edition of the patch.
referred to in http://www.oscmax.com/forums/oscmax-v2-customization-mods/19183-image-links-broken-new-products.html#post45467
This can be retrieved from the 'J' patch, available in the Project section of this board.
I'll try to find time to incorporate the missing file into to the Slimbox patch (and test it out).
Meantime, manually adjust your 'New Products' page as in the post above or grab the file from the J patch at http://www.oscmax.com/project/Enhanced_Dynamic_MoPics
[Just can't get the staff these days, eh?]
EJ
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
RC2 Added to the Project, with the missing file.
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
I noticed that when I create a new item in my OSCMax store that the image does not display when one browses to my store... then I read some about this MoPics.
Folks, excuse me, but I don't understand what this is supposed to do... HECK I don't even know how it works! I've wasted a few hours on it now and I really really really need someone to point me in the right direction.
What I'm trying to do is upload the item using the new product screen in admin... it acts like it's uploading my image, but every time I browse my store, the images are not there at all. HELP!!
Read the additional documentation that I took the time and trouble to write.Folks, excuse me, but I don't understand what this is supposed to do... HECK I don't even know how it works! I've wasted a few hours on it now and I really really really need someone to point me in the right direction.
You need to tell us a link to you site, in order to check what your issue is.
EJ
Hosting plans with installation, configuration, contributions, support and maintenance.
*** FREE osCmax hosting available ***
oscmaxtemplates.com
OK. it's at Classified Information Services : of course, you will see that for my product, no image is shown, although I have uploaded the image using the new product form... and incidentally, on the confirmation page, the image is visible.
Of course, I have already read the info at the given link. Let me try to explain where the blockage is.... For example:
8 ) Add sample products, uploading the first set of images from thumbs and full-size directories.I suppose I get the concept of creating thumbnails and separating them into a separate directory. What seems incredibly unclear is how these thumbnails and large images become associated with a product, seeing that the only obvious way to do this is to upload an image for the product via the new product form.
The info on MoPics is sketchy to the point where it seems to me like a basic knowledge of how it works is prerequisite to an understanding of what is written.
So let's suppose I added a new product called "product1." I enter the name, description, price, etc. then want to add an image called product1.jpg. So I go to the bottom of the new form, browse to my image, confirm it in the preview page.... Then what? what do I do to make that image show up in the customer view?
Bookmarks