Adding Image to Footer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Still can't see it, I can see wwwroot as added the picture, just no obvious thing in the list saying Views? I'm on version 4.2
4 years ago
or any of these words when I go into via ftp: Views > Shared > Components > Footer > Default.cshtml
4 years ago
Andy007 wrote:
or any of these words when I go into via ftp: Views > Shared > Components > Footer > Default.cshtml


Are you joking here?
4 years ago
I can't see it, do you mean log into my server with ftp and look under wwwroot, it is not worded this way at all, i'm on v.4.2
4 years ago
Those directories are on the same level as wwwroot. So you need to change the login location
4 years ago
zh-Hant is where mine stops, still can't see where to look. I wish I could even add a screenshot here, but it won't let me even do that!
4 years ago
I may have found it, I tried below, but no luck.
<script>
<img src="http://shophere.co.uk/wwwroot/wwwroot/images/uploaded/paypal_visa_mastercard_logo.jpg/images/myFolder/myImage.ext" />
</script>
4 years ago
Andy007 wrote:
I may have found it, I tried below, but no luck.
<script>
<img src="http://shophere.co.uk/wwwroot/wwwroot/images/uploaded/paypal_visa_mastercard_logo.jpg/images/myFolder/myImage.ext" />
</script>

Oh you are a genius.
4 years ago
Why don't you get lost with your stupid comments, I'm not a f..ing web developer, I'm trying, it's all new to me
4 years ago
That code is a bit confused - here is an edit for
src\Presentation\Nop.Web\Views\Shared\Components\Footer\Default.cshtml
to display paypal_visa_mastercard_logo.jpg under the share buttons

        <div class="footer-block follow-us">
            <div class="social">
                <div class="title">
                    <strong>@T("Footer.FollowUs")</strong>
                </div>
                @await Component.InvokeAsync("SocialButtons")
                <div class="cards">
                    <img src="@Url.Content("~/images/uploaded/paypal_visa_mastercard_logo.jpg")" alt="" />
                </div>
            </div>
            @await Component.InvokeAsync("NewsletterBox")
        </div>

You can style the "cards" class as required
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.