Log In · Register

 
 
Closed TopicStart new topic
image in comments resize code, not resizing all my images
helpmeout
post Apr 29 2006, 09:57 AM
Post #1


Senior Member
***

Group: Member
Posts: 80
Joined: Aug 2004
Member No: 44,902



I found and used the code in scripts that is used to resize the images posted in the comments so that the tables won;t get stretched. but it's only resizing some of my images. it's not resizing the animated gifs that are also active links. my page is http://www.myspace.com/glowpop if you would like to see what i mean. anyway to resize these images? =/ thanks
 
GREASEbaby
post Apr 29 2006, 10:08 AM
Post #2


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



Try resizing the width/height to something more that you want:

CODE
<style type="css/text">table table table table table img {max-width:295px;} * html table table table table table img {width:200px !important;} table table table table table a img {width: auto !important}</style>
 
helpmeout
post Apr 29 2006, 10:23 AM
Post #3


Senior Member
***

Group: Member
Posts: 80
Joined: Aug 2004
Member No: 44,902



ok, i just tried changing the maximum number around but it didn't do anything. any other ideas?
 
GREASEbaby
post Apr 29 2006, 10:28 AM
Post #4


What's my name? Janette. and ily. <3
******

Group: Member
Posts: 2,139
Joined: Apr 2006
Member No: 391,911



My only other one is to delete the ones with big images in them.. _unsure.gif
 
freeflow
post Apr 29 2006, 01:28 PM
Post #5


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



QUOTE(helpmeout @ Apr 29 2006, 8:23 AM) *
ok, i just tried changing the maximum number around but it didn't do anything. any other ideas?

Use this:
CODE
<style type="text/css">
td.text td.text table table table td a img {width:100px;}
td.text td.text table table table td div img {width:80px;}
td.text td.text table table td img {width:260px; max-width:260px; width:auto;}
td.text td.text table table td div img {width:80px;}
* html td.text td.text table table td img {width:260px;}
* html td.text td.text table table td a img {width:90px;}
* html td.text td.text table table td div img {width:80px;}
</style>
 
helpmeout
post May 12 2006, 10:19 PM
Post #6


Senior Member
***

Group: Member
Posts: 80
Joined: Aug 2004
Member No: 44,902



when i put that last code in, it doesn't resize any of my images at all. :-/ where am i supposed to put that code?
 
freeflow
post May 12 2006, 10:20 PM
Post #7


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Put the code in your myspace so we can see.
Did you put my code in or "i own your face's" code?


Edit/ The code did work.
Look at the following comments:
El Phantom on 2/28/2006 12:31 PM
Mrs. Skittles on 3/17/2006 10:43 AM

Both images got shrinked beacuse they were too big and your comments are normal size.
 
helpmeout
post May 12 2006, 11:01 PM
Post #8


Senior Member
***

Group: Member
Posts: 80
Joined: Aug 2004
Member No: 44,902



oh ok, i guess it just wasn't working in the browser i was viewing it through at first.

but is there a way to manipulate/change the numbers so that my images are resized both length and width, evenly? while some of the images are resized normally, others are "squished" horizontally, distorting the image.
 
freeflow
post May 12 2006, 11:08 PM
Post #9


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



All you do is play around putting the same widths throughout the code.
When you have the same width for example 50
it will make the image 50 x 50
 
helpmeout
post May 12 2006, 11:26 PM
Post #10


Senior Member
***

Group: Member
Posts: 80
Joined: Aug 2004
Member No: 44,902



sorry, i'm still confused. so what would i change the numbers to so that the images in the following comments aren't distorted?:

peace rainbow: 4/5/2006 9:04 PM

peace rainbow: 3/17/2006 9:48 AM
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: