Jump to content

how to resize a photo after uploading on my website?


Recommended Posts

hi, i am building a website and i have an option for uploading photos on it.but i am not understanding if the photo size is too big... then when i view the photo it will be screening very big.....Is there any option for resizing the photo using javascript or php or anything.. just like facebook does... when any one uploads a photo the facebook auto adjusts the picture on viewing frame.. how can i do this?can any one help? plzzz...

Link to comment
Share on other sites

How are you building the website? Using HTML/CSS and building it yourself? Or building it using a tool that your web hosting provides?

 

If you are building it yourself, your best bet is to use a graphics editing program like Photoshop (or similar) to resize the image first, before you upload it. If you are using a tool that the web host provides, it may have resizing functionality... but I can't really tell without knowing what you are using and doing some research.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...