Questions tagged [dynamic-resizing]

Dynamic resizing usually refers to on-the-fly resizing by a web server. This feature reduces development time and webmaster overhead by eliminating a common pain point in web development.

Dynamic (server-side) resizing can be difficult to implement properly. Image scaling is an inherently resource-intensive operation, and should always be coupled with a thread-safe caching system. File access synchronization can be difficult when dealing with large files and long 'open' times.

A correct implementation should

  • Not allow photos to be accessed that would not normally be publicly accessible.
  • Cache image results to

Dynamic image processing libraries by platform (With a URL API)

Ruby

PHP

ASP.NET

This may not be a complete list - Feel free to add any library that is missing.

70 questions
55
votes
12 answers

Responsive Highcharts not sizing correctly until window resize

I'm using Highcharts within Zurb's Foundation framework for a class project. I have three charts within a section tab. One is within a 12-column div, the other two are on the same row within 6-column divs. When the page loads, the featured chart…
19
votes
1 answer

How to auto resize JFrame according to content

I have created a custom JPanel that displays images (lets call it MyPanel), I have added this to JFrame's contentPane. I want JFrame to be resized automatically to fit the MyPanel when image changes. It looks like I need to call frame.pack() to do…
nimcap
  • 10,062
  • 15
  • 61
  • 69
17
votes
3 answers

std::string and its automatic memory resizing

I'm pretty new to C++, but I know you can't just use memory willy nilly like the std::string class seems to let you do. For instance: std::string f = "asdf"; f += "fdsa"; How does the string class handle getting larger and smaller? I assume it…
Thomas T.
  • 199
  • 1
  • 6
10
votes
2 answers

App Engine Cropping to a Specific Width and Height

I need to resize and crop an image to a specific width and height. I was able to construct a method that will create a square thumbnail, but I'm unsure on how to apply this, when the desired thumbnail is not square. def rescale(data, width,…
9
votes
7 answers

fancybox iframe dimension

In the fancybox homepage (http://fancybox.net/home) there is an example that opens an iFrame dimensioned as the 75% of the screen. I can't get it by modifying the width and height properties on the .js file as described on the site.
iperdiscount
  • 141
  • 1
  • 4
  • 10
4
votes
2 answers

Custom DirectShow Source Filter - Dynamic Resolution Change

I've asked a very similar question before for a video renderer filter. See here: Custom DirectShow Video Renderer Filter - Dynamic Resolution Change But this time, I need a solution for a source filter. This source filter connects directly to the…
Emir Akaydın
  • 5,708
  • 1
  • 29
  • 57
3
votes
0 answers

CSS performance issue during manual resizing of a div

I have a div that acts as drawer that the user can pull down from the top of the window, that contains a dozen of buttons with some styling. the code for expanding/collapsing that div while pulling on it is: drawer.style.height =…
Gtb
  • 41
  • 3
3
votes
1 answer

Dynamic resizing rectangle on tkinter canvas

I am trying to create a simple slider that can resize a rectangle on the Tkinter canvas. I tried to first change the height only but it did not work. from tkinter import * sl_value = 10 def width(e): sl_value = e root = Tk() frame =…
nsrCodes
  • 625
  • 10
  • 25
3
votes
0 answers

Advice on achieving desired, adaptive UISplitViewController behaviors in iOS 8+

I'm trying to achieve a set of adaptive behaviors with a Master/Detail UISplitViewController in iOS 8+ that seem to me intuitive, but are not (so far as I have been able to discover) "typical" of Apple's examples or implemented in any of the various…
3
votes
2 answers

UINavigationController autoresizing views behavior

I've read in Apple's documentation about UINavigationController's resizing behavior and it hasn't been much of a problem until now. I have the following code to set up my UINavigationController's view: navController.view.frame = CGRectMake(0, 40,…
Hyperbole
  • 3,917
  • 4
  • 35
  • 54
3
votes
2 answers

How to disable resizing of user control in WPF

I have Usercontrol.I want to disable its resizing. The usercontrol is:
UserK
  • 33
  • 1
  • 3
3
votes
3 answers

Resize and align a picture within a div

How can I resize and align a picture within a div? I need to show resized images on a 50x50px div. I also want them to be centralized on the div. I've made this image below to show exactly what i want to do. The problem in that the CSS needs to…
Leandro Faria
  • 445
  • 2
  • 11
  • 25
3
votes
3 answers

Use Javascript to size 2 buttons based on which contains the longest content

Scenario: User enters text "thisisabutton" for ButtonA User enters text "thisisalongerbutton" for ButtonB Both buttons dynamically adapt in size to fit text length, thus making them 2 different sizes I want ButtonA to be the same size as ButtonB…
2
votes
2 answers

Is boost::random::discrete_distribution dynamically resizable?

I cannot find much documentation of the Boost version of discrete_distribution. After much Google searching, I still can't even find a list of methods that this class has, and whether any of them function to re-assign the probabilities. In my case,…
ely
  • 74,674
  • 34
  • 147
  • 228
2
votes
1 answer

How to make Image to zoom in when resizing window for a website

I am currently making a website and I wish for the image to zoom in when resizing the browser window. .image1 { width: 100%; height: 300px; }
Ron
  • 41
  • 3
  • 8
1
2 3 4 5