Giter VIP home page Giter VIP logo

Comments (7)

PovilasKorop avatar PovilasKorop commented on August 23, 2024 1

@tahseenjamal https://quickadminpanel.com/blog/why-its-important-to-change-app_url-in-laravel-env-file/

from quickadminpanel-classifieds-directory.

PovilasKorop avatar PovilasKorop commented on August 23, 2024 1

@tahseenjamal thanks for sharing.

from quickadminpanel-classifieds-directory.

tahseenjamal avatar tahseenjamal commented on August 23, 2024

@PovilasKorop
All pages image is showing except for http://my.domain.com/categories/1
at this point it is not showing

by the way I had to also create symbolic link of storage in public folder even after correct the localhost replace with FQDN

from quickadminpanel-classifieds-directory.

PovilasKorop avatar PovilasKorop commented on August 23, 2024

@tahseenjamal can you right-click on that image and see what is the full URL of that image? Sorry I can't debug it on your server.

from quickadminpanel-classifieds-directory.

PovilasKorop avatar PovilasKorop commented on August 23, 2024

@tahseenjamal oh right, it's trying to show the whole JSON of the object instead of a URL. Then you just need to edit show.blade.php file to show the correct data. Sorry we don't have time to fix it at the moment, please fix and make a pull request if you have time.

from quickadminpanel-classifieds-directory.

tahseenjamal avatar tahseenjamal commented on August 23, 2024

@PovilasKorop thanks for pointing to the correct file. I resolved the it. It was a very small change, let me know if you want me to share it

from quickadminpanel-classifieds-directory.

tahseenjamal avatar tahseenjamal commented on August 23, 2024

Sharing git difference after I made the change that resolved the issue

`
diff --git a/resources/views/mainTable/category.blade.php b/resources/views/mainTable/category.blade.php
index 896c358..8626a5c 100644
--- a/resources/views/mainTable/category.blade.php
+++ b/resources/views/mainTable/category.blade.php
@@ -98,7 +98,7 @@



  •                                    @if($singleCompany->logo)<a href="{{ route('company', [$singleCompany->id]) }}"><img class="card-img-top img-fluid" src="{{ asset(env('UPLOAD_PATH').'/thumb/' . $singleCompany->logo) }}"/></a>@endif
    
  •                                    @if($singleCompany->logo)<a href="{{ route('company', [$singleCompany->id]) }}"><img class="card-img-top img-fluid" src="{{ $singleCompany->logo->getUrl()) }}"/></a>@endif
                                       </div>
                                       <div class="card-body">
                                           <h4 class="card-title"><a href="{{ route('company', [$singleCompany->id]) }}">{{$singleCompany->name}}</a></h4>
    

@@ -125,4 +125,4 @@

-@Stop
`

from quickadminpanel-classifieds-directory.

Related Issues (2)

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.