Questions tagged as 'resize'

1
answer

resize an image and then save it in mysql

From a form I want to resize an image only after and then save in mysql, or grab an already saved image in mysql and resize it and then update the registry. Thanks so much if anyone can help me. * the table in mysql * CREATE TABLE 'imagem...
asked by 11.04.2017 / 23:31
1
answer

Resize image in a square while maintaining proportion of the original PHP image

What happens is this: I'm pulling some product photos from an XML link, and the images come in different sizes. I currently use a code that takes the image and resizes it to 200x200, but images with different height and width obviously make i...
asked by 20.01.2017 / 18:15
0
answers

Rotate android image without resizing it?

I'm "translating" a program written in C # for Android, and I had a problem while performing the rotation of an image. The code works normally, but returns an image of a different size than the original, I understand why the new image has a diff...
asked by 24.08.2015 / 20:09
1
answer

Function to change Height with errors

184 function bannerPrincipal(){ 185 var bannerHolder = document.getElementById("banner-principal"); 186 var windowSize = window.innerHeight; 187 bannerHolder.css.height == windowSize+"px"; 188 }bannerPrincipal(); I'm trying to chan...
asked by 13.07.2017 / 22:49
1
answer

Event after form resize

I have a project in delphi 2010 in which I am trying to create a after resize event. Is there any way to create the event in a project form? The goal would be to execute a code only after resizing the form is complete, an...
asked by 08.11.2016 / 17:10
3
answers

set div size according to svg in js

Good afternoon. Sorry for the beginner doubt, but I wonder if it's possible to use the onresize javascript event to resize a div / container. I'm using this code: var resizeTimer; window.onresize = function (event) { cle...
asked by 28.08.2018 / 15:37
1
answer

Upload resized image in wordpress

Good evening. I'm trying to load only the "thumbnails" of the images in my custom page, however the site loads the original image and resizes it. This is loading my site. My code: <?php if ( $the_query->have_posts() ): ?> <d...
asked by 05.05.2018 / 03:13
0
answers

CSS issues

I have the following JQuery function to change the font size during Screen Resizing. const textPattern = 0.0085; function resizeFont(widthWindow){ var calc_text = widthWindow * textPattern; $('body').css('font-size', calc_text); }...
asked by 12.11.2016 / 12:36
0
answers

Change height of an image by associating with navbar

Implemented a navbar with a logo on the top, inspired by this site: link . It occurs that the client's logo has another aspect ratio and is taller than the collapsed navbar in the mobile version. If I leave it with the required size to navba...
asked by 31.08.2016 / 20:11