Most voted "img" questions
42 questions
Sort by count of
-
5
votes2
answers141
viewsImg in header changing at each page load
I am starting a new HTML5 project and would like to put a background img in the header, in vdd I want to put 4 images and I want them to change in each refresh on the page, I don’t want a slider, I…
-
4
votes2
answers89
viewsDoes a large image hinder the performance of the application?
My banner has an image of 11mb while local is all ok but would like to know if when upload this application will leave the same heavy. Thank you in advance.
-
3
votes1
answer3007
views -
2
votes3
answers1704
viewsOutline image with CSS text
I am developing a website but without using any framework to this end;I would like to point out that I have only started in the studies of front, and that CSS is totally new to me. I’m trying to fix…
-
2
votes2
answers76
viewsReserve image - SRC
I’m wondering if it’s possible to create a secondary image if the main image doesn’t exist In case, if someone registers and does not put photo, he set a default img. <img…
-
1
votes1
answer148
viewsHow to duplicate visualization of HTML elements
I have 5 images, and 3 of them have the same class being exhibited on div To. <div id='A'> <img src="https://sites.google.com/site/mplayerplugin/thumbnails/09.jpg" class="figura" />…
-
1
votes2
answers818
viewsHTML - Overlay a ul to an img
Is there any way to overlay a ul of links to an image? The header of the page I am working on is done by image but the links should be done by html.. has to overlap? It is a simple header, with a…
-
1
votes1
answer626
viewsHow to open a random image
I have a new doubt and this has been the best place to find answers, since. My problem and the next, I’m doing a school quiz for my son. And a simple thing, at least it should be. A question with 3…
-
1
votes3
answers1204
viewsImage in src goes to background-image and does not resize
I’m putting together a project for a friend of mine and I’m using the scrollfullpage that splits the page into parts. In the first part I’m putting a banner and a written with my friend’s logo. The…
-
1
votes2
answers75
views<! DOCTYPE html> changing image
I finished a personal page, which contains 2 images. But after that, I noticed that I forgot to put the command !DOCTYPE html. When I inserted it, my images got a line underneath: Like the DOCTYPE…
-
1
votes4
answers41221
viewsHow to dispose images next to each other with titles below in css?
I would like to know how to dispose images side by side, with title/caption below. Using CSS and tag <img>, similar to the iTunes Store website.
-
1
votes2
answers596
viewsPath to JSP image
I need to display an image inside the tag img. It is a web project, running on Tomcat and Ubuntu Mate. I saved in bank as String the path to where the image is: "/opt/imagens/img.png" To display, I…
-
1
votes1
answer1686
viewsGet external website image as data:image/jpeg;Base64
Is it possible to save an image as an external website date using javascript or php? because this was the only way I could get q the image to appear in the browser, when inspecting this is the way:…
-
1
votes1
answer122
viewsSave image URL inside the value of a radio input
I need to take the value of one radio and use it to call an image, follows example below: function raceimg(elemento){ document.getElementsById("raceimgchange").src = elemento.value; };…
-
1
votes1
answer150
viewsHow to do line breaking in a Vue tag?
Guys, I’m trying to break the line on the cards in the picture, but I can’t. I’ve done it, Row, I’ve made align (of all kinds), I’m not getting it. These cards are stored in an array, there are 52…
-
1
votes1
answer185
viewsFlexbox - Image alignment
How do I leave the image in the print next to the text using Flexbox? follows the code. body { margin: 0; padding: 0; box-sizing: content-box; } header { display: flex; justify-content: center;…
-
1
votes3
answers43
viewspersonal as I add an image in the background by javascrip?
Well I’m trying to add an image in the background using js, it works like this when the clock arrives at a certain time it adds another example image of night or afternoon or morning. </div>…
-
0
votes4
answers1052
viewsHow to mount 3-column CSS mosaic?
I am having difficulties to assemble the mosaic of the example below for the mobile version of my site The version in orientation:portrait must be something similar to that:…
-
0
votes1
answer918
views -
0
votes1
answer662
viewsWhat attribute do I use to put closed captions in HTML (not CSS) for visually impaired?
I would like to put a hidden caption on an image using HTML only, but it’s not the title of the image when I put the mouse on top, it’s an image attribute, a caption that doesn’t appear for normal…
-
0
votes3
answers131
viewsHtml, icon respecting page background color
I am inserting on my page an image that has an event, this image has a drawing, and the background of the drawing is white, I would like this background of this drawing to be filled with the same…
-
0
votes0
answers50
viewsImage problems using include
I am developing a website and after developing most of the files, I decided to organize them in their respective folders. localhost/hostname/ -- root directory localhost/hostname/includes/ --…
-
0
votes2
answers291
viewsHow to manipulate image loaded by background: url();
I loaded an img that got too big, right through the css style sheet, how to decrease it, because it appears only a piece.
-
0
votes0
answers58
viewsForming a new image from an area map
Good afternoon, I’m doing a project where the company’s website is a synoptic and in this synoptic is generated images every 8 seconds. (Obs: I still need to know a way to take these images and move…
-
0
votes0
answers41
viewsTaking Image from an external website and putting in a <div>
Good afternoon, I’m still new in this business, but is there any way to get an image from an external site and put it on my page? i searched some functions like . load() ajax or php with…
-
0
votes0
answers74
views<img> inside div does not appear when used canvas2image
I’m using a script to save a div in png. Inside this div has one , but this image does not appear in the final result, after saving. The code I’m using is this $(function() {…
-
0
votes3
answers1320
viewssave IMG from external site
Is there a possibility to save an image in a folder /imagens from an external website? I can save normal image if I right click and put in "Save image as", but I would like to know how to do this in…
-
0
votes1
answer53
viewsAngularjs and Image Picker - I can’t capture selector content
I am with the following doubt: If I click on the selector (in the box), I can capture the content of ng-model "firstJogo" and manipulate it in javascript as needed: <p>Escolha o jogo</p>…
-
0
votes0
answers17
viewsUpdate images saved in cache
I have a client who is with a protelam on their site ads, because when replacing an image it is not updated due to the cache saved in the browsers. The site was made in ASP. And I’ve used some…
-
0
votes3
answers181
viewsPosition a circular image in the center
I am creating a website and would like to position the image in the center. .circle { background-color: #aaa; border-radius: 50%; width: 150px; height: 150px; overflow: hidden; position: relative; }…
-
0
votes1
answer197
viewsProblems with html directory on google sites
How to put HTML image from any PC folder? Google Sites has the option to embed snippets of html code on their site, usually (as far as I know) css and js are embedded in separate files, but google…
-
0
votes0
answers18
viewsput two files in a <img>
is there a possibility in case the first file is broken or corrupted display the second file? example: <img src="teste1.png" src2="teste2.png">
-
0
votes1
answer21
viewsDisplay different images of <div>, at a time of 2s each
I have a div with an img and I need that div has 3 different images, in a time of 2s each. I am using Html5 and css3 <img src="01.png" class="img1"> <img src="02.png" class="img-2">…
-
-1
votes1
answer236
viewsWhat is the best way to work with responsive images?
I am in doubt in my project which is the best way to work with DIRECT HTML responsive images, in Html5 the tag has the srcset attribute that allows this change using the prefix "w" when selecting…
-
-1
votes2
answers48
viewsMy <img> tag does not respond to my css settings
I was trying to learn HTML, until my image didn’t respond with my CSS: img#imagens1{ height: 19.92; width: 19.92; } The image was responding until about five minutes ago: <img…
-
-1
votes2
answers277
viewsbackground-image is not working
I don’t know what happened to it, it just stopped showing the background image. someone can give a light. #fundo{ width:100%; height: 100%; background-image: url("img/fundo%20site%20simples.png"); }…
-
-1
votes2
answers188
viewsHow to exchange an image inside a div for javascript
I need to change the image inside the div if the width of the screen is less than or equal to 991. I’ve done the code below, but it’s not working, I need to know where I’m going wrong and how to fix…
-
-1
votes1
answer38
viewsHow to make the image appear gradually when opening the site? CSS IMAGE TRANSITION
good afternoon! All right? I wish that when the person entered the site, the image appeared smoothly. I’m trying with opacity and visibility, but it’s not working. CSS code below: header { width:…
-
-2
votes3
answers2143
viewsHow to center an img within a div, both responsive, without losing responsiveness?
Personal what is the best way to center a responsive image within a responsive divtbm in % (in the case of a Row), that is to say that it has measures defined in pixels, with max-width: 100% for…
-
-2
votes1
answer43
viewsJquery img code to exchange
I used the code of a guy that the menu is of one color when it is at the top and when the scroll of the page goes down, the menu turns black, but as soon as it turns black I want the img that in the…
-
-3
votes1
answer37
viewsHow to make Tag not suffer a tag attribute whose tag is housed?
How do I get one tag from another? Ex.: <div> <img src="..."> <a href="...">...</a> <a href="...">...</a> <a href="...">...</a> </div> In case I…
-
-3
votes1
answer88
viewsHow do I put a background image in CSS using PHP?
I’m trying to put a background image by css using PHP, which means the image I want to put in the background is inside the database. I open the php tags inside the background URL background-image:…