Nivo slider resize his height at the begining - slider

Please run this page with IE:
http://www.capulloscompany.com/
I'm using nivoslider, as you can see, at the begining the height of the slider resizes itself.
The height of the images is the height you see once it is resized. For an strange reason, the first image is decreasing his original height. Does anyone know what is the problem?? Ty

Related

ngx chart resizing issue

Original screen,
Hi I am able to stretch the chart and increase the width but as soon as I hit button to shrink the width to original state; the chart is not resized .Its still using the expanded dimension
Above are screenshots of overlapping charts.
Anyone please help.

Resize height of picture and extend width

i have some picture which is 675x503. I would like to make more width on it and let's say to 1024 and in height to 400. How to do that without cutting my image and keep quality? I just would like to have this image on my website top. I got photoshop 6. I tried with Image->image size but its not what i need.
If you don't want to cut the picture at all, this will distort the image due to different height and width ratios. If this is not an issue, you could simply hit ctrl(or cmd)+t when the layer with the picture is selected. It will let you resize and rotate the entire image. There is also an option in the Image -> Image Size menu called "Bicubic Sharper", found in the drop-down list at the bottom of the menu(Photoshop CS6). It's meant for image reduction and should also solve your problem.

Does changing the frame of the view affect renderInContext and UIGraphicsGetImageFromCurrentImageContext?

I am trying to render the image of a scroll view even to the areas which is outside the visible area of the screen. I am resizing the frame of the scroll view to include the content size width and height.After resizing, I am doing a renderInContext and finally taking the image by UIGraphicsGetImageFromCurrentImageContext.
All I am getting is a square box of black color of certain bytes. If i do not resize the frame of the view, i get the image with incorrect frame.
Does changing the frame affect renderInContext? What can i do to get the correct image after resizing?

Zooming image smaller than UIImageView

I want to have a larger frame than an image so i do something like this:
And of course i have UIScrollViewDelegate and i handle the zooming. But there is one problem. When i zoom picture i can scroll to this "blue" empty space in a zoom mode.
After zoom when my zoom picture width is greater than scrollView width i wish that user cannot scroll to this empty space. How can i achieve that?
(1) zoomScale 1.0:
(2) after zoom and move to edge:
(3) what i want it to be:
EDIT:
After setting contentInset:
[self.scView setContentInset:UIEdgeInsetsMake(0, -30, 0, -(self.frame.size.width-csc.width/2))];
Why it is moving to left?
There might be a simpler approach, but one way that works is to use a negative contentInset (UIEdgeInsets) to the scrollView.

background image problem

i have an image sized 768X1024 and when i set the background image to a view, at the bottom it displays the white color (20pixel).Eventhough I incereses the image size 768X1044 it repeats the same.Please help me.
Make sure that the position is set to CGPointMake(0,0), with
[theImage setPosition:CGPointMake(0,0)];
It's probably just positioned up by 20 pixels.