Table width

Agatka
Agatka's picture

Joined: 2002-10-19
Posts: 140
Posted: Sat, 2002-10-19 19:50

Hi,

This might seem like a silly question but I don't know where to change the width of the table in which pictures show one by one. I was able to change this in the header and footer on the first two sites, where you have albums and all pictures in the album, but somehow can't firnd where to change it so that the page with the chosen picture has table with 80% widht vs. 100%.

Thanks

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sat, 2002-10-19 20:09

Hi... in v.1.31 (latest full release)

Check view_photo.php:

Line 284: <table border=0 width=<?=$mainWidth?> cellpadding=0 cellspacing=0>
Line 370: <table border=0 width=<?=$mainWidth?> cellpadding=0 cellspacing=0>
Line 436: <table border=0 width=<?=$mainWidth?> cellpadding=0 cellspacing=0>
Line 494: <table border=0 width=<?=$mainWidth?> cellpadding=0 cellspacing=0>

All of those should be fixable by changing $mainWidth:
Line 126: $mainWidth = "100%";

That should do it.

-Beckett (beck@beckettmw.com)

 
Agatka
Agatka's picture

Joined: 2002-10-19
Posts: 140
Posted: Sat, 2002-10-19 21:15

Great,

Thanks a lot :smile: