Git Product home page Git Product logo

Comments (11)

mabasic avatar mabasic commented on July 22, 2024 1

My mistake, use $comment->commenter->db_image to get the db_image from the user who posted the comment.

from comments.

softtechnoes avatar softtechnoes commented on July 22, 2024 1

Yeah!! now $comment->commenter->db_image working smoothly, thanks for giving me time :)

from comments.

aqiltariq avatar aqiltariq commented on July 22, 2024

@mabasic can you let us know how to change the image? I have to do it urgent for some work as it is one of the best laravel comment plugin

from comments.

mabasic avatar mabasic commented on July 22, 2024

Hello, I have been thinking about this, but currently it is not possible.

User image is obtained from Gravatar based on the user email. In the future, I could implement a system that would allow setting the image from a column in the database.

Going to add it to the board.

from comments.

aqiltariq avatar aqiltariq commented on July 22, 2024

Thank You.
After this it will make the most effective laravel comment package.

from comments.

mabasic avatar mabasic commented on July 22, 2024

Fixed in version 2.0.0

You can now publish the views and change them however you want. See the readme for more info.

from comments.

softtechnoes avatar softtechnoes commented on July 22, 2024

Hey ! We are not able to change profile picture of commenter... can you tell us how can we fixed it, Please !!!

from comments.

mabasic avatar mabasic commented on July 22, 2024

@softtechnoes

Use this to publish the views

Then inside resources/views/vendor/laravelista/comments change this line to where you keep your image for the user.

from comments.

softtechnoes avatar softtechnoes commented on July 22, 2024

that line only showing the online avatar but I don't want that, I want my user's pictures stored in db and I've already publish the views

from comments.

mabasic avatar mabasic commented on July 22, 2024

Replace src attribute value with your own. For example: src="{{ asset('images/' . $user->db_image) }}"

from comments.

softtechnoes avatar softtechnoes commented on July 22, 2024

that will show same images for all comments

from comments.

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.