Adding Image to Footer

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 4 años
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
Hace 4 años
or any of these words when I go into via ftp: Views > Shared > Components > Footer > Default.cshtml
Hace 4 años
Andy007 wrote:
or any of these words when I go into via ftp: Views > Shared > Components > Footer > Default.cshtml


Are you joking here?
Hace 4 años
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
Hace 4 años
Those directories are on the same level as wwwroot. So you need to change the login location
Hace 4 años
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!
Hace 4 años
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>
Hace 4 años
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.
Hace 4 años
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
Hace 4 años
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.