Questions tagged [thumbnails]

Thumbnails are reduced-size versions of pictures, used to help in recognizing and organizing them, serving the same role for images as a normal text index does for words.

3149 questions
17
votes
4 answers

Pure CSS image thumbnails

I want to display a collection of image thumbnails in a grid. The images will come in a variety of sizes, but I'd like to restrict the thumbnails to a particular size (let's say 200px wide and 150px tall). What I'd like to find are some magical HTML…
Will McCutchen
  • 13,047
  • 3
  • 44
  • 43
17
votes
3 answers

How to get video thumbnail from YouTube URL and set it to image view in android

I want to create an application in which I want to play YouTube video. I want to get thumbnail from YouTube video URL which I have currently play in application and set it to image view. can any body help me with this.
Muhammad zubair
  • 251
  • 1
  • 3
  • 13
17
votes
3 answers

get Thumbnail image from wikimedia commons

I do have a filename from wikimedia commons and I want to access the thumbnail-image directly. Example: Tour_Eiffel_Wikimedia_Commons.jpg I found a way to get json-data containing the url to the thumbnail I…
user2033412
  • 1,950
  • 2
  • 27
  • 47
16
votes
3 answers

Thumbnail image of video

I am selecting video clip from library. And i want to create thumbnail image of it. I have applied this code. But the image appeared rotated. I want its original view. - (UIImage*)testGenerateThumbNailDataWithVideo { AVURLAsset *asset =…
DipakSonara
  • 2,598
  • 3
  • 29
  • 34
16
votes
0 answers

Thumbnail Metadata Disappeared When Importing File with Copy to App

I have been using the URL Resources to embed the thumbnail metadata into my custom document-based file. When I export my custom document file, the thumbnail shows up nicely when glanced in iOS Files app. override func fileAttributesToWrite(to url:…
HuaTham
  • 7,486
  • 5
  • 31
  • 50
16
votes
7 answers

how to generate video thumbnail in node.js?

I am building an app with node.js, I successfully uploaded the video, but I need to generate a video thumbnail for it. Currently I use node exec to execute a system command of ffmpeg to make the thumbnail. exec("C:/ffmpeg/bin/ffmpeg -i Video/" +…
paynestrike
  • 4,348
  • 14
  • 46
  • 70
15
votes
4 answers

Android: how to get a video thumbnail of a file that's private to your application?

Question: How do you get a video thumbnail for an application-private file? Specifically, is there a way to extract video frames from an .mpeg file directly? Background: My application includes a camera that can record video. For product reasons,…
Warlax
  • 2,459
  • 5
  • 30
  • 41
15
votes
4 answers

MVC3/Razor thumbnail/resize image ideas?

Is there an easy and dynamic way to create thumbnails and resize images in MVC3/Razor? A helper, libary, anything? It would be nice, if I somehow could manage the size of the images from the controller. Or even in razorview. Example: In the index…
Kasper Skov
  • 1,954
  • 10
  • 32
  • 53
15
votes
2 answers

Attach custom thumbnail for a video (not extract) - IOS, AVFoundation

I generate video by using AVFoundation. After that I write video to the Photos library by using Photos Framework (and get instance of PHAsset after that). I want to set custom thumbnail for added PHAsset (last frame from the video), but can't…
Andrew Romanov
  • 4,774
  • 3
  • 25
  • 40
15
votes
2 answers

How to get thumbnail of file using the Windows API?

I'm trying to get a thumbnail of a file in Windows API. I did find a way, but the code example requires Windows version 8 minimum, I would prefer a way that works in at least 7 or Vista, preferably in XP. If there is a platform independent way of…
Dude Dawg
  • 1,465
  • 2
  • 15
  • 26
15
votes
4 answers

Square thumbnail from UIImagePickerViewController image

In my app the user selects an image or take a picture using UIImagePickerViewController. Once the image was selected I want to display its thumbnail on a square UIImageView (90x90). I'm using Apple's code to create a thumbnail. The problem is the…
douglasd3
  • 761
  • 2
  • 10
  • 27
15
votes
8 answers

Wordpress - Featured Image Meta Box not showing on custom post type

I just created a custom post type, but for some reason the Featured Image meta box isn't showing up. It does show on the "posts" post type though. I have enabled theme support for thumbnails and have added the following code in my custom post type…
Ashley Staggs
  • 1,557
  • 9
  • 24
  • 38
14
votes
9 answers

generating a screenshot of a website using jquery

I would like to generate a screenshot thumbnail of any given url using strictly javascript. If this can't be done can anyone point me in the right direction to do this with my own api? edit I just decided to cheat and use frames because it was for…
Tyler
  • 2,346
  • 6
  • 33
  • 59
14
votes
2 answers

generateCGImagesAsynchronouslyForTimes sometimes don't generate entire thumbnails

I'm working on an OS X app that is using AVAssetImageGenerator.generateCGImagesAsynchronouslyForTimes, and it normally works fine. However, once in a while the thumbnail I get back only contains the first few rows of pixels, and the rest is green,…
Addison
  • 3,791
  • 3
  • 28
  • 48
14
votes
1 answer

Coerce Windows to show a thumbnail for my custom file type

I want to use the windows OpenFileDialog class in C# to browse files for my application. I would then like the files to show up with previews in Windows' "thumbnails" view. Is there a simple way to make this happen? I'm thinking there should be a…
Jakob Ryden
  • 317
  • 2
  • 13