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.

round images for web

Featured Replies

OK. some people know I'm working at my first website. So far I'm done with the homepage design. It is done in photoshop.

I decided to use for navigation some round icons I designed (like buttons) to go to another pages in the website.

The problem is that when I hit save for web in photoshop, although there is no background in the psd file I designed the icons/buttons (white, red, etc.), the jpeg format automatically adds a white background. It is possible to save as gif or png BUT being round the image loses quality.

How should I save those round images so they can look good?

Is it ok if I add the icons to the psd file with the homepage (they will be placed on a gradient composed background) and then I crop a square with that icon and some of the background and then save for web as jpeg?

When the page will be coded clicking that jpeg link will make the margins of the image appear and people will know it is not round. Is there a css code for this to be avoid and what browsers support that?

 

10x

Image files are always rectangular. There are two ways to make a 'round' button. One is to fill the background with whatever background colour appears on your page. The other is to use transparency to mask off the corners. JPEG doesn't support transparency, though.. you have to use GIF or PNG. GIF files don't support levels of transparency (either a pixel is 100% transparent or it isn't) so the results can be quite jagged looking. PNG is better suited because you can have different levels of transparency, but IE6 and below don't support PNG use very well and you have to use a workaround to get them to show correctly.

  • Author

forgot to mention: I have 2 icons. a normal one and a second one with some filters added in photoshop for rollover effect.

  • 1 month later...

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.