|
skatealex2
////////////////


Registered: 07/04/08
Posts: 18,699
Last seen: 3 months, 25 days
|
How to resize an image to an exact size?
#19322591 - 12/24/13 06:59 PM (10 years, 1 month ago) |
|
|
Anyone have any ideas how to do it?
I'm trying to resize a image for a website but when resizing it, it doesn't go to the dimensions needed.
ANy ideas?

Thanks
|
pwnasaurus
Stranger



Registered: 07/16/08
Posts: 12,317
Loc: Canada
|
Re: How to resize an image to an exact size? [Re: skatealex2]
#19322599 - 12/24/13 07:01 PM (10 years, 1 month ago) |
|
|
GIMP
http://www.gimp.org/
or if you're on OS X you can just use Preview - it's bundled with the OS.
|
teamkiller
ghetto drama whore



Registered: 06/06/11
Posts: 8,806
Last seen: 3 months, 12 days
|
Re: How to resize an image to an exact size? [Re: pwnasaurus]
#19322609 - 12/24/13 07:05 PM (10 years, 1 month ago) |
|
|
.whatever { background-image:url(***put ur image link here nob***); background-size:contain; height:whatever%; width:whatever%; }
--------------------
|
skatealex2
////////////////


Registered: 07/04/08
Posts: 18,699
Last seen: 3 months, 25 days
|
Re: How to resize an image to an exact size? [Re: teamkiller]
#19322617 - 12/24/13 07:06 PM (10 years, 1 month ago) |
|
|
Thanks. I'll try those out.
|
pwnasaurus
Stranger



Registered: 07/16/08
Posts: 12,317
Loc: Canada
|
Re: How to resize an image to an exact size? [Re: skatealex2]
#19322658 - 12/24/13 07:15 PM (10 years, 1 month ago) |
|
|
If you image is very large you should resize it first otherwise you are forcing your client to download a large image file for no reason.
|
skatealex2
////////////////


Registered: 07/04/08
Posts: 18,699
Last seen: 3 months, 25 days
|
Re: How to resize an image to an exact size? [Re: pwnasaurus]
#19322665 - 12/24/13 07:17 PM (10 years, 1 month ago) |
|
|
Word. I guess for that I can use a resize image website or something and make it a smaller file.
|
Ballerium
Little Black Spot on the Sun



Registered: 10/03/10
Posts: 11,025
Loc: GA
|
Re: How to resize an image to an exact size? [Re: skatealex2]
#19322670 - 12/24/13 07:17 PM (10 years, 1 month ago) |
|
|
Quote:
skatealex2 said: Anyone have any ideas how to do it?
I'm trying to resize a image for a website but when resizing it, it doesn't go to the dimensions needed.
ANy ideas?

Thanks
Not exactly sure what you mean..maybe you have the lock aspect ratio/constrain proportions box checked?
-------------------- Beats and waves will take me to my grave and when I go there I know that I won't be alone 'cause I've been spotted, blotted, many many times before.
|
skatealex2
////////////////


Registered: 07/04/08
Posts: 18,699
Last seen: 3 months, 25 days
|
Re: How to resize an image to an exact size? [Re: Ballerium]
#19323030 - 12/24/13 08:14 PM (10 years, 1 month ago) |
|
|
Quote:
Ballerium said:
Not exactly sure what you mean..maybe you have the lock aspect ratio/constrain proportions box checked?
Yeah. Online and on windows it would change the size proportionally, now on Mac it looks like making it wider stretches it out too much, id just wana add white to the sides of it so it comes out in middle of the page. It is a little confusing doing this, could be photoshopw ould be ideal for editing an image like this. Edit- found a bigger image of the product, guess it could take some messing around with to size it right.
Edited by skatealex2 (12/24/13 08:20 PM)
|
pwnasaurus
Stranger



Registered: 07/16/08
Posts: 12,317
Loc: Canada
|
Re: How to resize an image to an exact size? [Re: skatealex2]
#19323070 - 12/24/13 08:24 PM (10 years, 1 month ago) |
|
|
You're being extremely unclear on what your issue is but I suggest reading up on CSS.
http://www.w3schools.com/css/
|
teamkiller
ghetto drama whore



Registered: 06/06/11
Posts: 8,806
Last seen: 3 months, 12 days
|
Re: How to resize an image to an exact size? [Re: skatealex2]
#19323080 - 12/24/13 08:26 PM (10 years, 1 month ago) |
|
|
Quote:
skatealex2 said:
Quote:
Ballerium said:
Not exactly sure what you mean..maybe you have the lock aspect ratio/constrain proportions box checked?
Yeah. Online and on windows it would change the size proportionally, now on Mac it looks like making it wider stretches it out too much, id just wana add white to the sides of it so it comes out in middle of the page. It is a little confusing doing this, could be photoshopw ould be ideal for editing an image like this. Edit- found a bigger image of the product, guess it could take some messing around with to size it right.
whatever { background-image:url(***put ur image link here nob***); background-size:contain; height:whatever%; width:whatever%; margin: 0 auto; }
--------------------
|
skatealex2
////////////////


Registered: 07/04/08
Posts: 18,699
Last seen: 3 months, 25 days
|
Re: How to resize an image to an exact size? *DELETED* [Re: teamkiller]
#19323192 - 12/24/13 08:49 PM (10 years, 1 month ago) |
|
|
Post deleted by skatealex2Reason for deletion: Drrrrr
|
SkeletalSpore
♥$♄ґ◎◎мεя⑂♥



Registered: 01/25/13
Posts: 602
Loc: Lake Titicaca, Canada
Last seen: 5 years, 7 months
|
Re: How to resize an image to an exact size? [Re: skatealex2]
#19323361 - 12/24/13 09:21 PM (10 years, 1 month ago) |
|
|
Edited by SkeletalSpore (12/24/13 09:22 PM)
|
|