Questions tagged [image-loading]

386 questions
3
votes
2 answers

Lazy loading of images for website to load faster

i want that before the actual image gets loaded a spinner should be shown so that my website can load faster window.addEventListener('load', function(){ var allimages= document.getElementsByTagName('img'); for (var i=0;…
juhi
  • 558
  • 1
  • 10
  • 19
3
votes
2 answers

What's a good technique for displaying a "loading..." image?

I am working with a div that has any number of img elements inside it. Right now, each img has the following CSS: #content > img { display: none; position: absolute; top: 0px; left: 0px; } And the images can be cycled-through with a function that…
Isaac Lubow
  • 3,557
  • 5
  • 37
  • 53
3
votes
2 answers

Load Btimap of Video thumbnails from sdcard

I am developing a module in which I need to show all the video from phone in form of video thumbnails. I have taken BaseAdapter to show all video thumbnails into GridView. The only problem is that I had to write the code extract thumbnail from video…
Name is Nilay
  • 2,743
  • 4
  • 35
  • 77
3
votes
2 answers

Does Picasso library for Android handle image loading while network connectivity is off?

I'm working on an application in which i use Picasso library for image loading in my ViewPager and other ImageViews. So i want to know what happens if network connectivity is off. Does the library handle itself or do i have to check the network…
Jas
  • 3,207
  • 2
  • 15
  • 45
3
votes
1 answer

c++ read in image set with different file names without hardcoding

Is there any way of reading in a set of images from file that all have varying names to each other, i.e. no continuity at all? So if you had 4 images in the same folder with the file names of: head.jpg shoulders.png knees.tiff toes.bmp Without…
MLMLTL
  • 1,519
  • 5
  • 21
  • 35
3
votes
2 answers

Parallel loading images in LINQ

I am experimenting with parallel and LINQ. Look at the code below. It works, but just to get the idea: private void LoadImages(string path) { images = Directory.GetFiles(path) .Select(f => GetImage(f)) …
ebvtrnog
  • 4,167
  • 4
  • 31
  • 59
3
votes
1 answer

How to include/Build Glide library for eclipse?

When i start looking for Image loading libraries for android then i found Picasso and Glide are much better then other libraries . I can integrate Picasso with eclipse but there is no document related to how use Glide library in eclipse for android…
Deep Shah
  • 1,334
  • 3
  • 20
  • 41
3
votes
3 answers

Universal-Image-Loader | SSLHandshakeException: Handshake failed

I have a ListView with some content (TextViews, ImageView...) in the items. I'm using UIL by Nostra to load the images in the items but some of them fail to load. This is what do I get, when i call Log.v(String.valueOf(failReason.getCause());…
3
votes
5 answers

Faster loading of images

Hi am new to the concept of web technology and i have two questions. Q.1) Suppose i have a image of size 400KB and i want to load it on my webpage. I want to know which among the following step is faster a) Load the entire 400KB image at once. b)…
DPH
  • 261
  • 4
  • 16
3
votes
9 answers

Simple image loading libraries

I have an app that uses this library (actually a direct port to D) for some image processing. I'm looking for some other libraries of a similar style to use to load other file types. Things I need/want: Loss less format. Simple C API. Loads data…
BCS
  • 75,627
  • 68
  • 187
  • 294
3
votes
2 answers

Image load when the element comes into the viewport only

I am building a photo gallery and i wants to load the images only when the content "DIV" element comes into the viewport.I am using jquery viewport.js for this. By default i am setting the src attribute of each "IMG" tag to "LOADING.JPEG" and when…
coder
  • 283
  • 4
  • 26
3
votes
1 answer

load image from the URL and add it to the listview

Now i am working with an android project here I've a list view that list view getting some results from the Google API by JSON class. Now i am trying to get some images through the TAG_ICON variable which returns a URL and i directly given the URL…
3
votes
2 answers

ListView VERY slow when images are loaded (using Universal Image Loader)

My listView runs very smooth with just text - but as soon as I try to load in thumbnails (even from cache), it runs SOO choppy. I'm using the Universal Image Loader script The code in my ArticleEntryAdapter within public View getView(...)…
Dave
  • 28,833
  • 23
  • 113
  • 183
2
votes
1 answer

UIWebView: some images not loading

Good day. I have a UIWebView that loads a big article with 10+ images. HTML code is stored locally, images are loaded by UIWebView automatically. Sometimes web view won't load all of the images (for example, 3 out of 10). It doesn't depend on a…
Misha Karpenko
  • 2,168
  • 17
  • 18
2
votes
3 answers

Change loading order of images already on page

Is there any way without AJAX of changing the loading order of images on a page? Or even a way to completely halt or pause loading of images already present? The use case is simple - I have a long list of images down a page, and visitors will be…
atwixtor
  • 795
  • 10
  • 26