User avatar dimension standards or specifications [closed] - image

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
We have seen a user avatar will have different sizes on Facebook, Twitter, etc.
For example, Twitter has 3 different avatar sizes: 24x24, 48x48, 128x128; Facebook mainly has 50x50 and 180x180>.
I am wondering if there is a standard thumbnail size that a website should adopt, or it's all solely based on the design?
Thanks.

Like you say its just down to the design of your site. If in doubt, adopt the same resolution as a big player like Twitter, and allow users to upload a larger image which will give you the flexibility to show a larger version if someone clicks through to their profile.

I found this page to be most useful.
https://en.gravatar.com/site/implement/images/
I plan to allow users to upload their own larger image and using similar rules as above, any dimension within range requested will auto generate the size for that image. So no matter if I want 50px or 51px, my site will generate the first request.
Obviously that requires software custom or other and is out of scope of your tags.

Related

which better unclickable or clickable images [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
are there difference between unclickable or clickable images?
for example page load time and another things because I see people use them
So I was wondering which one is better
unclickable images give you a better page load time, if you want a page to load fast make them unclickable since page load times really influence for example customers when buying stuff online.
please see :
https://smallbiztrends.com/2019/02/page-load-speed-impacts-buying-decisions.html

How to compress image using Laravel Package Image intervention [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Sorry for this stupidity question. I'm developing a classified website in Laravel here it is link salebaba.com Please visit
When users post an Ad I'm creating 3 sizes of images (Original , Mid , Thumb) for optimizing my website speed. But Now I want to compress image when it is uploading. I'm using Laravel Image intervention to resize image.
How can I compress image using Laravel or Image intervention to optimize Images?
Your suggestions are important
You can try to use
public Intervention\Image\Image encode([mixed $format, [int $quality]])
->... // any other methods from image intervention
->encode('jpg', 75);
The quality parameter is optional but is required in case of jpg.So you can check the format if it is jpg or not.
You can read more about it from encode docs

Embedding camera readable data on an image [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have a set of images on a data set and I want to create an application(on android initially) so that the application would be able to take an image and match it with an image on my data set. I tried using image recognition algorithms but I had very poor recognition chances. Is there any way to unobtrusively embed data on the image itself such that when a printed version of the image is scanned by the application, it would be able to extract the embedded data? I need some direction in this regard because I seem to be punching in the dark since I haven't worked on anything like this before.
Thanks
You can try with OpenCV4Android, here is the introductory tutorial. Following SO will give you some more- Looking for OpenCV android tutorial

Drupal Image styles thumbnail, medium, large to default dimenssions [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
My drupal creates thumbnails of my uploaded image (thumbnail, medium and large). How can I stop drupal from creating these?
I don't want to have redimensioned images, I want original size.
PS: Drupal creates 3 images per uploaded image, so, for me are lots of nodes.
Thank you very much in advance!
The image styles isn't generated until the first time you use them. So, if you only use the original image in your theme and also inside your administration the thumbnail, medium and large images will never be created.
To use the original image in the backend you will have to go to structure/types/manage/<contentent_type>/display and change the image style that is used for displaying your field.

Ruby libraries to find "location" of items on laid out web page? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm looking for a library, or a strategy, that can be used, ideally in conjunction with Ruby/Nokogiri, to determine the layout location of items on a web page, when viewed in the browser.
For example, in the current page I'm looking at, there is a "Ask Question" button in the top right corner (I am guessing in the header). If, for example, I wanted to see where the all the words "question" are on the page, which would match this word, and other places hat have the word question, in terms of XY coordinates or pixels, how would I do that?
I clearly have to load the CSS. But, what else?
Any suggestions would be appreciated.
The Watir project might be able to help, as it talks directly to the browser, allowing you to get information about a page after the browser has finished rendering it. You'll need to look through the API to see if you can get the pixel locations for elements.
Pixel locations will be difficult though, because those are tied to font sizes and a real-human user could have something that is overriding the settings applied by the CSS. The information you get from a browser in your testing could vary wildly from what a real user would see. That might, or might not, be an issue for you.

Resources