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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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! |
|
#2
| |||
| |||
| 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! |
|
#3
| ||||
| ||||
|
__________________ Michael Sasek osCMax Developer
|
|
#4
| |||
| |||
| 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. |
|
#5
| ||||
| ||||
| 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
|
|
#6
| |||
| |||
| 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? |
|
#7
| ||||
| ||||
| 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
|
|
#8
| |||
| |||
| 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? |
|
#9
| |||
| |||
| Oh great! I've made slight progress! I've managed to get it slightly working... |
|
#10
| |||
| |||
| 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 ? |
| Thread Tools | |
| |
| ||||
| 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 |