osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Problem with adding/ using images!

This is a discussion on Problem with adding/ using images! within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Okay, more problems! i) I can't seem to get the the default product image on the product description page to ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-18-2005, 03:01 AM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jsp_1983
Default Problem with adding/ using images!

Okay, more problems!

i) I can't seem to get the the default product image on the product description page to 'pop-up' to full size. There's no magnifying glass and nothing happens when you try to click on the small image, but I suspect it's actually the full-size image just resized (as I set it to).

ii) Shouldn't there be some option to add additional images on the product admin page? I'm not seeing anything to let me do that!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-18-2005, 03:55 AM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jsp_1983
Default

Okay, it's occurred to me that I might not be getting the grasp of this Dynamic MoPics thing as well as I should be.

Does anybody know where I can find some (useful) documentation about how to actually use it in relation to adding new products?

There must be something on it, somewhere, surely? I just can't find it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-18-2005, 09:33 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 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

http://oscdox.com/modules.php?op=mod...micMoPicsSetup
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-18-2005, 09:53 AM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jsp_1983
Default

Okay, thanks, but I'm still a bit confused.

With the 'imagebase' setting, it sounds slightly confusing. Rather than ask how this works, could somebody give me an example of the naming convention I should use for, say, five products and what the 'imagebase' setting should be?

At the moment, I have my images named as my stock code followed by the supplier's code, but I get the feeling this won't be acceptable to Dynamic MoPics.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-18-2005, 10:36 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 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

The imagebase is just the filename minus the extension.

Filename: example_image.jpg

Imagebase: example_image


Then you put your brackets on either side of the imagebase depending on how you want to construct the filename, for example and add in the scheme you want to use, in this case numbers:

imagebase{1} would produce example_image1.jpg

imagebase_{1} would produce example_image_1.jpg

Just match it to your actual image naming scheme. What is confusing about that?

Also remember that these rules only apply to EXTRA images for your product, not the default image that you will use. For the default image, the filename will set the imagebase (say it is named example_image.jpg, this sets the imagebase that dynamic mopics will use), and the naming pattern will then tell dynamic mopics what naming pattern to look for to find any extra images for that product.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-19-2005, 04:46 AM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jsp_1983
Default

Hmm. This seems to be far too complicated and restrictive for what I want (it'll mean having to rename every stock picture I have, which relies on using a stock code).

Is it relatively easy to remove Dynamic MoPics from an installation?

I want to use Ultrapics, for simplicity's sake. Is it quite easy to integrate?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-19-2005, 06:44 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 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

It still sounds like you are not getting the gist entirely, as there is nothing complicated or restrictive about it. It is simply organized and efficient.

So say you have a stock picture : stock111.jpg

That will be your main image that you add to the product page in the admin panel.

Now say you have 5 extra images for the product stock111. You will have to name them something other than stock111, right? So just name them 1_stock111.jpg, 2_stock111.jpg, 3_stock111.jpg, etc.. and a copy goes in the images_big dir and the thumbs dir. Make sure your imagebase setting looks like this {1}_imagebase

Just by doing that, the images will now automatically display on the correct product page. Nothing more needs to be done. It is the easiest, fastest way to do it. Nothing at all complicated or restrictive about it, and much much faster than manually adding all the images to your products, one by one.

The way it knows the extra images are related is that they all have the same image base (stock number in this case) and the 1_, 2_ indicate the multiple images and allow the thumbs and big images to be matched up and dispayed automatically.

You can easily rename all the files (adding the extension to the stock number) in about a minute (even if you have thousands), using a file renamer. If you ask me, hacking in a new php module to osCMax and removing mopics is far more complicated than simply renaming files. If you still want to go that route, there is not really any need to remove mopics, just install UltraPics and remove the mopics call from your product_info.tpl.php file.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 11-19-2005, 08:21 AM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jsp_1983
Default

Okay, thanks for the help so far.

I think before I go any further, I might be getting my wires crossed here.

At first, for the first picture of a product I added the normal picture to the product admin page. The problem I am having is that there is no option to display the picture at its normal size on the production information page, either automatically or when clicked on, to open as a popup.

Therefore, I thought that this was down to naming conventions and having to have more than one file for each picture, even when only one picture was to be used for an item.

I'm not quite sure of the best way to describe the problem really. Perhaps it is best if you see for yourself at www.seductionbybasics.co.uk

Am I still getting my wires crossed, or is Dynamic MoPics used even for the first item picture?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 11-19-2005, 08:27 AM
New Member
 
Join Date: Aug 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jsp_1983
Default

Oh great! I've made slight progress! I've managed to get it slightly working...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-20-2005, 11:00 AM
New Member
 
Join Date: Dec 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cTak
Default

I think I had the same confusion as jsp. Im now understanding that MoPics is MORE PICS, basicly allows you to display MORE images of a certian product. What HE wanted, and what I want as well, is a tool to make a thumbnail(instead of resizing the HUGE image on the page) and then make a ZOOM link to view the big image in a pop up. Any suggestions for that ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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
Syntax for adding images to categories\products cage1014 osCommerce 2.2 Modification Help 2 01-01-2006 06:46 PM
adding product images without uploading thru form? tbone osCMax v2 Installation issues 0 07-22-2005 05:21 PM
problem while adding extra fields developer_x osCommerce 2.2 Modification Help 2 11-27-2004 10:32 PM
two images problem jasonabc osCommerce 2.2 Modification Help 2 09-15-2004 08:41 AM
Adding other images to a product?????? pmike25 osCMax v1.7 General Mods Discussion 0 02-13-2004 12:50 PM


All times are GMT -8. The time now is 09:16 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax