Questions tagged [loading-image]
39 questions
4
votes
2 answers
Adding a loading image to a jquery ajax post
i have the following javascript to post a form through ajax without refreshing the screen. Since the post take a little while, i wanted to add a loading image during processing.
I see this article but it seems to only list .load() or .get() but…

leora
- 188,729
- 360
- 878
- 1,366
3
votes
4 answers
How to load images from a directory on the computer in Python
Hello I am New to python and I wanted to know how i can load images from a directory on the computer into python variable.
I have a set of images in a folder on disk and I want to display these images in a loop.

adsbawston
- 55
- 1
- 1
- 5
3
votes
4 answers
Remove image dynamically using jquery by clearing the src attribute
I know one can load image dynamically using
$("#id").attr("src","path of the image"),
but to onload the certain image on certain event,
$("id").attr("src","")
doesn't work.
What's the correct way to unload the image runtime using jquery??
I cannot…

Hazel
- 63
- 2
- 4
- 10
2
votes
2 answers
Loading/Saving images misorder
I got a directory full of only PNG images (580 images).
I load the images in memory with this function
private List images = new List();
foreach (String s in Directory.GetFiles(@"frames\", "*.png"))
{
images.Add(new…

capzulu
- 105
- 1
- 4
- 13
1
vote
1 answer
Jquery loading image until download starts
I´m trying to have a loading image while waiting for the server to generate a PDF.
When PDF is generated a browser dialog is prompted and that´s when the loading image should hide.
$.ajax({
type: 'POST',
url: $(this).attr('href'),
success:…

Mackelito
- 4,213
- 5
- 39
- 78
1
vote
1 answer
Requires not loading images in CRA
Hi
I am currently trying to display elements of a list in react and I'm not able to load images using require.
I am using CRA and haven't changed webpack.config.js.
The list
import img1 from "../../assets/work-in-progress.png";
const projects = [
…

João Mota
- 11
- 1
- 2
1
vote
1 answer
Checking for failed image load
In the code below, I'm appending an image tag to a div. When the image is done loading (successfully), I'd like to run other functions before changing the page.
var $img = $("
").on('load', function() {
…

kennsorr
- 292
- 3
- 20
1
vote
1 answer
Google play games user profile image not loading
Apologies for reposting the question but I get an error using this method and I can't figure out what I'm doing wrong.
mPlayersClient = Games.getPlayersClient(this, googleSignInAccount);
mPlayersClient.getCurrentPlayer()
…

notakoba
- 160
- 1
- 13
1
vote
1 answer
Loading images in subfolders is not working on the server
I'm working on a project which is in two languages English and Arabic. The arabic version is in a subfolder (Ar).
Everything works fine for both versions in the visual studio local host. But when I deployed the website to the real server. I noticed…

l Lamas
- 73
- 1
- 9
1
vote
3 answers
pygame.error: Couldn't open image.bmp
Whenever I run this code the message pygame.error: Couldn't open ship.bmp appears. I am keeping the file ship.bmp in the same place as my code. I would appreciate any help.
import sys
import pygame
pygame.init()
screen_width = 800
screen_height =…

Bill
- 59
- 2
- 4
1
vote
1 answer
ASP.NET C# Show loading image while page is load
is there any suggestion for doing a loading image when selecting a RadioButtonList & DropDwonList ?? Or maybe put some message like "Please Wait.. The Page is Loading" while the page is loading. Loading image for AutoPostBack. I have a…

soniee
- 11
- 1
- 7
1
vote
0 answers
display loading image on button click
i am trying to get a loading image on button click of login page.
and jQuery code as
$('#login').click(function () {
$.blockUI({
message: '

Loading .......
', …
thiru
- 173
- 1
- 4
- 16
1
vote
4 answers
WordPress / CF7 - Customising the Contact Form 7 ajax loader gif, depending on location
I am using the Contact Form 7 plugin on a web site, which has a contact form in the footer of every page and also a contact form in the main area of a dedicated Contact page.
I know how to customise the ajax loader gif in CF7...
function…

ban-geoengineering
- 18,324
- 27
- 171
- 253
1
vote
1 answer
Getting and Passing Image URL with Picasso
I am trying to get the image URL from the selected image that the user selects so that I can then pass that string/URL to another Fragment that I have set up so that the image can be viewed fully via an image view.
How would I be able to achieve…

Jack
- 2,043
- 7
- 40
- 69
1
vote
3 answers
Loading an image file in WP 8 application from directory
i am developing a WP 8 application and i want to load an image which is currently on my computer drive. Here is my Code
try
{
using (FileStream fileStream =…

Madu
- 4,849
- 9
- 44
- 78