Post pictures any size:
I picked this trick up using the "View Source" method in MoapaPk's quote above. Sometimes (well often) I want to put a photo on a mountain page but not be constrained to a thumbnail, small, medium, or large size. There are several ways to insert photos adjusted to any size you want, but the code below will let you do so while keeping the standard frame around the photo we are all familiar with on SummitPost pages.
- Code: Select all
<center><div class='thumb'><div style='width:XX2px;'><a href='/view_object.php?object_id=??????'><img width='XX0' src='/images/large/??????.jpg'></img></a><div class='thumbcaption'><div class='magnify' style='float: right;'><a href='/view_object.php?object_id=??????' title='Enlarge'><img src='/images/layout/abby/magnify.gif' alt='Enlarge'></img></a></div>PHOTO CAPTION HERE</div></div></div></center>
This places the photo in the center. For left or right alignment take out the word center and the symbols around it at the beginning and end of the code. The replace 'thumb' with 'thumb tright' or 'thumb tleft'.
Replace the ?????? with the image ID. Replace the XX0 and XX2 with the image width you would like, keeping the first number two pixels higher ('500' and 502px for example). Then write the photo caption in the appropriate place.