Questions tagged [image-caching]

0

votes
0

answer
3

Views

Show Local Images and Server Images ( with Caching) in Flutter

I am trying to show the image in a Widget picked from Image-Gallery as well as from the Network loaded images. CachedNetworkImage is working fine with Network-images but when I try to pass selected image from gallery it's not working. CachedNetworkImage( imageUrl: url, placeholder: (context, url)...
user532445
1

votes
1

answer
537

Views

Fresco consumes more memory for image caching?

I am working on one of the chat application where images are getting downloaded. Recently I switched to Fresco for memory caching. I am not using Fresco to download images However using fresco to view images by creating URI using already downloaded local file. However as per Android profiler, it has...
Piyush
1

votes
0

answer
61

Views

browser caching on google page speed insights. how is google treating private cache-control?

I have been trying to optimise page speed and particularly the way images are served and cached on this specific page: www.modemio.de/damen-mokassins here is the outcome: PageSpeed tool says the specific image is being cached only for 15 minutes. If I go on the page itself and explore the header res...
1

votes
1

answer
766

Views

Create image cache for BlackBerry

My images should be cached so that they are not downloaded more than once. They should only be updated if an image name is not currently stored locally. How should an app cache images and use them locally without downloading again on BlackBerry?
Udhaya
1

votes
1

answer
675

Views

TTImageView shows black image (OR: replacement for TTImageView)

I'm using Three20's TTImageView for it's async image loading + caching. I've noticed this issue a bunch of times where an image will show up as completely black, and never finish loading. Here's an example of what I'm seeing: http://screencast.com/t/7O7fnedX5Z2 So...basically I'm wondering if this...
smtlaissezfaire
1

votes
2

answer
389

Views

How to redirect or mod_rewrite an Expired image in a directory using .htaccess

I have a redirect setup that looks for an image in a directory and if it does not exist, it will redirect to a php file that resizes an image and saves it to that directory. I got it to work great. Problem now is that I need to find a good way to redirect it if the image that was written is 4 hours...
He-Man
1

votes
1

answer
1.5k

Views

Node/Express serving image if exist; Caching issue

been using SO for a while but it's my first question here, as I couldn't find a solution for this particular problem. I'll try to be as explicit as possible, is anything is unclear just let me know so I update the question accordingly. I'm using a route to serve a user's photo according to the userI...
1

votes
1

answer
558

Views

IE8 jQ set CSS properties (width or margin) are getting ignored

Today I've encountered an interesting situation with IE8 while I was trying to manipulate images. I'm replacing loaded images by changing their url and when they get loaded I'm trying to properly squeeze them and center at viewport element (new images are not square as their predecessors). But in IE...
Brock
1

votes
3

answer
1k

Views

Best image cache for loading numerous images in UITableView for IOS?

Could any one please tell me the best image cache available for loading numerous images in UITableviewcell? Currently i am using SDWebimageCache but it seems it is creating problems in IOS9 particularly in iPad where the table scrolling makes the app to crash. Help me with SDWebimagecache alternati...
Daniella D'Cruz
1

votes
3

answer
938

Views

Android Picasso clear image from disk and cache

I'm using Picasso for image loading, I use it with NetworkPolicy.OFFLINE, but at some point I want to update the image from internet and I'm trying with Picasso.with(context).invalidate(url); Picasso.with(context).load(url).memoryPolicy(MemoryPolicy.NO_CACHE, MemoryPolicy.NO_STORE).networkPolicy(Ne...
SpyZip
1

votes
1

answer
354

Views

Check Firebase Storage before creating a new profile Image URL

I am having a bit of an issue checking Firebase Storage when a user logs into my app. When a user logs in an image is created and stored successfully in Firebase database and storage, but every time a user logs out and logs back into the app the profileImage file (not the child value url string) is...
user3708224
1

votes
1

answer
54

Views

Android - Handling images that are part of solution and images that are downloaded

I am unclear how images are handled in Android in terms of caching. Let's say, I have an app that is 3 levels deep (so, it has 3 Activities that are pushed on top of each other). If each of my 3 activities shows 3 images in the ToolBar of all 3 Activities, my understanding is that the same 3 image...
pixel
1

votes
2

answer
0

Views

How to correctly cache images

I just installed Google's Page Speed plugin to Firebug, and everything looks good except for caching. I have set headers to cache my JS and CSS files, but it says the images aren't being cached. How can I make sure the images get cached for 30 days? These are static images, so I can't just add th...
James Simpson
1

votes
2

answer
0

Views

Image caching in asp.net application without IIS

I have an application written in asp.net c# and hosted on IIS6. There are an 'Image' folder with 3-subfolders. These folders contained images of type 'jpg','gif','png' etc. Images are very huge in size and in numbers. On the application every page has some images needs to open/show, due to the size...
Gaurav Aroraa
1

votes
3

answer
0

Views

Rails 3: How to prevent image caching when the image is specified in the CSS file?

Consider the following CSS: .my_class { background-image: url(/images/sprites.png); } Sometimes I change sprites.png by adding new sprites to it, so I don't want the browser to cache it. One idea I thought of is to add style='background-image: url(/images/sprites.png?)' to all elements with class my...
Misha Moroshko
1

votes
1

answer
668

Views

where to persist multiple image files on android

I'm writing an android app that makes use of many images(dozens). These images, like most of the other data in the app, are updated from a remote database. For the data I am going to have a local database and sync it with the remote database every time the remote db is updated. The remote database...
moe
1

votes
1

answer
1.4k

Views

volley imageCache and imageRequest both cache the image

i'm using volley to load my images and cache them. mImageLoader = new ImageLoader(getRequestQueue(context), mImageCache); which mImageCache is a DiskLruImageCache. volley fetches images from server by ImageRequest which extend the ImageRequest and in request class there is boolean that defines wheth...
EC84B4
1

votes
1

answer
347

Views

how to manage Image caches in ios when using 2 caching libraries

I am using SDWebImage image loaded as the default image loader, I also use AZAPreviewController to display images in the Fullscreen view. AZAPreviewController using its own cache folder to maintain caches for the same images but images are not display in iOS-8 when trying to fetch for AZAPreviewIte...
Esha
1

votes
1

answer
4.8k

Views

Intervention Image cache with Laravel: works once, then “Image cannot be displayed as it contains errors”

As per the question title, I am using the Intervention package with Laravel. I have the following code in my routes file: Route::get('resize-image/{pathkey}/{filename}/{w?}/{h?}', function($pathkey, $filename, $w=100, $h=100){ $cacheimage = Image::cache(function($image) use($pathkey, $filename, $w,...
Inigo
1

votes
1

answer
466

Views

Swift 2 reloadData adds more cells to the UICollectionView

I've this annoying bug in my app that every time I load the UICollectionView controller, it duplicates the cells. So this is the when the collection view loads for the first time: I've 2 view controller so this is the second view controller. If I unwind back to the first view controller which only...
Renboy
1

votes
1

answer
1.2k

Views

DiskCache plugin imageresizer in MVC3

For my MVC project (Image Server Application), I cannot do caching using imageresizer. I can access my images like this and the image source could be either FileSystem/Database (Dependency injeciton) : localhost/images/123.jpg?width=500 localhost/images/123?width=500 I have an MVC 3 project with r...
Furqan
1

votes
1

answer
1.4k

Views

iOS (iPhone) clear images from application cache

I have problem with images on my iPhone when I delete it. I clear image from disk, I remove reference in XCode, I delete app from my iPhone and when I run app again the image is still there. Any suggestion how I can completely remove image from my project?
ButterBeast
1

votes
2

answer
1.8k

Views

SDWebImage - avoid clearing image cache on entering background

I use SDWebImage in my app to load and cache images from the web. It works like a charm, but the only issue is that whenever I exit my app, even momentarily, the image cache gets cleared and all the images have to be downloaded again. This is especially a problem when the Internet connection is slow...
Rameez Hussain
1

votes
2

answer
1.4k

Views

iOS - SDWebImage loading wrong Image

I am using SDWebImage Library for caching and Lazy loading. But I found that sometime it is showing Image of another cell. Detail Scenerio There is CollectionView having cells containing UIImageView and Labels. ImageView contains the Image of Users and label with their names. But sometimes The Im...
Mrug
2

votes
1

answer
2.9k

Views

Fresco not updating disk cache with images from the network

I have been trying to use Fresco library by Facebook. From the documentation I understood that the caching of images works out of the box with the ImagePipelines when we use the SimpleDraweeView. I pretty much see things working perfectly only with the minor hiccup that eventhough Fresco fetches ima...
mahesmohan
17

votes
7

answer
42.5k

Views

Android java.lang.OutOfMemoryError?

04-25 08:19:10.111 2431-2603/com.example.francesco.guidedautorewithtabs E/art﹕ Throwing OutOfMemoryError 'Failed to allocate a 4194316 byte allocation with 1983651 free bytes and 1937KB until OOM' 04-25 08:19:10.114 2431-2603/com.example.francesco.guidedautorewithtabs E/AndroidRuntime﹕ FAT...
18

votes
5

answer
7.8k

Views

SDWebImage and setting custom HTTP headers?

I´ve just changed my code for caching images away from EGOImageCache to SDWebView. Unfortunately i don´t know how to set custom HTTP headers as i have to send authentification to be able to fetch images. It was easy done with EGOImageCache as i´ve extended the NSURLRequest at the appropriate plac...
rockstarberlin
5

votes
3

answer
1.2k

Views

Store images in picasso with a cache key of our own

Is there a way I can load images into Picasso's image cache by specifying the cache key that is used ? On a side note if that is not possible, I have made the necessary changes but I am not sure how to rebuild the jar. Any instructions to rebuild Picasso are much appreciated.
LostPuppy
5

votes
6

answer
2.6k

Views

IE7 not Caching CSS Image over SSL

I'm using the WebDevHelper toolbar for Internet Explorer to troubleshoot HTTP requests/roundtrips on my SSL site and noticed that IE re-downloads my CSS :hover images every time they are triggered. This causes a huge amount of roundtrips. How can I prevent this from happening? Edit: All static cont...
Alex
5

votes
2

answer
1.4k

Views

Images getting cached and eating up my Heap Space

This question is a result of the answers provided to me for my previous question. I was asked to use Eclipse MAT to investigate what is eating up my heap. Below are my observations (Top Consumers): class sun.awt.SunToolkit 333.7 MB com.tennisearth.service.impl.CacheMa...
Sumit
6

votes
1

answer
13.3k

Views

Using image.complete to find if image is cached on chrome?

I have been trying to find out if an external image is cached on the browser with js, this is the code I have so far: function cached( url ) { $('#imgx').attr({'src':url}); if(document.getElementById('imgx').complete) { return true; } else { if( document.getElementById('imgx').width > 0 ) return tru...
user979390
4

votes
1

answer
3.8k

Views

How to download image using volley and store in cache while image not in use

I am using volley library to download network responses. I know volley download images when it is needed only. But what I want to achieve is to download all the images at a time and store in my cache memory. So basically I want to download all the images at once and store in cache so if there will n...
Kunu
4

votes
1

answer
837

Views

Displaying interlaced (progressive) Image in ImageView android

I am trying to display a JPEG image as it downloads like this library but its for IOS is there anything like this in android. While R&D found this but its also for ios. 1) Right now i am using this way to load it works but the overhead is i have to load twice. 2) Also used fresco with .setProgressiv...
Sohail Zahid
22

votes
2

answer
26.7k

Views

Glide : How to find if the image is already cached and use the cached version?

Scenario: I have a large GIF image which I want to cache the first time user opens the app using Glide - Image Loading and Caching library. After that whenever user opens the app, I want to show the cached version if present. This GIF URL will expire after a given interval. When it expires, I fetch...
Shobhit Puri
11

votes
5

answer
18.8k

Views

Cache URL images iphone UITableview

I'm seeking a tutorial on how to cache images loaded from a url into cells of a uitableview. I found an example here http://www.ericd.net/2009/05/iphone-caching-images-in-memory.html#top But the code is incomplete. I'm an objective c novice so I found it very difficult to fill in the missing pieces.
dubbeat
2

votes
1

answer
104

Views

Superfast library for Android image caching [closed]

I looking for very fast Android image caching library. It's should support memory and disk caching, and also work fine with reusable views(such a ListView or GridView). I've tried to use Picasso and UniversalImageLoader, but I want to add more speed. On the older devices GridView works slow. The pro...
bvitaliyg
3

votes
2

answer
5.4k

Views

How do I force Drupal ImageCache create image styles on upload, not on first image request?

I am using ImageCache to generate several image styles for certain uploaded pictures. However, the site is going to be pretty high-load, so it might be more resource-efficient, if those sizes were created once the file is uploaded, not on first display event. Is there any way meant to do this withou...
Vasyl Zhuk
3

votes
1

answer
2.6k

Views

Angular - Changed image in server not reflecting in view

I have an Angular application which shows people profile images(loaded from a server) and has an option to change it. When the application loads the first time, the image is displayed properly. I call a web service to change the image on a server. The problem is even after changing the image on rem...
Adarsh Konchady
3

votes
1

answer
1.4k

Views

ImageLoader - Don't download image if it's already being cached

I don't want to download images if they are already cached. I am using ImageLoader library by NOSTRA. Please tell me if there is any way to do that. Following is the code:- DisplayImageOptions options = new DisplayImageOptions.Builder() .showStubImage(R.drawable.ic_stub) .showImageForEmptyUri(R.draw...
Ahmad Ali Nasir
2

votes
1

answer
616

Views

Android Glide: How to download bitmap at specific size?

I'm using Glide to load images on Scale ImageView - it is a custom view with pan and zoom gestures. I should pass Bitmap object to this custom view in order to set picture. So I can use Glide's .asBitmap() with SimpleTarget: private SimpleTarget target = new SimpleTarget() { @Override public void...
Ruslan

View additional questions