The size of the photos on the apps - flutter-layout

I want to add some photos on my app on screens and icons. How i can finde out, what is the best size of the photo for screens or icons.
I tried some photos, but they don't look well.

Related

Web widget to allow users to tag faces in photos?

I've been developing a website for my high school class to generate interest in our 50th reunion in 2025. Yeah, I'm older, but hey I'm still in the game! More than half of our alumni hate Facebook, so sharing photos and info on classmates with them necessitates building a website that allows basically the same functionality.
I have a few sections of the website that are basically image sliders to pull "Back in the Day" photos from a MySQL database I setup with hundreds of collected photos and allow users to comment on them. I have been toying with the idea of giving the user the ability to tag faces in those old photos (like Facebook). I've done some preliminary searches for web widgets that allow people browsing the site to tag the photos and have not found anything yet that pans out. Even the ability for me to manually tag the photos and push those into the database would be great, as long as the browsing user can hover over a face in the photo and see the tag,
Anyone know of a website widget that gives the web developer or the web browsing user the ability to face tag photos? Thanks in advance for sharing!
Alan-Seattle

Will the play store icon made by Image Asset in Android Studio cause "Hi-res icon" error?

I use Image Asset in Android Studio to generate the Google Play store icon, you can see Image A.
It's 512 x 512, 32-bit PNG.
But Google Play reject it, the following information is displayed
We found an issue in the following area(s): Hi-res icon
Are there some bugs with Image Asset to generate the Google Play store icon?
Image A
Reject Details
Your app is rejected due to the policy here: https://support.google.com/googleplay/android-developer/answer/9888374
Most likely this is the policy that it breaks:
App titles and icons that are so similar to those of existing products or services that users may be misled
Google is probably worried that the icon is just an microphone icon, which is used in other places in the Android system, and may therefore mislead users that the app is related to Android or Google.
Therefore, I suggest modifying your icon to differentiate it and make it unique, and then they should accept it.

How can I use a UIWebview to load content from a asp.net website dynamically loading .mp4 video and get the video to play?

I have a client that has a website. The website current allows users to login and search for and play .mp4 video. The list of playlist is created dynamically where values are stored in a sql server 2008 database. My client's site is already built for smartphone utilization and did not want to recreate an iphone app. Besides it would mean loading thousands of video. Instead I thought I would use the UIWebview to load the website. This seemed to work well. However, when you try to click on and play video within the UIWebview nothing happens. This is not the case if we launch the mobile website within the apple mobile safari browser. The vide plays by kicking off in the iPhone video player. Is there any way to accomplish this same functionality with a uiwebview? Any guidance or help is appreciated.
UIWebView will play video using <video> if everything is set up correctly, either remote files or local files will work (if they are the correct format).
What does your video tag look like? In particular your src.
If you want to, for example, play an inline video the html5 for that would be something like
<video id="theVideo" controls width="280" height="160" src="yourVideo.mp4" webkit-playsinline></video>
And it would be necessary in the UIWebView to set this line
self.webView.allowsInlineMediaPlayback = YES;
Or you can also explicitly load the media player, but doing everything in HTML5 is neat and tidy and easy.

Why does Google Earth show incorrect images when using google hosted images

Earth often seems to load random images instead of the ones specified in kml. For example load the kml sample from the kml documentation for IconStyle (https://developers.google.com/kml/documentation/kmlreference#iconstyle) It specifies the image at http://maps.google.com/mapfiles/kml/pal3/icon21.png which when viewed in a browser is a building on a green field, but in earth shows up as mountains.
Seems almost as though earth is hard coded to use an internal palette whenever a google hosted image is found and the palettes have gotten out of sync.
(Earth version is 6.2.1.6014 (beta))
I think this is a unfortunate legacy issue.
Google Maps at one point changed around their icons - reusing the same filenames!
Google Earth on the other hand knows that many users where using the specific icons in their Places and KML files. So rather than everybodies icons suddenly changing randomly, they choose to still show the old icons.
Would be funny if it wasn't true!
If you really want to use Google hosted icons, you could use an alternative URL - one that hopefully Google Earth wont attempt to 'fix', eg http://googleapis.com/mapfiles/kml/pal3/icon21.png
But really would not recommend relying on Google Hosted icons. They can change at any point.
If you really don't want to have any problem download the icons you want to use and create a KMZ layer instead of KML. Like that you will be able to have a folder with your images inside and you won't be depending on the hosted ones.

How can I resize images dynamically so they don't look stretched on a page?

I have a website I am building for myself that I want to display the same image, but throughout the site in different sizes. So for example on the Portfolio page I want the image to be very large, but then have same image in thumbnail version on same page, and then on the landing page I want same image to be slightly larger.
What is the best and smartest way to go about this? It would be much easier for me to just make one image, upload to server, and then change the size however I see fit throughout the site so I don't have to upload multiple sizes of the same image. The goal is to scale/resize these so they don't look stretched.
The imageresizing.net library is designed to do exactly this. It installs on any Windows IIS server, and lets you add a querystring after any image URL to resize it.
Ex. image.jpg?width=100 would dynamically resize (and cache to disk, if enabled) the image.
The library has a long history of running high-volume websites such as social networks & photo album services, has a large community, and 39 plugins.
[DISCLAIMER: I'm the author].

Resources