Questions tagged [imgsource]

10 questions
3
votes
3 answers

img src is not working for static image in mvc view

In view I want to show image which is store in view folder named Errorpage.png. Now, I want to show that image in Error.cshtml view file. Here is my code error Now , this code is not working and showing error…
s.k.Soni
  • 1,139
  • 1
  • 19
  • 37
2
votes
3 answers

Changing individual image sources with jQuery

I need to change the image sources of multiple individual images on a site containing many. They do not have IDs I could use to identify each individual image, which is why I need to make the changes based on the current source each image has. I…
MS.
  • 43
  • 7
2
votes
1 answer

Correctly displaying s 32 bit transparent PNG file in a DC

This is my method for loading a transparent PNG file into a buffer: /* static */ void CRibbonButton::LoadImageFromRelativeFilespec(HGLOBAL& rhDIB, bool bLarge, const CString&…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
1
vote
3 answers

Local Image Links Src using Angular 4

So I'm building a project using Angular 4, I have a bunch of images in my assets folder and I have an array of objects in my app.component.ts file that is trying to reference them. The directory is set out like this src | app | app.component.ts …
user9159857
0
votes
1 answer

Adding pictures to choices in a text adventure game

I am very new to the community and forgive me if I misword things but! I'm currently working on an text adventure game and I was wondering if it was possible to add pictures to specific choices. I attached the code below in hopes someone could give…
dangerdan
  • 11
  • 2
0
votes
1 answer

How to embed img from external hosting in Django Template?

I am trying to use Gdrive image url in django template Django Template

{{post.scr}}

  • {{post.alt}}

    {{post.name}}

  • Django Model from…
    oneclick
    • 91
    • 2
    • 9
    0
    votes
    0 answers

    IMG SRC json.parse results need cleaned up

    I am using an old script I had from a previous project. I wanted to try it out before making an attempt to just do it via fetch. I thought i would get lucky! I am still new to XMLHTTPRequest and fetch and is another reason I just wanted to try and…
    0
    votes
    1 answer

    Having issues with my img src using React

    I'm trying to use an image of a search icon on my site, but it's not loading. I keep making sure my directory to the image is correct and it all looks good to me. I am currently in my Navbar>Index.js file and trying to get to my folder…
    isaac2324
    • 53
    • 1
    • 8
    0
    votes
    1 answer

    how to add image src to react state and setstate

    I'm making an application that necessarily demand to pass a handleChange on tag in react to store the image.src on to the state import React, { Component } from 'react' export class App extends Component { render() {         const…
    Rahul Ahire
    • 685
    • 11
    • 28
    -2
    votes
    3 answers

    Set an img src placeholder for testing

    Is there a way to add an img tag without an image, but with a placeholder tag or attribute, or using css for testing purposes: activate javascript or css etc.
    Guy Louzon
    • 1,175
    • 9
    • 19