osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Enhanced Dynamic MoPics and Images stored in directories

This is a discussion on Enhanced Dynamic MoPics and Images stored in directories within the osCMax Projects Discussion forums, part of the osCMax v2.0 Forums category; A new project_project entry has been added: Enhanced Dynamic MoPics and Images stored in directories This consolidates a lot of ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax Projects Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Reply

 

LinkBack Thread Tools
  #1  
Old 05-15-2009, 08:42 AM
ridexbuilder's Avatar
ridexbuilder ridexbuilder is offline
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Default Enhanced Dynamic MoPics and Images stored in directories

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.
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).



Last edited by ridexbuilder; 05-15-2009 at 10:50 AM..
Reply With Quote
The Following 3 Users Say Thank You to ridexbuilder For This Useful Post:
aaanativearts (05-17-2009), CarolCodes (05-20-2009), N1VG (11-19-2009)
  #2  
Old 05-18-2009, 04:57 AM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Default Re: Enhanced Dynamic MoPics and Images stored in directories

Might be handy for some:
http://www.oscmax.com/blog/ridexbuilder/enhanced_dynamic_mopics_stepbystep_tutorial
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-18-2009, 04:20 PM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Question Combining Dynamic MoPics with Admin upload

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.

PHP 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 
TIA
EJ
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).



Last edited by ridexbuilder; 05-18-2009 at 04:21 PM. Reason: Typo! :-(
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-19-2009, 03:50 PM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Default Re: Enhanced Dynamic MoPics and Images stored in directories

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).
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).



Last edited by ridexbuilder; 05-20-2009 at 09:24 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-28-2009, 06:26 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,758
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Enhanced Dynamic MoPics and Images stored in directories

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!
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to michael_s For This Useful Post:
ridexbuilder (05-28-2009)
  #6  
Old 06-20-2009, 10:43 AM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Exclamation Re: Enhanced Dynamic MoPics and Images stored in directories

Unfortunately there's a file missing from the Slimbox edition of the patch.
referred to in Image links broken in New Products
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
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 06-30-2009, 02:24 PM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Exclamation Re: Enhanced Dynamic MoPics and Images stored in directories

RC2 Added to the Project, with the missing file.
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-22-2009, 07:36 PM
New Member
 
Join Date: Jun 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DrLeadBasedPaint is on a distinguished road
Default Is this MoPics thingy why my item images don't show up?

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!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 07-23-2009, 01:05 AM
ridexbuilder's Avatar
osCMax Development Team

 
Join Date: Jul 2008
Location: Haggisland
Posts: 1,220
Thanks: 130
Thanked 124 Times in 116 Posts
Rep Power: 9
ridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to allridexbuilder is a name known to all
Default Re: Enhanced Dynamic MoPics and Images stored in directories

Quote:
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.
Read the additional documentation that I took the time and trouble to write.

You need to tell us a link to you site, in order to check what your issue is.

EJ
__________________
UK-based hosting plans with installation, configuration, support and maintenance.
(& some ad-hoc jobs).


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-23-2009, 02:11 AM
New Member
 
Join Date: Jun 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DrLeadBasedPaint is on a distinguished road
Default Re: Enhanced Dynamic MoPics and Images stored in directories

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
directories, dynamic mopics, images, lightbox, slimbox

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Dynamic Mopics additional images to product pages pakrat osCMax v2 Features Discussion 20 08-15-2009 05:13 PM
Enhanced Dynamic MoPics & Images stored in directories ridexbuilder osCMax v2 Customization/Mods 42 05-15-2009 11:02 AM
Get rid of dynamic mopics mskitti osCMax v2 Features Discussion 2 12-20-2008 04:12 AM
Dynamic MoPics metalman923 osCMax v2 Installation issues 3 11-11-2007 07:48 AM
Dynamic MoPics i2Paq osCMax v2 Installation issues 8 10-16-2007 07:44 AM


All times are GMT -8. The time now is 07:42 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design