xamarin forms uri image not resizing - xamarin.forms

In my xamarin forms project, I'm trying to resize an image from a uri. Problem is anything I try to resize the image is not working. I've tried adjusting the following:
heightrequest, widthrequest, Fill, fillAndExpand, placing it inside of another stacklayout ect. Ive tried using a local image from the resources folder and the image resizes fine, so this is only an issue with an image from a uri.

Not sure why this works, but placing the image inside of a grid, then setting the desired size in the grid resizes the image.

Related

React crop image library that also can move or resize image

I am looking for a image library with React. What I want to do is that there is a fixed editor and I can move and resize the image behind the editor and if the image in the editor is what I want, then I get fixed image's baseUrl. I found a few libraries, but those are only giving cropped function not moving or resizing image. I hope to find out cropped image library plus that can move or resize image.
Check out https://www.npmjs.com/package/react-avatar-editor
Sounds like what you're describing, including the base64 export.
There is a lot of packages around, the most recommended one is react-avatar-image-cropper.
Have a look at it: https://www.npmjs.com/package/react-avatar-image-cropper

Lightbox image is too small (wordpress)

I have uploaded an image into a wordpress website and when i enable open in lightbox the image actually shrinks to about a 200x200px square. the original file is much larger and im wondering if there is a way to enable the lightbox to display the larger image (or at least not shrink the image once it is opened in a lightbox)
Turns out the image link the lightbox was referencing had dimensions in the url, going to the media tab and taking the image location itself and pasting it in fixed the issue.

image resize affects every image in folder

I am having many webpages and I am using images in every page.I have one folder in my asp.net website.And I have stored my images in that folder.But my problem is when I change width and height of one image then this width and height automatically get applicable to other images that I used in webpages. I tried to change width and height of every image and saved it in aspx file but it didn't work.I am not getting what is the problem.please help.
Do you want to Resize Image of every folder or single folder ?
for getting an idea:
plz visit :
http://www.aspdotnet-suresh.com/2011/05/how-to-resize-size-image-without-losing.html
or
http://www.dotnethelpers.com/Ultimate_Image_Resizer/AspDotNet_Sample

Resizing an ASP.Net image to scale in Visual Studio

I am working on a Visual Studio master page, and trying to add the company logo.
I have imported the JPEG into my project, added an Image control and have set the ImageUrl property to my JPEG.
The problem is my image is massive! I am trying to resize it to scale, by holding down shift (which works in other MS products) but it's not working properly, and when trying to resize manually, I just can't get it to look right.
So my question is, how do I resize an image to scale in ASP.Net using Visual Studio 2010?
Visual studio is not for image scaling. You can scale the image on design view. After spefying image url for image you can re-size it as you do in powerpoint. But this is not a good practice as this will add height and width tag with specific value in your html for image.
So re-size the image using any tool as per your need and use it as this will make the page lighter.
If I'm understanding correctly, you want to change the dimensions of an image in Visual Studio.
Changing the dimensions of the image will just make the image appear smaller; it won't actually resample it and reduce its size in bytes. For both these reasons, take the extra minute or two to use another program to properly resize the image.
Resampling: smooths the image according to an algorithm and properly handles things like edges
Reducing size in bytes: this one is obvious. Your post is tagged with ASP.Net; you don't want a "massize" image being sent over the network.

Avoid image to get streteched when used as background image, in flex

I am developing a website in flex.
And in that, i am trying to set the background image of my application.
like this:
parentApplication.setStyle("backgroundImage", data.image_src);
From a different location.
My issue is that, the images that i have are small and hence they are being stretched when used as background images.
I want to avoid that from happening. How can i do it?
Please help me with the issue.
Regards
Zeeshan
Set the backgroundSize property to "auto" or to a fixed size.
The default for the Application
container is 100%. The default value
for all other containers is auto,
which maintains the original size of
the image.
If you want to tile instead, look at this post.

Resources