Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

move uploadfile and resize

Featured Replies

Hi all, i am building a cms that requires the images to be resised for a thumbnail's its not a problem to upload the file to the sever and stop unwanted files been uploaded i just cannot work out how to resize the images

 

thanks for any help

Hi all, i am building a cms that requires the images to be resised for a thumbnail's its not a problem to upload the file to the sever and stop unwanted files been uploaded i just cannot work out how to resize the images

 

thanks for any help

 

You will need to use a graphics library. The most popular and most commonly installed is the GD Library (GD Manual). You can check whether it's installed using phpinfo();.

 

I find that using the imagecopyresampled function is good for maintaining quality. Just look through the manual on the PHP site for functions you might need, theres a lot of examples on it :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.