osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Create image box?

This is a discussion on Create image box? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi i was searching on google on "how to create new boxs" and i came across this website. From the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-25-2006, 03:44 PM
New Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Foax_19 is on a distinguished road
Default Re: Images Path ...

Hi i was searching on google on "how to create new boxs" and i came across this website. From the information above ive found out how to create new boxes. But i dont want another informaton box, i want another box were i can put just images. Please help me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-25-2006, 05:52 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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 Re: Create image box?

See this :
osCommerce Documentation by OSCdox :: osCommerce and osCMax installation and users manual, discussion forums (phpWiki)

Instead of adding hyperlinks, just add an image...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #3  
Old 12-26-2006, 07:43 AM
New Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Foax_19 is on a distinguished road
Default Re: Create image box?

how do i add an image, is thier a code i have to add, i chnaged the hyperlink to an image url put it hasent put it on.

Last edited by Foax_19; 12-26-2006 at 07:48 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-26-2006, 08:08 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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 Re: Create image box?

Post the code you are using. Just add straight html <img src> tags for your images, correctly formatting them to work with php code, and make sure the path to your image is correct.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
  #5  
Old 12-26-2006, 02:53 PM
New Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Foax_19 is on a distinguished road
Default Re: Create image box?

This is the code im using,

<tr>
<td><img src="http://jamesranch.net/images/why-grass.jpg"></td>
</tr>

but when i put it in the image goes below the box but i want it in the box.

Last edited by Foax_19; 12-26-2006 at 03:04 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-26-2006, 03:40 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 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 Re: Create image box?

You can't just dump html into the php file and expect it to work. You need to add it correctly into the $info_box_contents array:

Change this :
PHP Code:
$info_box_contents[] = array('align' => 'left',
                               
'text'  => '<a href="' tep_href_link
 
(FILENAME_TESTPAGE1'''NONSSL') . '">' BOX_TEST_LINK1 '</a><br>' .
                                          
'<a href="' tep_href_link
 
(FILENAME_TESTPAGE2'''NONSSL') . '">' BOX_TEST_LINK2 '</a><br>' .
                                          
'<a href="' tep_href_link
 
(FILENAME_TESTPAGE3'''NONSSL') . '">' BOX_TEST_LINK3 '</a><br>' .
                                          
'<a href="' tep_href_link
 
(FILENAME_TESTPAGE4'''NONSSL') . '">' BOX_TEST_LINK4 '</a>' 
To something like this:

PHP Code:
 $info_box_contents[] = array('align' => 'left',
                               
'text'  => '<img src="url/to/image">'); 
It shows exactly how add links in the tutorial. Just add your image code in the same way.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • 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. Default multi server configuration for exceptional performance!

  • 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!
The Following User Says Thank You to michael_s For This Useful Post:
Foax_19 (12-26-2006)
  #7  
Old 12-26-2006, 03:46 PM
New Member
 
Join Date: Dec 2006
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
Foax_19 is on a distinguished road
Default Re: Create image box?

Thank you for your help, it's worked.

Last edited by Foax_19; 12-26-2006 at 04:00 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-26-2006, 03:58 PM
osCMax Testing Team
 
Join Date: Dec 2005
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
c.h.u.d.
Default Re: Create image box?

Quote:
Originally Posted by michael_s View Post
PHP Code:
 $info_box_contents[] = array('align' => 'left',
                               
'text'  => '<img src="url/to/image">'); 
It shows exactly how add links in the tutorial. Just add your image code in the same way.
He already did...
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
Create image box in a pre-made template? Foax_19 osCommerce 2.2 Modification Help 5 12-27-2006 02:48 PM
Products image missing popup image islander osCMax v2 Installation issues 7 08-10-2005 01:30 PM
Categories box. How can I create a new one (or two...)?? Csc osCommerce 2.2 Modification Help 1 01-15-2005 03:20 PM
Where to create /tmp for sessions breag osCommerce 2.2 Installation Help 10 12-15-2002 09:23 PM
How to create sub-menu? RickeyN osCommerce 2.2 Modification Help 0 11-10-2002 10:56 PM


All times are GMT -8. The time now is 07:37 PM.


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