Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Background images in product description?


Guest

Recommended Posts

When I add a backround image to the product desription it does not show when the changes are saved?

 

You can see the background image in the products description box in the preview page.

Link to comment
Share on other sites

How are you doing this? Are you using FCK or similar?

 

In general you have to add code to product_info & new entries in dbase to achieve this.

 

If you have FCK you can achieve it by creating a table and adding the parameter (in view source)

background="/catalog/userfiles/../images/mypic.jpg"

 

Then put the rest of your content in that table.

 

FCKeditor for Product Descriptions http://addons.oscommerce.com/info/2900

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

How are you doing this? Are you using FCK or similar?

 

In general you have to add code to product_info & new entries in dbase to achieve this.

 

If you have FCK you can achieve it by creating a table and adding the parameter (in view source)

background="/catalog/userfiles/../images/mypic.jpg"

 

Then put the rest of your content in that table.

 

FCKeditor for Product Descriptions http://addons.oscommerce.com/info/2900

 

I added the background image in dreamweaver cs3 and simply copied the code over to the product description.

 

I have WYSIWYG Editor 1.7 installed already, is the FCKeditor WYSIWYG editor different?

Link to comment
Share on other sites

I added the background image in dreamweaver cs3 and simply copied the code over to the product description.

 

I have WYSIWYG Editor 1.7 installed already, is the FCKeditor WYSIWYG editor different?

 

I don't know WYSIWYG Editor 1.7, there are quite a few for osC, I believe FCK is the best, but I havent tried them all.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

In general you have to add code to product_info & new entries in dbase to achieve this.

 

Do you know what code I should add and where?

Link to comment
Share on other sites

Simply add a new table, or layer may be better & add backround tag like background="<?php echo DIR_WS_HTTP_CATALOG . DIR_WS_IMAGES . $page['page_image']; ?>"

 

Ofcourse you have to add code to admin to put the picture data in there, plus modify the table in your dbase. You have a little work to do.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...