开发者

Three20 setting thumbnail photo size

Three20's photo aplication sets the photo size of the photos which are expanded from thumbnail photos. I want to resize the bigger image into thumbnail size keeping the aspect ratio same. But there seems to be no delegate method to do the same. How to set the size of the thumbnail photos?

I'm getting this exception

TTDASSERT failed: 0 == _queue.maxContentLength || contentLength <=_queue.maxContentLength

for one of my photos that's not getting displayed neither on thumbnai开发者_开发知识库l nor on expanded view. How to fix this?

Thanx in advance.


I figured this out...

Set

[[TTURLRequestQueue mainQueue] setMaxContentLength:0];

in your application delegate... Setting it to 0 will let any image through, no matter how large..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜