Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Question about tmp_product.htm
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Goalie35
Starting Member

27 Posts

Posted - May 03 2004 :  10:45:29  Show Profile  Reply with Quote
I have a question about adjusting the image on the page tmp_product.htm.

I'm trying to align the table that contains the image([extendedimage]) differently but I can't seem to shrink down the <td> containing "[extended image]" no matter what I do. So I'm figuring there's something contained in the code located on another page that sets this [extended image] to a certain width and this is why the <td> won't shring any more.

The only problem is I can't seem to find this code. I've located where the code queries the "products" table to retrieve the value of "extendedimage" and sets it to "strextendedimage" ("shop$db.asp") but I can't seem to find where the code is using this "strextendedimage".

Does anyone know where this code portion is located to I can adjust the width of this "[extended image]"?
Thanks in advance.

-goalie35


devshb
Senior Member

United Kingdom
1904 Posts

Posted - May 03 2004 :  17:34:25  Show Profile  Visit devshb's Homepage  Reply with Quote
it's all in the tmp_product.htm file i think; try to change
the <td width="50%"> to <td width="10%"> or similar for the 2nd column.
this <td width="50%"> is used 4 times in the template, try changing the 2nd mention of it to 10% and then on the 3+4th, change:

<td width="50%"></td>
<td width="50%"><font face="arial" size="3" color="black">[extendeddesc]
</font>
</td>

to:

<td width="95%" colspan=2>
<font face="arial" size="3" color="black">[extendeddesc]
</font>
</td>

i always end up completely reformatting the template html tables so that they fit in better with people's preferred formats.

if you want to just make the actual images smaller/standard-sizes, then just change:
<img border="0" src="[extendedimage]">

to something like:
<img border="0" src="[extendedimage]" width="50">


Simon Barnaby
Freelance Developer
Java-E UK
[email protected]


Edited by - devshb on May 04 2004 04:00:55

Edited by - devshb on May 04 2004 04:02:01
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00