• Would it make sense to change current white dot to a transparent one?

    Problem is on dark background dot is more visible than it should be. Not biggest web dev. problem but still, once you notice…

    So I converted white dot to normal gif, made it transparent, compressed and converted back to base64. Not much difference in size, image is 62 bytes after compression – white dot image is 35 bytes. Here is code snippet in bj-lazy-load.php with original white dot commented out.

    //				$this->_placeholder_url = 'data:image/gif;base64,R0lGODdhAQABAPAAAP///wAAACwAAAAAAQABAEACAkQBADs=';
    				$this->_placeholder_url = 'data:image/gif;base64,R0lGODlhAQABAHAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCgABACwAAAAAAQABAIAAAACAgIACAkwBADs=';

    https://wordpress.org/plugins/bj-lazy-load/

  • The topic ‘Make placeholder dot transparent?’ is closed to new replies.