All Questions
Tagged with responsive image
289
questions
0
votes
1
answer
45
views
Woocommerce wordpress responsive images
I wondered if it's possible to make the WooCommerce thumbnail images responsive. Currently, there is only one image size for the thumbnails, and I would like to add the src set attribute with further ...
0
votes
1
answer
118
views
HTML <picture> tag and common "issues"
I am trying to figure out the usage of <picture> tag, as I have stumbled upon few non-working scenarios, about which I want to ask.
Here is a basic HTML
<picture>
<source srcset="...
0
votes
0
answers
50
views
Keep Image aspect-ratio in fullscreen and occupy space BEFORE image has loaded without width: 100% for any viewport WITHOUT OBJECT-FIT
The most important thing up front before you jump to the most obvious solution: object-fit: contain is no option for me. I need the actual dom element for the <img>-tag to be the same size as ...
0
votes
0
answers
61
views
The responsiveness of images side by side
Looking at it here:
https://www.hq.vevo.com/watch
How would I replicate that?
When the site window gets bigger and smaller, how that causes the images to expand and get smaller.
This is as far as I ...
0
votes
0
answers
63
views
wrong image choice for responsive image (imgsrc + sizes attribute) (NOT retina screen)
1366x768 is my screen resolution, and it's a laptop. I noticed that my browser (chromium, last version) doesn't always choose the best image.
It looks like that:
<img src="1.webp" srcset=&...
1
vote
1
answer
93
views
Responsive Image Source (Sizes) based on Parent (Wrapper) Width
Given the following Code Snippet, my Goal is to achieve that based on the Parent Width / Wrapper, the Image (Source) changes accordingly.
<!DOCTYPE html>
<html>
<head>
<...
0
votes
1
answer
35
views
When my images shrink, they have different sizes
I have four rows in my code. They stack on top of each other and in every row, I have one image that is placed in a div tag. This is totally fine now, but when I reduce the page size, they shrink ...
0
votes
2
answers
35
views
How do i place a div/image in a specific portion of the screen regardless of the resolution?
I'm new to front end development, so please don't insult me if it's a very stupid question.
I have a set a 2 color background with the color red taking 2/3 of the screen, and the yellow taking the ...
0
votes
0
answers
34
views
The browser won't return 1x images that are in different directory
I'm using Angular and I'm trying to make my images retina responsive.
I have an image component where I have the following code:
<picture>
<source srcset="/src/webp/{{ img }}.webp 1x,...
0
votes
1
answer
21
views
My responsive image disappears behind column text on smaller screens
My fixed hero image is responsive and looks great. It shows up nicely behind 2 of 3 columns when they scroll past it on small screens, but I cannot determine why it hides behind the 3rd column. The ...
0
votes
2
answers
310
views
Fit image on screen CSS
I want all of this sample HTML structure to fit 1 screen without scrolling, the image has to resize appropriately. But there is still scrolling.
<div style="position: fixed; top:0;left:0;width:...
0
votes
0
answers
172
views
I want to resize my image on smaller screen using nextjs next/image
I am intended to resize my image on smaller screen. Through following code i am attending the desired sizes but the problem is on smaller screen first image is loaded and render bigger than the ...
0
votes
0
answers
55
views
Rotate horizontal image to fit vertical space in grid
I have a grid with items from a (wordpress) gallery. In making a responsive layout I would like to be able adjust the grid and rotate the image if I have a vertical space (row spans) to cover this ...
0
votes
2
answers
64
views
Display and resize multiple images according to browser width
I'd like to be able to display up to 5 images on the same line, depending on the browser width.
Depending on the browser size, I can display more or fewer images, from a single image on mobile to a ...
1
vote
2
answers
47
views
How to make an image inside a div not strech?
I am making a header and there is an image inside it (I'm only worried with the left one for now) that is set with a max-width and changes size responsively. Once I haven't set height for anything, ...