-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image is not showing in cards pls solve this problem #22
Comments
Bro I too encountered the same issue.... finally found the bug and resolved! |
I tried copy the image address but this thing not work for my code please give me proper explanation and code |
okay bro.. if your code is the one u have posted above then change this part hope this may resolve that |
Replace your "/listings" route with this |
can u send me your whole project till now .code zip file or github repository link here |
Thanks for reaching out. You can fork the repository from the link I shared: Forking allows you to create your own copy of the project in your GitHub account. From there, you can make changes and improvements as needed. Let me know if you face any issues! 🚀 |
same problam broo |
image not showing |
Check for the link you are pasting .... It should be the image link not the webpage link ... And also check the command for accessing the link ....<listing.image.url> |
phase 1 part b mai hai bug |
<% layout("/layouts/boilerolate.ejs") %> All Listings
|
Bro is that gifs results of 100 + 50 are declared and where we can see
it???
…On Sat, 4 Jan, 2025, 10:01 pm Umar-Muntazeer, ***@***.***> wrote:
<% layout("/layouts/boilerolate.ejs") %>
All Listings
<!-- <form method="GET" action="/listings/new">
<button>Create New Listing</button>
</form> -->
<%for(let listing of allListings ){%>
<div class="card" style="width: 18rem;">
<img src="<%= listing.image %>" class="card-img-top" alt="">
<div class="card-body">
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
</div>
</div>
<%}%>
<ul>
<%for(let listing of allListings ){%>
<li> <a href="/listings/<%= listing._id %>" ><%= listing.title %></a></li>
<%}%>
</ul>
—
Reply to this email directly, view it on GitHub
<#22 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BL4VVLAI7FRM4TZOPF7EKVT2JAEGPAVCNFSM6AAAAABSHUMOVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNZRGM2DSMJYGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Umar dm me on discord wil help u there... |
I tried very hard but image is not showing in cards
@apna-college please solve this problem as soon as possible
<% layout("/layouts/boilerplate") %>
All Listings
please solve this problem @apna-college
The text was updated successfully, but these errors were encountered: