Questions tagged [preview]

User Interface action to display a preliminary or scaled down version of the actual item.

User Interface action to display a preliminary or scaled down version of the actual item.

For images, typically showing a thumbnail version of the full image.

For documents, typically showing the first few pages or draft copies of the final.

1681 questions
19
votes
5 answers

Is there a way to do drag-and-drop re-ordering of the preview elements in a dropzone.js instance?

I have a dropzone.js instance on a web page with the following options: autoProcessQueue:false uploadMultiple:true parallelUploads:20 maxFiles:20 It is programmatically instantiated, as it is part of a larger form. I have it rigged up to process…
ralbatross
  • 2,448
  • 4
  • 25
  • 45
19
votes
2 answers

startPreview failed but not all devices

I'm getting an error startPreview failed but not all devices. In Motorola RAZR and Samsung Galaxy S3, it's working very well. Some people told me they got the same problem in other devices (Galaxy SII Lite, Galaxy Ace Duos, Samsung Galaxy Y,…
groff07
  • 2,363
  • 3
  • 32
  • 48
19
votes
4 answers

Twitter Bootstrap Image Upload with Preview and Progress Bar

How can i use Twitter Bootstrap to upload a single image with preview and progress bar. As currently, Until I save the image, I can not see what any preview or progress bar to upload the image.
azeem
  • 518
  • 1
  • 10
  • 22
18
votes
2 answers

Google cloud shell missing web preview button

I stepped away from my sample Transport-Tracker project, which had been working just fine. Now, when I run the Google Cloud Shell, the web preview button is no longer present. Also missing is the file transfer button. The Cloud Shell only includes…
Karl Heinz
  • 261
  • 2
  • 8
18
votes
3 answers

android studio designer preview: how to include device frame?

There seems to be tons of answers to the opposite question "how to remove device frame" which instructs user to click the "settings" button inside preview to uncheck "include device frame (if available)". But for me using 2.2.2 on a mac and 2.2.1…
rockhammer
  • 957
  • 2
  • 13
  • 38
18
votes
6 answers

AVCaptureVideoPreviewLayer (camera preview) freezes/stuck after moving to background and back

Cant figure this one out. Everything works fine when the app is active, and than sometimes when i move the app to the background(pressing the home button) and than going back, the previewlayer freezes/stuck. Im using viewWillAppear and…
Roi Mulia
  • 5,626
  • 11
  • 54
  • 105
18
votes
2 answers

Is there a way to preview a fragment being used in another view in IntelliJ IDEA 12?

I recently made the switch from Eclipse to IntelliJ IDEA 12. Is there a good way to preview a fragment being used in another xml layout file? In Eclipse there's a way to specify which fragment I'm using which is pretty helpful. Edit…
loeschg
  • 29,961
  • 26
  • 97
  • 150
17
votes
4 answers

How to automatically refresh a PDF document open in macOS Preview when the underlying file is modified?

I’m writing in LaTeX on a macOS machine, while using the preinstalled Preview.app for viewing the compiled document. After the LaTeX file is recompiled, Preview.app: does not refresh the PDF automatically, and refreshes when I click its window,…
Chitu Mazhong
  • 187
  • 1
  • 4
17
votes
2 answers

iPhone SDK - How to disable the picture preview in UIImagePickerController?

Is there any way to disable the image preview after taking a picture with the UIImagePickerController? I want to dismiss the ImagePicker as soon as the user pressed the shutter release button.
dan
  • 5,377
  • 13
  • 39
  • 44
17
votes
1 answer

Camera preview UI overlay on Android?

How do I write code which layouts UI elements (Buttons, etc) over camera preview on Android ?
Eli Ben-Ami
  • 489
  • 2
  • 5
  • 15
17
votes
3 answers

Modelbinding for empty query string parameters in ASP.NET MVC 2

The behavior described here appears to now be the default for ASP.NET MVC 2 (at least for Preview 1). When modelbinding a querystring like this : ?Foo=&Bar=cat The following binding occurs (assuming you're binding to a model with 'Foo' and 'Bar'…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
16
votes
1 answer

How to preview code attachments in Outlook?

I frequently sent or receive mail with source code attachments (.c, .cpp, .h, .js, etc). It would be easier if I could preview these files in Outlook, so I do not need to open in another application. Preferably, the preview would include syntax…
Jury
  • 1,227
  • 3
  • 17
  • 30
16
votes
1 answer

Android - Camera Preview

i'm trying the camera preview This is my code and it doesn't throw any error, but the screen is still black. Any ideas? this.setContentView(R.layout.camerapreview); SurfaceView cameraSurface =…
david
  • 2,135
  • 4
  • 24
  • 34
15
votes
1 answer

SwiftUI preview canvas ignores locale setting

This doesn't work: .environment(\.locale, .init(identifier: "es")) The preview canvas still shows the english values... Localization works properly if I run the app on the emulator and change the language in the device settings. But it does not work…
Ilya
  • 302
  • 2
  • 8
15
votes
2 answers

Android Preview M: activity recreates after permission grant

I play around with the Preview M and test my app on it, especially the "saving a file to external storage" part. Before the download/save process starts, i request for Manifest.permission.WRITE_EXTERNAL_STORAGE permission as described on the…
A.D.
  • 1,412
  • 2
  • 19
  • 37