549 questions
0
votes
0
answers
84
views
Images on the website loads slowly. They load after the pages have been loaded
Please someone should help me on this website, the images load slowly, they load after the page has been loaded finish. The hompage transition images show blank after the page load, and later show the ...
1
vote
1
answer
54
views
Add a custom image size column in WooCommerce Admin Products List
is there way to add a product image size column to admin products lists?
I have this code from bbloomer but I have no idea how to populate the "Image Size" column;
function ...
0
votes
0
answers
75
views
Setting the dimensions for a random Unsplash image?
I just need an image with the dimensions of 1920x1080 or something similar but I can't find any clue, how to do this.
I tried different approaches but they all didn't work:
/photos/random?width=800&...
0
votes
0
answers
58
views
Geopandas plot: Image size of 833x81232 pixels is too large. It must be less than 2^16 in each direction
I am plotting a global choropleth map in Jupyter Notebook displaying each country's share of electricity production from fossil fuels (%). I managed to plot the original shapefile on a map, so I know ...
1
vote
1
answer
405
views
Plotly generated pie chart text exceed page boundary
I am using plotly to generate a pie chart, with textinfo set in outside of the sector. However, when number of sectors increase to a large amount, the textinfo will not shown in the figure frame
A MWE ...
2
votes
0
answers
62
views
How to keep same size when save pictures in python matplotlib?
I use code as below to plot graphs and save fig to png files, but all png files are not in the same size (width x height), how can I let all of them in the same size?
fig, ax = plt.subplots(nrows=1, ...
0
votes
0
answers
150
views
In shopify set default product image size
In Shopify when we upload a product image for example one thats 1500px by 1500px it seems to resize the image to like 500 by 500 and we want all the images to be much bigger like we want them to be ...
-2
votes
1
answer
130
views
Css text styling with image
I'm styling my letters using an image as the content of the letters.
The letters are small and the image big, and I would like to have more control over the image size. What is the css properties to ...
1
vote
1
answer
945
views
ggsave is ignoring my specification for height and width
I am trying to save a ggplot graph for a publication with specific criteria. Whenever I go about saving the plot using ggsave setting the height, width, units and DPI I get an image that is always ...
0
votes
1
answer
682
views
Error using commonjs library in a aws lambda function bundled with mjs for node.js 20
I migrated recently my node.js (v20) project to ESM modules (type="module" in the package.json, using only ".mjs" files with import syntax) and bundling with webpack for usage in ...
1
vote
2
answers
182
views
How to move image in flutter Card by small amount
I am making a flutter app and I am using the same image in two places. The first place is a carousel and the second is a Full size Container. The image in the carousel is being cut and I want to shift ...
1
vote
0
answers
81
views
Need to export a div into multiple HD images of same height for print, but getting blurry images
I'm trying to export the div toto into HD images:
images should have HD resolution (I really don't care if the files are heavy)
the div should be exported to multiple images with fixed height (...
-1
votes
2
answers
326
views
How to capture id size photo with webcam using python [closed]
I have this few lines code which capture images using webcam but the pictures width and heigth is large.Is it a way i can
have the frame to be small to capture images as the size of passport picture.
...
0
votes
2
answers
1k
views
How to get the listing of all the images used in post and pages of a WordPress website to delete the unused images?
I have a website that is over 12 years old and have about 6000 posts and around 100 pages and is using lots of images out there. My media folders is in several GBs. I just want to sort it out so that ...
1
vote
0
answers
285
views
Enlarged images did not displayed in browser, vite, react
I have a Vite-React app where I have normal size and enlarged images (for retina screen users). All the mentioned images are stored in the public/img/ directory.
The problem arises when I use the ...
0
votes
0
answers
31
views
Bootstrap each card instance images are different height
I am coding an angular project and am using bootstrap 5.
I am having an issue with card-img-top, as for every image the user uploads that is a different resolution, the image height is different. I ...
0
votes
0
answers
131
views
The tensor of images needs to be a fixed size, (N, C, H, W), for an image in the tensor with size (H', W') and another with (H, W)
So i am trying to train a model in a specific dataset, Camus Dataset, but i am new to pytorch so i am a little it confused. I used the Camus Dataset code of https://www.kaggle.com/code/sontungtran/...
0
votes
0
answers
818
views
How to shrink image without reducing quality nodejs?
I am attempting to shrink the size of one image without losing quality so I can place that shrunk image within a different image.
In my attempts to shrink: quality was demolished.
So my ingenious idea:...
0
votes
0
answers
135
views
How can I find the difference between two images of different shape/size in python?
I am stuck at the situation where i have to find difference between the images of slight different shapes which I am unable to do.
I have tried to resize the image using cv2, but after making the ...
0
votes
2
answers
157
views
from single jpg to web conversion to all files in dir
i made python code to convert jpg into webp
from PIL import Image
import PIL
import os
import glob
# Open The Image:
image_path = "D:/..../image_name.jpg"
image = Image.open(image_path)
# ...
2
votes
1
answer
5k
views
Trying to resize a image used for a button label in swiftUI [closed]
Im trying to create a Hstack in Swift with two buttons side by side using an image as the label to create coloured buttons.
However i cant work out how to resize an image label.
Ive created an array ...
0
votes
0
answers
261
views
GAN generator for image size 224X224
i want to generate synthetic image of size 224x224 using gan generator. but i dont understand how to design dcgan generator specific image size using 2d transpose convolution. kindly help
TensorFlow ...
0
votes
1
answer
929
views
flutter: size of cachednetworkimage in showbottommodal is too small
I am trying to get the CachedNetworkImage to a bigger size than the one in the picture. I tried setting and resetting the heights of all the widgets, but I was not able to make it bigger. Can someone ...
0
votes
1
answer
173
views
I am using image-size module of Nodejs in my code .Can anyone tell me what unit it measures the dimensions of the image( its not pixels I checked )
Below is a simple code that requires "image-size" module Nodejs, in the variable "sizeOf" and calls it along with the parameter as the image name in its current directory. Then it ...
0
votes
1
answer
122
views
How to get scaled height of an image from known width of an html container?
I am facing a challenge on my html page to find the scaled height of an image in a container whose dynamic width is known
Let the width be var wid = 740; for desktop, it may vary based on screen size, ...
1
vote
1
answer
432
views
CoreML output image size is not the same as the model prediction output image size
I tried to change the existing MLModel (https://drive.google.com/file/d/16JEWh48fgQc8az7avROePOd-PYda0Yi2/view?usp=sharing) output size from 2048x2048 (existing output size) to 1024x1024.
I used this ...
1
vote
1
answer
760
views
Resizing PIL Image gives a completely black image
I have a dataset of grayscale images, like this one below:
Now, I open my dataset with the following class:
"""Tabular and Image dataset."""
def __init__(self, ...
0
votes
1
answer
1k
views
Crop an image to zoom in to only part of that image inside a div
Is there a way to use CSS to get only a specific part of an image to appear as a div background? Basically like cropping?
This image from adobe pretty much sums up what I mean and what I wish I could ...
0
votes
1
answer
167
views
How to prevent images from resizing when adding text within a horizontal media scroller?
When creating a horizontal media scroller to scroll through a group of images on every mouse click, I've noticed when adding text below the image tags it resizes the image.
As text in the paragraph ...
0
votes
0
answers
150
views
Cimg is increasing the size of the original image
I am using Cimg to modify an image(original size 145 KB). I add few lines of text and save it which is increasing the size the of the image to almost 900KB. So I tried to save the original image ...
0
votes
1
answer
548
views
Is there a way to resize a picture for fitting a block of a pop-up window in Wordpress?
I would like to require your help because I'm building a new website in WordPress and I bought an existing theme (Ciya Shop), but when I try to modify the pop-up (in woo commerce option) I have to do ...
-2
votes
2
answers
457
views
How to save Docker image writable
I found out that docker image is read-only.
Is there a way to save the image writable?
The reason why I post this question is because I want to modify the original image.
Delete or Update from the ...
2
votes
1
answer
554
views
How to reduce the docker image size which is already committed
I know that the docker image is read-only. Therefore, deleting the file inside base-image within container does not change the size of docker. (result of docker ps -s)
I wanted to reduce image size, ...
0
votes
0
answers
44
views
Calculate Attributes of a Resizing Bingo Card
Let's say you have a bingo card that's 3000x3000. The tiles of the bingo card are 500x500, and the width of the borders separating the tiles are 83.333 pixels wide. Each row has five tiles and six ...
2
votes
1
answer
2k
views
Creating a plotly express image with custom image ratio
I'm trying to build a very simple plot in plotly express with custom dimensions but cannot get the result I want.
My image is an array with dimensions 300 and 5000, I want it to be stretched into a ...
1
vote
0
answers
102
views
Define image size with random image code?
At the moment I'm working with Elementor on Wordpress. What I'd like to do is have one of "modules" in Elementor filled with random images that also have each a different link to some page. ...
-1
votes
1
answer
34
views
How does WordPress calculate the new dimensions of the images uploaded
My image sizes in the media settings are:
150x150,
350x350,
1000x1000
I uploaded a 1000x1002 image and it generated 998x1000 so it's correct as the height which is 1002 is bigger than 1000 so it ...
1
vote
0
answers
86
views
How do I handle image sizing in hero area?
I have created a hero area and between this, I have created two divisions and applied a style display with the grid. Now I have put text and buttons on one side and the other side contains an image. ...
0
votes
1
answer
563
views
Displaying only the right part of an image in QML - sourceClipRect
I'm trying to display only the right part of an image in QML by using the sourceClipRect property
Here is a snippet of the code
Image
{
id : _image
anchors.horizontalCenter: parent....
0
votes
0
answers
295
views
How to create a .png/.jpg file with their size defined in Pillow module Python
Expectations: I want to create a png/jpeg file based on the user input in in tkinter but I would need to use pillow to create the images. I want to create a png and jpg and of a certain size.
If I ...
1
vote
1
answer
204
views
Button image re-size in High Resolution Screens
I have a project with a lot of button bars and a lot of graphic interfaces, the problem I have is that with graphic cards and new high-resolution monitors, when scaling, for example, 150% is set in ...
1
vote
3
answers
6k
views
Properly Size images on Page Speed Insight
When checked on the core web vitals performance it has been flagged that the image on top on the page- https://www.onlia.ca/car-insurance needs to be properly sized. However, the size of the image is ...
0
votes
1
answer
842
views
How to add explicit width and heights on image that changes sizes due to device, to disable layout shift in pages?
I am facing CLS problems and https://pagespeed.web.dev/ recommend me to set explicit width and heights on images, but i just don't understand how i suppose to do this. For example:
If i set width and ...
0
votes
1
answer
1k
views
SSRS - Accessing System.Drawing.Image.FromStream
I am currently trying to center an image on screen in SSRS. While this functionality is not directly support it is possible to provide custom padding based on the image size. This is an external ...
0
votes
1
answer
582
views
Image changing size and position when put in an a tag
I want this image to be a link.
But when I put the img tag in an a tag, the image suddenly changes position and size and I don't understand why. It seems like the whole container gets smaller.
Here's ...
1
vote
0
answers
452
views
How can I change the product image size from square to rectangle in big cartel Luna Theme
How can I change the product image size in the new Luna theme from square to rectangle 223 px x 330 px - it was possible in the old version - but can't find where to change it in the new one.
2
votes
1
answer
1k
views
Make images same height when there is no fixed height or width
Is there are any solution to make different size images be the same height on a card? Problem is that content is coming from cms, and I do not know what the image size will be and how much text will ...
2
votes
1
answer
6k
views
Default location where docker images are saved on Windows 10
I installed docker on Windows 10 Pro and created/pulled several images some as big as 953 MB.
I'm however interested to know in what directory are all the images stored.
I checked Hyper-V manager for ...
0
votes
1
answer
500
views
How do I get the image to display in full proportion on @media screen?
I can not get the image area to take full size on a smaller viewport (max-width: 768px) when chaging the flex-item to column
Even under min-width a max-width set up on 100%, the image still shows on ...
0
votes
0
answers
732
views
Low-quality image icon
I'm making a Java Swing application and I want to use icons as a button, I used the following code to make my Icon/JLabel instances:
ImageIcon homeIcon = new ImageIcon(ImageIO.read(new File(new File(&...