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.

PNG Transparency problem

Featured Replies

Hey guys,

 

I'm working on a project involving parralax. I have a page (or scene if you will) which has multiple Images in a list. My problem is that on a screen with a resolution of 1920x1080 pixels a part of the page turns black. I have been trying to fix this issue by using PNG24 which apparently is best for having resized images with transparency, but alas, it didn't work for me.

 

In addition, the logo also disappears when using the parralax when using the parralax.

 

This freak like issue (it is to me anyways) is only happening on Chrome. Firefox, Safari and the other major browsers perform fine with these images.

 

Any help would be very much appreciated.

 

the URL is: http://66943.glr-imd.nl/project

Edited by SimpleSucces

Very beautiful graphics. I don't know what can be causing the problem but I know png images can be saved with color values for a transparent background and even for individual fully transparent pixels. If you try to change some of those settings in and save the images again it might help.

I tried to download one of your images and save it again with gimp and this dialogue showed up (see attached image). As you can see the background and transparent pixel colors are checked so maybe the original image has a black background that somehow becomes opaque when the are layered in the browser.


post-54241-0-69645300-1392843830_thumb.png

Edited by Nillervision

  • Author

its fine for me on FF at 1920x1080

 

Yeah as i said in the original post, it's only on Chrome.

  • Author

Very beautiful graphics. I don't know what can be causing the problem but I know png images can be saved with color values for a transparent background and even for individual fully transparent pixels. If you try to change some of those settings in and save the images again it might help.

I tried to download one of your images and save it again with gimp and this dialogue showed up (see attached image). As you can see the background and transparent pixel colors are checked so maybe the original image has a black background that somehow becomes opaque when the are layered in the browser.

attachicon.gifsave-dialogue.png

 

Thanks for your insight, i've tried saving it with GIMP but the image quality turned out really bad because of the transparency pixels. If you don't check that it will just use the color in full opacity, therefore messing up the image basically. I might just set a max-width for Chrome browsers if this keeps up, but i will try to find another solution if there is one.

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.