Category "image"

Re-sizing image resizes entire nav-bar & links

I'm writing simple HTML & CSS & JS code, I've trying to create a responsive nav-bar with my logo as a link for the home page - however, when the navbar

How to add linking images to ckeditor in React?

I want to add Linking images feature to my React app that uses ' @ckeditor/ckeditor5-build-decoupled-document code: import React from 'react' import { CKEditor

How to size images by height and auto width with NextJS Image Component

I have images that I would like to have a fixed pixel height and auto width with object-fit: contain. How does one achieve this behavior with NextJS Image Compo

C# Image 0,0 start point is not top left for all images

I have a folder with images and I want to draw a rectangle from the top left corner This is the code I am using: Image image = Image.FromFile(path +

How to download an image that is in "<canvas id="page-canvas" data-src="

On the site there is no way to save the image, but inspecting it, when selecting the image frame, it has this code: <canvas id="page-canvas" data-src="/conte

Why does Tkinter image not show up if created in a function?

This code works: import tkinter root = tkinter.Tk() canvas = tkinter.Canvas(root) canvas.grid(row = 0, column = 0) photo = tkinter.PhotoImage(file = './test.g

How to make my animated image stay in the same place even when I scroll down the screen?

I have placed an animated image on my landing page however when I scroll down the screen the animated image also moves with the screen, I have put position: fix

Python OpenCV putText() show (non-ascii, unicode, utf) character symbols

I am creating a sign language detection application in Armenian. However, the Armenian letters don't show when I am signing but do show in my console/terminal.

I want to intent to select the image from gallery and camera option in WebView app (both together as picture shown)

I want to like this as picture shown in WebView app Here is my code but I am not getting camera option only I am getting gallery in my app public class MainAct

Image Slider working under activity but unrecognized in fragment

<com.smarteist.autoimageslider.SliderView android:id="@+id/imageSlider" android:layout_width="match_parent" android:layout_height="300dp" app

SwiftUI, apply drawGesture only when over Image

I'm try to apply the gesture only when the user is over the Image display not when tapped outside the image. Any suggestion how I can do? this following code dr

Why does Tkinter image not show up if created in a function?

This code works: import tkinter root = tkinter.Tk() canvas = tkinter.Canvas(root) canvas.grid(row = 0, column = 0) photo = tkinter.PhotoImage(file = './test.g

How to clear user uploaded images if the limit of files exceeded in jquery

I have a simple form where a user can upload multiple images. I only want the user to upload 4 images at once, so I did the following: $("#myfile").on("chan

Evaluating Dots and Noise in an Image

I have an image that consists of small black dots, and in each dot's vicinity there is some noise that appears as grayish smudge. I'm trying to use some sort of

How can I add a cover image to a Discord Scheduled Event?

I have created an event through the Discord JS Library, and would like to add a user option to add a cover image. The code below is working fine, but the image

How to make an image fill the background of a div? (using img tag in the div itself)

This seems like a simple problem but I'm having a bit of trouble finding a solution. I have cards on my page and I simply want the image (in the img tag which i

Can't set default image django

I was create a profile for user. I done set up all the Media and Static. But when I set default and upload_to in image field, it error not found image. I had tr

Converting PDF to images of original size

I have a PDF file which is made of photographs of a book connected in a single PDF file. I'm trying to convert it back to single images in PNG format, every too

How to check if the browser suppprts AVIF images

How can I detect if the browser supports AVIF images using JavaScript? I have viewed this question and after reading the answers I was able to build a useful on

ImageManagerStatic how to add copyright symbol on image

I am trying to add a copyright symbol onto an image with the ImageManagerStatic in Laravel, but it does not convert the code (©) to the symbol (©)...