hanumanDev
hanumanDev

Reputation: 6614

iPhone storing large amounts of images

I have a large amount of images that correspond to records in a sqlite db. where should I store them? I have 3 versions of the same image - large, med, thumb sizes. (I don't want to store them in the db table, but reference them instead from each record)

all the images have the same name - each small, med and large image files would all be called "1.jpg" for record 1 in the sqlite table etc... this is mainly because I'm using an image batch resizing program that retains the same file name and creates a new folder.

thanks for any help.

Upvotes: 3

Views: 1994

Answers (1)

vodkhang
vodkhang

Reputation: 18741

For my cached images, I stored them in TMP folder, you can access using NSTemporaryDirectory.

I don't know if it is good for your cases or if it is good in general but it works quite well

Upvotes: 2

Related Questions