images
images
basically my users can have profile pictures.. now i have to sizes i need the profile size and then the music size.. thing is it fine on the profile ive set max height and max width but on the music page because the images are a lot smaller the image looks stretched i was wondering how i could stop this?
thanks
ash
thanks
ash
I would put a signature.. BUT, i don't have the time.
Re: images
You would need to have a larger version of the image to show when you need it, there is no way around it really.
Re: images
ho does fb do it then they av profile pic then wall post pic?
I would put a signature.. BUT, i don't have the time.
Re: images
i thought that but how would i do that? i just want the pictures not to be squadged up
I would put a signature.. BUT, i don't have the time.
Re: images
What do you mean
Instead of having one image, you would create two
Can you give more information as to the problem you are having ?
Instead of having one image, you would create two
Can you give more information as to the problem you are having ?
-
- Posts: 165
- Joined: Fri May 06, 2011 5:02 pm
Re: images
Set height and width.ashwood wrote:basically my users can have profile pictures.. now i have to sizes i need the profile size and then the music size.. thing is it fine on the profile ive set max height and max width but on the music page because the images are a lot smaller the image looks stretched i was wondering how i could stop this?
thanks
ash
You may need to create a new class to set the height and width though.
Re: images
jacek wrote:What do you mean
Instead of having one image, you would create two
Can you give more information as to the problem you are having ?
basically i want the images not to be stretched if the img tag size is say 35x35 but the image is 150x120 i want it to still look rite if you get that?
I would put a signature.. BUT, i don't have the time.
Re: images
So you wan tit to be cropped.
I guess you would have to do that with php when they upload the image to create the avatar, I explained it (ish) in the image gallery video.
I guess you would have to do that with php when they upload the image to create the avatar, I explained it (ish) in the image gallery video.
Re: images
any chance you could do a tutorial for this please mate, can't see it being time consuming? would be much appreciated
I would put a signature.. BUT, i don't have the time.
Re: images
does it show us how or just say you can do this blah like alex did that time where he said you can add security but basically im not gunna show you hahahajacek wrote:I have done the image gallery one, which has the resizing in it.
I would put a signature.. BUT, i don't have the time.
Re: images
I haven't watched the phpacademy one, but I tried to explain what was going on.ashwood wrote:does it show us how or just say you can do this blah like alex did that time where he said you can add security but basically im not gunna show you hahaha
Re: images
no worries ill look into it if i cant get around it then ill ask for a tut again.. thanks man
I would put a signature.. BUT, i don't have the time.