Page 1 of 1
		
			
				[SOLVED] Image stretching
				
Posted: 
Mon Jun 19, 2006 8:51 amAuthor: atomhead
				Example attached.. 
Dug through the tpl files, cannot for the life of me figure out what the problem is. It works sometimes, doesn't in others.
[flash=,:jy7naeo6]http://discordiaguild.org/forumimgerror.gif[/flash:jy7naeo6]
			 
			
		
			
				Re: Image stretching with my Who Is Online pic and forum ico
				
Posted: 
Mon Jun 19, 2006 2:06 pmAuthor: Apocal
				It looks to me as though you have it set such that the image expands based on the block size.  (ie. your image size is not set to a specific size, but instead set to a percentage.  There by it allows the image to expand to fill the block.  In the image that you posted you will note that when you have text below it that the image looks proper, but when there isn't any text there it looks defunct.  Check the percentages in the code.  Can you post a section of that code so that we can see it?
Thanks,
-Rich
			 
			
		
			
				Re: Image stretching with my Who Is Online pic and forum ico
				
Posted: 
Mon Jun 19, 2006 3:00 pmAuthor: atomhead
				[code]            <td><img></td>            <td><img></td>            <td>            <span></span><span></span><span><a>100 posts</a></span> <span></span><span>              <br>WOO<br>               </span>            <span>                                                  </span>      </td>      <td><span><a>2</a></span></td>      <td><span><a>Skars</a></span></td>      <td><span>15</span></td>      <td><span><b>Yesterday</b> at 10]
Yeah I imagine it's doing something, I just can't figure out where in the tpl code I have to change it to fixed size (or remove sizing definition altogether). When I looked in the tpl, all it is is a reference to the graphic {FOLDER_IMG} or something.
			 
			
		
			
				
				
Posted: 
Mon Jun 19, 2006 3:05 pmAuthor: Adrian Rea
				Check the details in your template cfg file.
For example /templates/EQ2/EQ2.cfg
define(TEMPLATE_CONFIG, TRUE);  $current_template_images = $current_template_path . "/images";$topic_iw = '63';$topic_ih = '17';$post_iw = '82';$post_ih = '25';$icon_iw = '19';$icon_ih = '19';$folder_iw = '25';$folder_ih = '25';$folderbig_iw = '25';$folderbig_ih = '25'
the attributes of the image you are using is 35x19 px not 25x19
A
 
			
		
			
				Re: Image stretching with my Who Is Online pic and forum ico
				
Posted: 
Mon Jun 19, 2006 3:10 pmAuthor: atomhead
				AHA! Thanks so much <img>