How can I change the height for a psd file? - grid

I'm working on designing a website with photoshop, the problem is that the height limit of the PSD is reached.. and I'm still not finished
So how can I increase the size of the height without effecting the elements inside ?
Thank you

Using canvase size you want to increase you page height
path : image=>canvase size (shortcut:Alt + Cntr + C)
than using arrow left,top,right and bottom specified page increase

Related

Show image in Square grid (React + Material UI Grid)

I use React + [Material UI Grid][1] to show my images, the images are in different sizes, and I want to:
Keep image ratio
Make image fit the parent container square(in other words, all images in a row with the same height)
The problem is that, The number of columns in Grid is variant, sometimes 3 columns(on mobile) and sometime 6 columns(on PC), React calcuate the width of image Dynamically. I don't know the run-time image width, so i can not set the image height in my css style excatly. any idea? thanks.
You can see the following effect currently, a very tall image makes the grid streched vertically, very ugly.
Use this code. It centres the image inside the Grid and doesn't let it overflow while also not giving the dim in pixels. Although the dimension is fixed to square(a x a) but can be changed.
I had the same issue in the past so I am sharing my own code.
Hope this will be useful as I have used CardMedia with component type img. You can select the relevant CSS if not complete from inspecting.

Joomla when changing the headerlogo in beez3 template the image isn't fit to the headerlogo

I have Joomla 3.7.
I have replaced the file personal2.png in /templates/beez3/images/personal/personal2.png
to another image with the same resolution ( 1060X288 ).
The Image Logo changed but the image isn't fit, I mean the Image is with another size (more bigger).
I wanna inherit the default CSS and I want the image to fit to the logo header size and to be resized when the screen browser is smaller ( because when I smaller the windows the image is not showing very well and I lost some of it.
( I mean I want it responsive to the size of the window ).
I appreciate any help.
Thanks

Wordpress setting image height on import

I am having a bit of trouble with an unfamiliar wordpress theme. My featured images are all 870 x 550 and yet when i put them in they are resized to 870 x 490, with an ugly crop. I have found a couple of CSS entries with a value of 490px so I changed them to 550px (see code snippet).
div.featured-media-container {width:870px; height:550px;}
div.featured-media-container img {width:870px; height:550px;}
This has made the container the right size, and resized my image to fill it, but the crop still remains so the image is stretched. How do I stop them being cropped when I drop them in?
Thanks.
Oh, here's the page in question: http://www.decentdesign.co.uk/portfolio/east-wing-coffee/
You Just DO one thing from your wp admin panel
go to settings > Media
and change the size according to your nedd. For reference take a look of below attached image
that's it Very Simple

GWT Auto Scale Text font size to Fit within Bounds

How can I autoscale the text font size in a web page in order to make text in a div or p fit within given bounds?
There are nice solutions for Android, like this one, but I haven't found any for GWT.
Do you guys have any?
Thanks!
There are sevaral solutions to this problem:
(1) render the text, measure its width (myLabel.getOffsetWidth(), compare to the desired width, change font size if it does not fit and start over (remember to do this inside the Scheduler's deferred command, or your offset width will be zero);
(2) use FitText.js (http://fittextjs.com/);
(3) use canvas which can auto-fit text into provided space;
(4) use ellipsis when text overflows;
(5) use viewport units for text font (limited browser support at this time): http://css-tricks.com/viewport-sized-typography/
(6) create a different, more fluid UI design that handles content size better.

QtDesigner: Setting fixed size of QLabel

I have a fixed size label on a QtDesigner form. The label is used to display images, let's assume it's used to display thumbnails of 100x100 px.
I can set the size of the label but when I put the label in some layout manager the labels get resized to take the whole space. Even if I do it through the Form > Layout in a Grid. The size of the labels is shrunk.
I believe this is some corner case as labels are not often used to do such things (although they are meant to be able to display images). Is there a workaround to avoid the size of the labels changing when placed in the layout?
You can set horizontal and vertical size policies to Fixed or set the maximum height and width additionally. Either in code or in Designer.

Resources