osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

add extra image settings width height etc, any info?

This is a discussion on add extra image settings width height etc, any info? within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; Hello yall, How involved is it to add extra image width and height settings? I know that I will need ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-20-2004, 06:48 PM
Active Member
 
Join Date: May 2004
Location: worcester ma
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
fridgemags
Default add extra image settings width height etc, any info?

Hello yall,

How involved is it to add extra image width and height settings?

I know that I will need to add the columns in the DB and add it to the images in the website. Is there any other code I need to add?

What I would like to do is add a col_image_width and col_image_height setting so that I can control the product images in the left and right columns seperate of everything else.

And also another setting to control the image on the product_info pages seperately.

Any info or ideas? Hidden code I should be looking for?

Thanx in advance for any help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-20-2004, 09:03 PM
Active Member
 
Join Date: May 2004
Location: worcester ma
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
fridgemags
Default

ok yall

I figured this out.

All you have to do is add the configuration values to the database.

Steps to add to database.

1. Open your db with phpmyadmin or equivalent.

2. Open the "configuration" table.

3. Click add new row

4. Add the following info as follows.

configuration_title = just a quick description for your own use.

configuration_key= example COL_IMAGE_WIDTH this is the value that will be used in your php files to control the image sizes dynamically. such as if you open the file whats_new.php you will see in the image string some code that looks like "SAMLL_IMAGE_WIDTH" change this to "your configuration_key'

configuration_group_id= set this to 4. this will allow you to set the image size from the admin panel under Images.

configuration_id = must be a unique number.

configuration_description= this is just for your own notes. it tells you or any other db programmer what the value is doing and controlling in the shop.


next step.

after you get the new row in the db setup. go into your admin panel under "Images" and you should see a new setting for an image size.


now you can control the image size from this value.

checkout www.fridgemags.com for examples of what I have done this for.

the column left and right image sizes are independant. and the product info pages image sizes are independant.

I hope this makes some sense to yall.

Sometimes I do not even understand the ramblings in my own head.

later
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
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
image headers in info boxes? Dragonmom osCMax v2 Customization/Mods 4 12-20-2006 08:13 AM
how do i alter the width of the info boxes??? tafkap osCMax v2 Customization/Mods 2 02-21-2006 02:26 AM
Extra pages-info box w/ admin modMan7 osCMax v1.7 General Mods Discussion 2 03-30-2005 06:16 AM
how do I increase the width of the info boxes ? twinklep osCommerce 2.2 Modification Help 1 09-09-2004 09:38 PM
Changing Info Box width DebbieG osCMax v1.7 Discussion 1 10-05-2003 07:21 PM


All times are GMT -8. The time now is 04:25 PM.


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