Giter Club home page Giter Club logo

Comments (6)

uyab avatar uyab commented on May 24, 2024

What font do you used?

from avatar.

xoco70 avatar xoco70 commented on May 24, 2024

Sorry for late answer!

"Open Sans", Helvetica Neue, Helvetica, Arial, sans-serif

And I use

Avatar::create(Auth::getUser()->email)->toBase64()

to create it

from avatar.

uyab avatar uyab commented on May 24, 2024

Can you show how exactly your avatar config file look like?

from avatar.

xoco70 avatar xoco70 commented on May 24, 2024

yep, no problem:

`

false, 'uppercase' => true, // Image shape: circle or square 'shape' => 'circle', // Image width, in pixel 'width' => 100, // Image height, in pixel 'height' => 100, // Number of characters used as initials. If name consists of single word, the first N character will be used 'chars' => 1, // font size 'fontSize' => 48, // Fonts used to render text. // If contains more than one fonts, randomly selected based on name supplied // You can provide absolute path, path relative to folder resources/laravolt/avatar/fonts/, or mixed. 'fonts' => ['OpenSans-Bold.ttf', 'rockwell.ttf'], // List of foreground colors to be used, randomly selected based on name supplied 'foregrounds' => [ '#FFFFFF', ], // List of background colors to be used, randomly selected based on name supplied 'backgrounds' => [ '#f44336', '#E91E63', '#9C27B0', '#673AB7', '#3F51B5', '#2196F3', '#03A9F4', '#00BCD4', '#009688', '#4CAF50', '#8BC34A', '#CDDC39', '#FFC107', '#FF9800', '#FF5722', ], 'border' => [ 'size' => 1, ``` // border color, available value are: // 'foreground' (same as foreground color) // 'background' (same as background color) // or any valid hex ('#aabbcc') 'color' => 'foreground', ``` ], ]; `

from avatar.

uyab avatar uyab commented on May 24, 2024

Can you confirm that you have installed laravolt/avatar version 1.8.0 (https://github.com/laravolt/avatar/releases/tag/1.8.0) ?

from avatar.

xoco70 avatar xoco70 commented on May 24, 2024

This was the issue! Installed it for 5.1! Txxx

from avatar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.