Community Add-Ons
UltraPics - MS2 Image Addon Pack!
for osCommerce Online Merchant v2.2
UltraPics v1.0 - Addition Image Pack! MS2
=========================================
This is the complete image solution for everyone using osCommerce MS2.
This allows adding of 8 more images to your Admin and Catalog,
basically a combination of SM,MED,LARGE+ and MoPICs+ with Lots of Nice Enhancements!
like,
* Add & Remove Additional Images via Admin Easy!
* (To POPUP! or NOT TO POPUP!) Have Pop up Windows or NOT!
* Image Preview when editing Products.
* Addition Images On and Off options in admin.
* Resize Option for specific images settings.
* Delete images permantly of server if not longer used. (Delete Disabled if more then 1 product Links to Image.)
* Nice clean look, tidy code.
* 3 Screen Shots Included in ZIP file. (See for your-self before installing!)
This package has been assembled on a New MS2 osCommerce Store (Nice Copy Paste Soloution for Lazy PPL with MS2).
I dont have the time or patients to write up a step-by-step guide atm ( perhaps later ).
Easiest way to install is basically -
========================================
MAKE A BACK OF THESE FILES:
admin/categories.php
admin/includes/languages/(Your-Language)/categories.php
catalog/product_info.php
catalog/popup_image.php
Copy the one's from the contribution overthem,
add the new file/s
catalog/includes/modules/additional_images.php
run the SQL script into your database with PHPMyAdmin or other DB Manager...
Thats it!................................................................
If you have already modified some othe above pages I sugest you
use code compare software to cut snippets, I have marked all my work with:
BOF MaxiDVD: and EOF MaxiDVD:
Back up your admin/categories.php file first!!
MaxiDVD :~)
Even with the previous post included I had the problem that the previous and next buttons were not showing up. Therefore, when having the same problem, try this:
In product_info.php and in /includes/modules/additionnal_images.php:
Change
rel="lightbox"
to
rel="lightbox[product]"
In lightbox.css
Change:
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
to
#prevLink:hover, #prevLink:visited:hover { background: url(./images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(./images/nextlabel.gif) right 15% no-repeat; }
Its just a matter of a wrong image include. If even that does not work just create a direct link to the prevlabel.gif and nextlabel.gif (eg. #nextLink:hover, #nextLink:visited:hover { background: url(http://www.yourdomain.com/catalog/images/nextlabel.gif) right 15% no-repeat; }.
No file attached
Image 2 to 6 would not appear with the next and previous button with the image popup in product description.
Change
rel="lightbox"
to
rel="lightbox[product]"
in /includes/modules/additionnal_images.php
for image 2 to 6.
additionnal_images.php file with fix is attached
MAKE A BACK OF THESE FILES:
admin/categories.php
admin/includes/languages/(Your-Language)/categories.php
catalog/product_info.php
catalog/popup_image.php
Copy the one's from the contribution over the old ones
add the new file/s
catalog/includes/modules/additional_images.php
run the SQL script into your database with PHPMyAdmin or other DB Manager...
All Ajax Attribute Manager Files should already be installed previous to this installation.
Just upload the files in the attached zip overwriting the old.
I have changed 4 file to make ajax attribute manager work with the ultra pics as well. The only problem is that the ajax editor wont work on already created options.
wanted to upload files to get some other ideas.
sorry i didn't correcty zip the files. This is the correct version.
The changed files are product_info.php and includes->module->additional_images.php
With this chage you cat display the images on top of product page
I have just chenged two files in order images to be dispalyed on the top of product_info page, the rest of the package is the same.
I have noticed that when you have a live-shop with products in it, it is difficult to update all your products after installing UltraPics. The problem is that the pop-up image column is blank (at least with the lightbox addon). So when clicking on the 'Enlarge' button in a live-shop after installing UltraPics nothing will happen. I have added the following line to the sql file to solve this problem:
UPDATE `products` SET `products_image_med` = `products_image`;
Thanks to pubdomains.com for helping with this sql statement.
I have also included a simple STS instruction file to have this contrib working in STS.
Last but not least I have added a dutch language file
This package can also be used if you do not use STS.
== FULL PACKAGE based onUltra Pics 2.07.01 (19th of March 2008) ==
1st I would like to thank MaxiDVD and everyone for this great contrib.
This AddOn Makes use of the 'category' feature of lightbox2 and links all the images in the same lightbox (instead of having to multiple-click)
This is a quick modification to the
product_info.php
includes/modules/additional_images.php
##### SEARCH FOR
rel="lightbox"
##### REPLACE WITH
rel="lightbox[product]"
that way all the product pics will show up in the same lightbox when opening one!
attached file is exact same as this one.
Example @ http://www.mad-gsm.com/
Enjoy,
iCe_MoUtOn
Hi all, this is just the products_info.php file
It combines Ultra Pics mod and the QTpro mod. If anyone has tried to install these separately, they will know how tricky it is!
NOTE:
1) you MUST have QTpro4.5 (for osC2.2 rc2a) installed.
2) You should already have completed the installation for Ultra Pics (version as above - not tested with any other version).
3) IF YOU HAVE ANY OTHER MODS IN YOUR PRODUCT_INFO.PHP FILE: you will need to manually add them to this file.
PRE-INSTALLATION
1) BACK UP YOUR PRODUCT_INFO.PHP FILE
2) BACK UP YOUR DATABASE.
3) HEY, DON'T STOP THERE, BACK UP THE WHOLE SITE!
INSTALLATION
1) Copy the attached file to catalogue/product_info.php
2) Adjust layout to suit your site
3) Upload
4) Test
I hope this works for you
(attached: just the product_info.php file)
This is the UltraPics 2.08 with Lightbox 2.04
* I have included the following files converted to use lightbox (product_info.php was already made, just done a few improvement)
catalog/product_info.php
catalog/product_reviews.php
catalog/product_reviews_info.php
catalog/product_reviews_write.php
* Now it should also work even if the image_med is not present, it display the default image instead.
* removed the old java script to popup the picture as it was no more used
* changed additional_images.php to add the else case with <td></td> in all cases.
Without this the wc3 page validator return an error because of the <tr></tr> without any <td> inside.
for a demo you can try this url :
http://www.custamazing.com/
Easy Populate 2.76g-MS2 to work with UltraPics 2.07.01 LightBox contribution
Just the easypopulate.php file. Please check the configuration to adjust it to your need.
I am a very noob in OsC (and in english too)
IMPORTANT NOTE:
My shop in not online an my admin is not protected by password. I'm just beginning on Osc (2 days) and this solution is only to try UltraPics maybe better solution should be use for an OnlineShop
PROBLEM AND SOLUTION
I downloaded latest contrib for ultra pics but had a "Call undefine Function error" about tep_hide_session_id when i accessed the catalog admin.
The reason is that this function is not define in admincategories.php (in my distrib ms2 french)
Solution :
Created the
extra_functions.php
file in adminincludesfunctions
(file ready to download)
Added line :
<?php require (DIR_WS_FUNCTIONS . 'extra_functions.php'); ?>
in admincategories.php
right after
<!--body_text //-->
It Works. Hope it can be useful for noobs like me...
The .sql file added before was wrong. I've packed the correct one.
Again, It is a complete package.
To install:
Copy and replace all files, or make the necesary changes using a file compare tool.
Then import sql_ultra_pics.sql into the database.
>Forgot to add SQL file in previous package.
>
>Sorry, but I am a Noob at adding contribs! :(
>
>* Complete Package *
Forgot to add SQL file in previous package.
Sorry, but I am a Noob at adding contribs! :(
* Complete Package *
Ultra Pics 2.04.1 + LightBox addition, with CCGV (Gift Voucher) mod + STS template mod.
** COMPLETE PACKAGE ** (I hate it when people don't give you all the files in a contrib... so I won't do that to you). :)
Updated for the following:
- OSC 2.2rc2a
- LightBox release v2.04 (released 9 March 2008)
download here: http://www.huddletogether.com/projects/lightbox2/#download
I got so frustrated with trying to get various mods to work together and keeping up with different components, I decided to release some of my work (to the community) in patching these items together.
I'm not a programmer by any means, but I've made some basic modifications which I learned through trial and error.
To install, replace fresh install of OSC 2.2rc2a with these files, or use Beyond Compare or similar to make changes as needed.
Hope this is also useful to others.
Regards,
RC
After receiving many requests I must clarify on the update posted on Dec18, 2007 by me.
This update is good for all your review pages so here it is again:
To add lightbox effect to your review pages including:
1. product_reviews.php
2. product_reviews_info.php
3. product_reviews_write.php
do the followings in each file:
FIND:
$product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image,
p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " .
TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and
p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'");
REPLACE WITH:
// BOF MaxiDVD: Modified For Ultimate Images Pack!
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description,
p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg,
p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2,
p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4,
p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6,
pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available,
p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where
p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id =
p.products_id and pd.language_id = '" . (int)$languages_id . "'");
// EOF MaxiDVD: Modified For Ultimate Images Pack!
FIND:
<link rel="stylesheet" type="text/css" href="stylesheet.css">
ADD BELOW:
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
FIND:
<script language="javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE,
'pID=' . $product_info['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'],
addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5"
vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' .
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'],
SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' .
TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
</noscript>
REPLACE WITH:
<!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->
<?php
if ($product_info['products_image_med']!='') {
$new_image = $product_info['products_image_med'];
$image_width = MEDIUM_IMAGE_WIDTH;
$image_height = MEDIUM_IMAGE_HEIGHT;
} else {
$new_image = $product_info['products_image'];
$image_width = SMALL_IMAGE_WIDTH;
$image_height = SMALL_IMAGE_HEIGHT;}?>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '"
rel="lightbox" title="'. $product_info['products_name'] . $product_info['products_model'] . '">' . tep_image
(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'],
ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' .
tep_image_button('image_enlarge.gif') . '</a>'; ?>
<!-- // EOF MaxiDVD: Modified For Ultimate Images Pack! //-->
That's it. Enjoy.
This is not a full package.
You need UltraPics 2.04 LightBox version first then perform UltraPics 2.04.1 LightBox version update then this update to take full advantage of this great add-on.
nimz
ps: file attached contains this info.
Included easypopulate file from Easy Populate 2.76f-MS2 (with attributes) r1 by Surfalot to work with the UltraPics 2.05 LightBox contribution. Only the script for Ultrapics was added the rest is left untouched!
More info in the readme file
Tested on osCommerce Online Merchant v2.2 Release Candidate 1
Clear Skies,
Gui
To add lightbox effect to your review pages do the followings:
FIND:
$product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image,
p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " .
TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and
p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'");
REPLACE WITH:
// BOF MaxiDVD: Modified For Ultimate Images Pack!
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description,
p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg,
p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2,
p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4,
p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6,
pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available,
p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where
p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id =
p.products_id and pd.language_id = '" . (int)$languages_id . "'");
// EOF MaxiDVD: Modified For Ultimate Images Pack!
FIND:
<link rel="stylesheet" type="text/css" href="stylesheet.css">
ADD BELOW:
<link rel="stylesheet" href="lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
FIND:
<script language="javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\'' . tep_href_link(FILENAME_POPUP_IMAGE,
'pID=' . $product_info['products_id']) . '\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'],
addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5"
vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' .
tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'],
SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' .
TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
</noscript>
REPLACE WITH:
<!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->
<?php
if ($product_info['products_image_med']!='') {
$new_image = $product_info['products_image_med'];
$image_width = MEDIUM_IMAGE_WIDTH;
$image_height = MEDIUM_IMAGE_HEIGHT;
} else {
$new_image = $product_info['products_image'];
$image_width = SMALL_IMAGE_WIDTH;
$image_height = SMALL_IMAGE_HEIGHT;}?>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '"
rel="lightbox" title="'. $product_info['products_name'] . $product_info['products_model'] . '">' . tep_image
(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'],
ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' .
tep_image_button('image_enlarge.gif') . '</a>'; ?>
<!-- // EOF MaxiDVD: Modified For Ultimate Images Pack! //-->
That's it. Enjoy.
This is not a full package.
You need UltraPics 2.04 LightBox version first then perform UltraPics 2.04.1 LightBox version update then this update to take full advantage of this great add-on.
nimz
ps: file attached contains this info.
This fixes a small bug in the previous release.
For full lightbox functionality perform this small update.
issue:
clicking on product thumbnail in product description page pops up a new window with the thumbnail in it.
fix: clicking on the thumbnail image will open a lightbox with the large version of the thumbnail image in it.
in product_info.php
FIND THIS CODE:
<script language="javascript"><!--
document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id'] . '&image=0') . '')">' . tep_image(DIR_WS_IMAGES . $new_image, addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '">' . tep_image(DIR_WS_IMAGES . $new_image . '&image=0', addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
</noscript>
AND REPLACE WITH:
CODE
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_med']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], ULT_THUMB_IMAGE_WIDTH, ULT_THUMB_IMAGE_HEIGHT, 'hspace="1" vspace="1"') . '<br>' . tep_image_button('image_enlarge.gif', TEXT_CLICK_TO_ENLARGE) . '</a>'; ?>
now keep this legend in mind when attaching images to your product:
Products Image: Main Image used in catalog & description page as a small thumbnail. This is the image you click on in the description page.
Bigger Image: is the image that you will see when you click on Main image.
Pop-up Image: do not use this image as you don't see this image apearing anywhere as it is meant to act as a pop up image with the regular UltraPics without the lightbox.
a tip: I set a thumbnail of my product image to Main image. although it will automatically show the image as a thumbnail regardless of size. I set a bigger size of the thumbnail to my bigger image to see it pop up in the lightbox when one clicks on the main page.
nimz
ps: You need UltraPics 2.04 + Lightbox version package first. File attached here is this same instructions in a text file.
This is the UltraPics 2.04 with Lightbox
I have merged the two installation packs (regular ultrapics and lightbox) to make things easier.
Corrected several bugs in additional_images.php
according to the specifications when small image x is available and large image x is available too
ultrapics should generate a thumbnail of small image x that pops up large image x upon clicking. but this didn't work properly as the "if condition" was worded wrong. These bugs were found in the regular UltraPics package and since the Lightbox package is based on UltraPics it carried the same bugs.
all fixed now.
Demo oscommerce equipped with Light Boxed Ultra Pics 2.04:
http://www.webgurustudio.net/osc/catalog
Lightbox2 Website:
http://www.huddletogether.com/projects/lightbox2/
nimz
Corrected several bugs in additional_images.php
according to the specifications when small image x is available and large image x is available too
ultrapics should generate a thumbnail of small image x that pops up large image x upon clicking. but this didn't work properly as the "if condition" was worded wrong. Complete explanation is included in bugfix.txt
This is a full package release including Virgin and Manual Install instructions.
Dec, 08, 2007
nimz
Just a small update in the 'install.txt' file to describe how to change also 'product_reviews_info.php'.
This also works perfectly with oscommerce-2.2rc1
PS : This contains only the 'install.txt' file, you need the previous package.
lightbox v2.03.3 for ultra images
demo: http://www.huddletogether.com/projects/lightbox2/
easy and beautiful...
Applied [Bug Fix]Category Image Removal
released with RC1
Put this file within 'ADMIN' folder
When using the virgin manual install, I had to run the SQL queries one at a time - pasting them into query browser all at once resulted in failures. Not sure if this is normal in MySql since I am more familiar with MSSQL. Running the queries one at a time works perfectly. Great contribution.
This is the same as the previous one except it includes a step by step manual installation for those who like me have a modfied shop.
This is a full virgin package, so it has all the necessary code to make it work, and not all the other contributions.
This is the clean installation of Ultrapics without all the other addons...
Added spanish enlarge image, and traductions on the admin.
All the code works perfectly ... very useful contribution... :) and the most easier to install contribution for images and newbies...
This is a moddified Easy Populate v2.76 suited for Ultra Pics
Spanish:
Esta es una modificacion de Easy populate v 2.76 MS2 para que funcione con Ultra pics.
Dudas y Sugerencias a:
aliadolito@hotmail.com
sorry, i cannot load complete my file on this system. here is the german button an the new german categories.php
Please send me a mail, wen you need
on Kontakt@cs-computer-shop.de
no credits for me
sorry here ist the zip-packet
UltraPics v1.0 - Addition Image Pack! MS2 - with german update
nur für diese Version, da am einfachsten zu installieren und lauffähig ist
german: schaue sreenshot
Als komplett Packet : alles installieren
als kleines Update für ultra_pics_v1.0
nun mit auf deutsch angepasster Sprachdatei ( categories.php) und neuen Button
dann:
ACHTUNG: die vorhande Datei categories. php in categoriesalt.php umbenennen bevor du die Dateien auswechselst.
Anleitung
gehe zu : catalog//admin/includes/languages/german und tausche die datei aus.
Neues Bild einfügen :
gehe zu:
catalogincludeslanguagesgermanbuttonsimages
suche
image_enlarge
lade per ftp-programm das "image_enlarge,gif" und ersetze es unter "
catalogincludeslanguagesgermanbuttonsimages" im Shop:
"image_enlarge,gif"
Anwendung getestet, aber übernehme keine Garantie ( bei mir läuft es ohne probleme)
englisch: look screenshot 1 and 2
Fullpack with: You kann icomplete nstall with
little update of ultra_pics_v1.0
update:
transleted the categories.php on german languages
Warning: rename your categories.php in categoriesold.php befor you change the new categories on your
shopsystem
got to:
catalog//admin/includes/languages/german and change the file "cateroies.php" with the new file
New Image in german
load on ftp-program the imgage : "image_enlarge,gif" an change this on your shop
catalogincludeslanguagesgermanbuttonsimages and change the to the new image
ist very easy, - I don't give any warrenty
No credits to me !
I encountered import errors using phpMyAdmin 2.5.3 because there were no single quotes where data was not needed. I added these quotes in the SQL file, and it imported perfectly. Use this file if you run into the same problem.
This a revised package, with bug fix's and a code clean up.
have tested 24-7 with flawless copy paste install on MS2.
Still - Requires Internet Explorer IE 5.5 or above for HTML WYSIWYG Editor and PHP Image manipulation tool to function correctly.
MaxiDVD.
This is a moddified Easy Populate suited for Ultra Pics - untested so please let me know if its not working in this forum.
http://forums.oscommerce.com/index.php?showtopic=65135
Cheers Lee
=======================================================================
28/NOV/2003
Changes:
THIS UPDATE IS SUITED ONLY FOR PEOPLE
WHO HAVE INSTALLED THE MAXIDVD WYSIWYG EDITOR CONTRIBUTION!!
Yale Yu [Quote]
I have one problem, if I only use small and large image, don't use extra images, in catalog,
everything shows as it should be, but in admin, lots of empty image icons shown, makes the page difficult to read.
MaxiDVD [Fixed]
Switch extra images on/off (admin)
Privewed products will only show IMAGES if they exist!! (no more empty icons)
Yale Yu [Quote]
another problem, it seems the WYSIWYG HTMLArea editor is disabled if use the admin/categories.php
file included in the zip file.
MaxiDVD [Fixed]
Made the alterations needed for this to function with HTML Editor
Made the alterations needed for this to function with PHP/WYSIWYG Image Browser.
Add New Admin command [SQL] under Configuration -> HTML WYSIWYG Editor for controlling PHP IMAGE UPLOADED.. (neat!)
Add New Admin command [SQL] under Configuration -> IMAGES for Enable/Disable of extra image fields .. (neat!)
Nick Spirov [Quote]
I think these both are essential (ULTRA PICS & WYSIWYG EDITOR), it would be the best if someone (Lee?) would make them in one package for MS2
MaxiDVD: [TO DO!]
=======================================================================
Fixed small problem with HTML Tables and Product Attributes, and some other small issues as mentioned in the forum:
/catalog/product_info.php (moved call: includes-modules/additional_images.php below Product Attributes)
/catalog/includes/modules/additional_images.php (fixed // comment notes - caused html problems)
/catalog/popup_image.php (Fixed popup window - Universal for all images)
/admin/includes/languages/english/categories.php (Added DEFINE basic usage steps text)
/admin/categories.php (Added TEXT basic usage steps text)
Errors with HTML tables when using Product Attributes now been fixed...
SEE TOPIC:
http://forums.oscommerce.com/index.php?showtopic=65135
SQL Script had a bug, fixed.
UltraPics v1.0 - Addition Image Pack! MS2
=========================================
This is the complete image solution for everyone using osCommerce MS2.
This allows adding of 8 more images to your Admin and Catalog,
basically a combination of SM,MED,LARGE+ and MoPICs+ with Lots of Nice Enhancements!
like,
* Add & Remove Additional Images via Admin Easy!
* (To POPUP! or NOT TO POPUP!) Have Pop up Windows or NOT!
* Image Preview when editing Products.
* Addition Images On and Off options in admin.
* Resize Option for specific images settings.
* Delete images permantly of server if not longer used. (Delete Disabled if more then 1 product Links to Image.)
* Nice clean look, tidy code.
* 3 Screen Shots Included in ZIP file. (See for your-self before installing!)
This package has been assembled on a New MS2 osCommerce Store (Nice Copy Paste Soloution for Lazy PPL with MS2).
I dont have the time or patients to write up a step-by-step guide atm ( perhaps later ).
Easiest way to install is basically -
========================================
MAKE A BACK OF THESE FILES:
admin/categories.php
admin/includes/languages/(Your-Language)/categories.php
catalog/product_info.php
catalog/popup_image.php
Copy the one's from the contribution overthem,
add the new file/s
catalog/includes/modules/additional_images.php
run the SQL script into your database with PHPMyAdmin or other DB Manager...
Thats it!................................................................
If you have already modified some othe above pages I sugest you
use code compare software to cut snippets, I have marked all my work with:
BOF MaxiDVD: and EOF MaxiDVD:
Back up your admin/categories.php file first!!
MaxiDVD :~)
