Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - How can I get a list of all images on SD card w/thumbnails?

How can I get a list of all images on SD card w/thumbnails?

All your problems with Audio, Video and Images.

How can I get a list of all images on SD card w/thumbnails?

Postby Sweevo » Thu Oct 21, 2010 8:59 pm

I'd like to display a gallery with all images on the SD card.

Of course, if I simply give it every single image on the card, most images will be included twice - first the original image, then the thumbnail.

Also, the app will run out of memory, dealing with those large images.

So what I'd like to do is find a list of all the images that have thumbnails, and for each of them, know both the thumbnail filename (so the gallery can display it) and the full image filename (so I can do something useful if the thumbnail is selected).

I can't figure out how to do that. The gallery app in the API demos has a few hardcoded images.

It sounds like such an obvious use for the gallery that there have to be examples somewhere...
Sweevo
Developer
Developer
 
Posts: 35
Joined: Thu Oct 16, 2008 9:27 am

Top

Re: How can I get a list of all images on SD card w/thumbnai

Postby Schermvlieger » Sun Oct 24, 2010 6:34 pm

There is a tutorial to achieve what you want here on these forums;

Use the search function: "pictures from sdcard" or "images from sdcard"
Schermvlieger
Senior Developer
Senior Developer
 
Posts: 159
Joined: Fri Feb 26, 2010 1:37 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 7 guests