Thứ Tư, 7 tháng 11, 2018

After Effect - Math.round a Slider number - Làm tròn sô


Ấn Alt + Click, add dòng sau vào Source Text:

Math.round(effect("Slider Control")("Slider")*100)/100
Kết quả -> 0.12, 0.45

Math.round(effect("Slider Control")("Slider")*10)/10
Kết quả -> 0.1, 0.4

Thứ Hai, 29 tháng 10, 2018

test

a

PHÍM TẮT TRONG PHOTOSHOP

Trong hình ảnh có thể có: văn bản Trong hình ảnh có thể có: văn bản
Trong hình ảnh có thể có: văn bản Trong hình ảnh có thể có: văn bản
Trong hình ảnh có thể có: văn bản Trong hình ảnh có thể có: văn bản
Trong hình ảnh có thể có: văn bản Trong hình ảnh có thể có: văn bản 
Trong hình ảnh có thể có: văn bản Trong hình ảnh có thể có: văn bản
Trong hình ảnh có thể có: văn bản 

Chủ Nhật, 12 tháng 8, 2018

Kích thước, size ảnh chuẩn cho cover Fanpage Facebook là bao nhiêu?

Hàng ngày chúng ta vẫn up ảnh thường xuyên lên Facebook, tài khoản cá nhân, Fanpage, tạo quảng cáo – Ads… nhưng liệu các bạn có nắm rõ về kích thước chuẩn của những bức ảnh trên Fanpage Facebook hay không? Hoặc làm thế nào để up ảnh với chất lượng tốt nhất có thể lên Fanpage nhằm mang lại hiệu quả tối đa cho chiến dịch? Trong bài viết dưới đây, Quản Trị Mạng sẽ giới thiệu cụ thể với các bạn về vấn đề này, cụ thể là kích thước – size ảnh phù hợp nhất để đăng lên Fanpage.
Lưu ý với các bạn là các con số trong bài được đưa ra dưới dạng CHUẨN, hay hiểu nôm na là size tối thiểu để đăng lên Facebook. Và trong thực tế thì các bạn nên đăng ảnh có kích thước bằng hoặc lớn hơn kích cỡ chuẩn này, vì nếu đăng ảnh size bé hơn thì sẽ dẫn đến hiện tượng ảnh hiển thị không chuẩn trên nhiều thiết bị, máy tính, laptop hoặc điện thoại.

1. Ảnh bìa Fanpage Facebook:

Nếu các bạn để ý kỹ thì gần đây Facebook đã thay đổi kích thước ảnh bìa trên Fanpage. Cụ thể:
  • Size ảnh cũ: 851 × 315 px
  • Size ảnh mới: 828 × 315 px
Ảnh để các bạn dễ hình dung:
Một số kích thước ảnh bạn cần để ý với ảnh bìa – Cover Fanpage như:
  • Xem trên máy tính: 828 x 315 px
  • Xem trên mobile:  828 x 465 px
Vậy làm thế nào để thiết kế được 1 ảnh cover chuẩn mà xem đẹp trên cả máy tính và di động?
Như vậy, chúng ta có thể thấy là phải cần đến 1 ảnh có kích thước 1222 x 465 px, trong đó thông tin cần hiển thị chủ yếu trong ô 828 x 465 px như ảnh trên, và phần đó sẽ hiển thị đầy đủ trên cả Desktop và Mobile nhé.

2. Ảnh Avatar Fanpage:

Vâng, rất đơn giản. Các bạn chỉ cần làm 1 ảnh bất kỳ, miễn phải là hình VUÔNG nhé, kích thước tối thiểu là 150 px (nhưng đó là số cũ, giờ các bạn cứ tạo ảnh 300 x 300 px là vừa đẹp).

3. Ảnh của các bài post lên Fanpage:

Hiện tại ảnh trên Fanpage của Quản Trị Mạng thì chúng tôi dùng ảnh to với kích thước 650 x 340 px khi share bài viết, và cũng cần lưu ý với các bạn là tạo ảnh to của bài viết là hình chữ nhật đứng nhé, các hình khác khi hiển thị ra nhìn sẽ rất xấu.

Với ảnh Thumbnail Note:

Hiện tại ảnh kích thước Thumbnail Note có size là 1105 x 410 px.

Với ảnh Shared Link Thumbnail:

Có rất nhiều loại hình ảnh khác nhau đi kèm với share link, ví dụ như Youtube hoặc thẻ og:image tag… Nhưng trong bài này mình chỉ đề cập đến thumbnail đẹp nhất – tốt nhất và cũng áp dụng nhiều nhất!
Kích thước ảnh khi làm:
Với ảnh này thì theo khuyến cáo của Facebook sẽ là 1280 x 628 px (lúc chạy quảng cáo) nhưng nhiều lúc không thể kiếm được ảnh sắc nét với kích cỡ như vậy thì các bạn có thể làm theo size 940 x 492 px cũng được.

Khi đăng 1 ảnh lên Timeline:

  • Nó sẽ, và nên là hình VUÔNG. Chắc chắn rồi, kích thước thì nên chọn ảnh to, đẹp rõ ràng trên cả máy tính và di động (tôi hay dùng ảnh size 900 x 900 px, đẹp cho cả ảnh bình thường hoặc chạy quảng cáo).
  • Đó là ảnh vuông, còn nếu các bạn có ảnh ngang thì sao? Facebook sẽ tự động co ảnh lại về về ngang chuẩn, tức là 470 px, dù bạn có up ảnh size nào đi chăng nữa. Ví dụ, nếu bạn đăng ảnh 940 x 800 px thì Facebook sẽ tự ép về size 470 px chiều ngang, tức là khoảng 470 x 400 px.
  • Và cuối cùng là ảnh dọc thì sao? Tương tự như trên, và Facebook sẽ lại ép về kích thước ảnh với chiều cao là 470 px và để lại 1 khoảng trắng ở bên tay phải. Ví dụ: nếu đăng ảnh 600 x 940 px thì sẽ co lại kích cỡ 400 x 470 px.

Với cả Album ảnh:

Tương tự như với 1 ảnh ở bước trên thôi các bạn!

Kiểu hiển thị 2 ảnh ngang thì sao:

Kiểu hiển thị ảnh đứng, dọc:

2 ảnh vuông:

Chúc các bạn thành công

Thứ Sáu, 27 tháng 7, 2018

Hướng dẫn đổi tên file hàng loạt với 1 click (*.VBS)

Có một cách thủ công nữa cũng khá hay và chuyên nghiệp. Cách này là chúng ta sẽ tạo ra một file *.vbs. Chỉ cần 1 click chuột và tất cả các file sẽ được đổi tên theo ý thích của bạn. Bạn có thể làm theo hướng dẫn như sau, rất đơn giản thôi.

+ Bước 1: Bạn cũng copy tất cả hình ảnh vào chung một Folder.

+ Bước 2: Bạn mở Notepad ra và dán đoạn sau vào và lưu lại với tên bất kỳ có đuôi là *.vbs

+ Bước 3: Bạn chỉ cần chú ý đến 2 đoạn mình tô mày xanh đó. Thay đường dẫn và tên tương ứng là được. Sau đó nháy đúp chuột vào file rename.vbs để rename file hàng loạt là xong.

Lưu ý: Để chỉnh sửa file *.vbs này thì bạn chỉ cần nhấn chuột phải vào file đó và chọn Edit để chỉnh sửa và lưu lại.


set fso = CreateObject("Scripting.FileSystemObject")
set root = fso.getFolder("E:\_Work\_DGC\180728\Resources\Vong quay")
Dim number

for each file in root.Files
number=number+1
file.Name = "vong-quay" & number & "." & fso.GetExtensionName(file.Name)
next

Change location of Chrome cookies folder

1. Shut down Chrome. Then open Task Manager and check the processes and make sure the Chrome process is not running. Just closing Chrome doesn't always shut down the Chrome process, and if it's running, it will lock certain files that you need to move in the next step.
2. Create a directory at some suitable location where you want the cache to go, for example D:\Chrome Cache and Profile
3. Navigate to where Chrome is installed, and move the entire "User Data" directory into this new directory you created in the previous step. The User Data directory is usually found at C:\Users\{username}\AppData\Local\Google\Chrome\User Data. Just move the whole User Data directory to the new location. So now in the new location you'll have a User Data directory, like so "D:\Chrome Cache and Profile\User Data". And the User Data directory will be gone from the original location, because you moved it.
4. Next, open an elevated command prompt (right click the command prompt icon and choose "Run as Administrator"). In the command window, type:
mklink /J "C:\Users\{username}\AppData\Local\Google\Chrome\User Data" "D:\Chrome Cache and Profile\User Data"
Make sure to replace the {username} with your own user account name. Don't leave out the quotes, they are necessary.
That's it. Next time you start Chrome, it will store all files related to your profile (including cache) at the new location.

Thứ Sáu, 1 tháng 6, 2018

Kích thước ảnh Album Facebook “SIÊU ĐẸP”

Mọi người có thể linh hoạt kích thước nếu ko cần quá chính xác ghép ảnh. Chỉ cần nhớ 3 size tiêu chuẩn: Vuông, Chữ nhật đứng, Chữ nhật nằm là oki <3
– Tất cả Ảnh Vuông: Thì ảnh ablum sẽ đều nhau hết
– Ảnh đầu Chữ nhật đứng: Thì ảnh ablum 1 ảnh to, ảnh còn lại nhỏ ở bên phải
– Ảnh đầu Chữ nhật nằm: Thì ảnh ablum 1 ảnh to, ảnh còn lại ở phí dưới
Ảnh tiêu chuẩn Facebook khuyến cáo:
Vuông: 900×900 pixels (cho nhẹ)
Chữ nhật nằm: 1200×900 pixels
Chũ nhật đứng: 900×1200 pixels
Dưới đây là kích thước ảnh chuẩn, để khi vào khung hình ablum không bị co méo nội dung:










Facebook Photos Size Guide | 2018

Facebook Cover Photo Size

The Facebook Cover Photo is the large panoramic image space at the top of the timeline.
Facebook Photos Size Guide | 2018
It's now displayed at 820px wide by 312px high on desktop and laptop browsers. That's the rather random aspect ratio of 205:78. On smartphones, it's displayed at a more conventional 640px by 360px (16:9 aspect ratio).
Facebook Photos Size Guide | 2018
The image you upload must be at least 399px wide and 150px tall. I recommend uploading ones that are at least 1640px wide and 624px high to maximize the image quality.
If you've just set up a new Facebook profile or page and don't yet have a cover photo, just click on the "Add a Cover" button at the top of the page where the Cover Photo will go.

Changing Your Facebook Cover Photo

Once you've added your photo, you can replace it easily. When you're logged in to your account and on the Timeline view, move your mouse to the camera icon at the top left of the cover photo section. When the cursor gets over it, it will change to "Change Cover." Clicking on that opens a drop-down menu from which you can choose the source for the new photo. This is also the same menu to use if you want to remove or reposition an existing photo.

Cover Photo Types: Single Images

In terms of types of images, panoramas are ideal. Simple crops also work, although the effectiveness is obviously going to vary based on what it's the image. And there's nothing stopping you from assembling multiple photos into a collage in your imaging software, saving it as a single image file, and uploading that. Like these, for example:
facebook
Facebook Photo Size Guide

Cover Slideshows: Multiple Images

Until fairly recently, it was only possible to choose one photo to act as your static cover photo. But a new feature has been added: slideshows. You can now select up to 5 photos that rotate. Access this feature through the same menu that lets you add or change the cover photo (i.e. the camera icon at the top left of the cover image section).
When you create a slideshow, you're given the option to select up to 5 images that will be used. Use the filmstrip at the top to choose the images either from existing images or upload new ones. You can then click on the thumbnail and get a preview of how it will look in the larger space below the thumbnails. You can click and drag in that section to reposition the image in the viewport.
Facebook Photos Size Guide | 2018
You can also have a dynamically generated version that lets Facebook choose the photos based on what's performing well and based on the activity on your page. You can turn this feature on or off using the switch at the top right of the slideshow editing screen.
Facebook Photos Size Guide | 2018
If you're using the slideshow cover, your visitors can navigate through the slideshow using the arrows on each side or the position indicators at the bottom.
Facebook Photos Size Guide | 2018
There are two things that I find odd about the way the slideshows currently display to visitors. The first is that the slideshow doesn't advance automatically. So to see more than one image in the slideshow, your visitors will have to know to manually advance through. I suspect only a very small percentage will do so. The second thing is that if you turn off the option for Facebook choosing the images, it displays the images in the same order every time rather than randomly. The upshot of both of these things is that, at least in how it's currently implemented, the vast majority of your page's visitors are likely to only ever see the first image.

Facebook Profile Picture Size

The Profile Picture is the smaller, square at the bottom that's to the left of the cover photo. It used to overlay the cover photo's bottom left corner, but in the latest layout, it has been moved to its own spot in the top left of the page.
Facebook Photos Size Guide | 2018
Whatever shape image you upload, it will be cropped to a square. It displays at 178px wide by 180px tall on computers and 128px by 128px on smartphones.
Facebook Photos Size Guide | 2018
If you use a photo that's not square, you have some control over which part of the image to use for the crop. When you're logged in, click on the small camera icon at the bottom right of the profile picture--as you hover it will overlay to a "change image" link.
Tip: If you find that your resulting profile picture, after it's downsized in Facebook, is blurry, try uploading an image twice the size of the downsized image (that is, an image that is 340px by 340px). That should give a sharperresult.

Profile Picture on the Timeline

The profile image that appears next to your name on comments and posts is the same image but is automatically scaled down to 40px by 40px.
Facebook Photos Size Guide | 2018

Shared Link Thumbnails

The thumbnails for shared links display at 450px by 235px.
Facebook Photos Size Guide | 2018
For a while, it was possible to choose a different shared link image, but that feature has been removed. For now, at least, there is a workaround if you share the links using a social media management service such as Buffer, but you can can't choose a different image to use from within Facebook anymore. If you're sharing links from your own site, it is possible to specify which image you want to use as the image thumbnail, but that's something that you'll need to set up on your site and is beyond the scope of this post. But if you're looking for what terms to Google on this, what you're trying to do is set the "og:image" property in the page's Open Graph metadata. Here's Facebook's documentation, and if you're using a CMS like WordPress for your site there are plugins that can handle it for you.
What you can do still is add more thumbnails that are in addition to the original (not in place). When you go to share a link, use the bottom section of the popup to add more images. But you can't deselect the original image anymore like you used to be able to.
Facebook Photos Size Guide | 2018

One Photo on the Timeline

When you upload an image to the timeline, a thumbnail is generated automatically to fit within a box that is 476px wide and up to 714px tall. So if you want to use the maximum space available, upload an image in portrait orientation (vertical) that is in the ratio of 3:2.
Facebook Photos Size Guide | 2018
If you upload a landscape (horizontal) image, it will be scaled to 476px wide and retain its shape. This, for example, is a rectangle in landscape orientation that's in the aspect ratio of 3:2. The full area of the image appears.
Facebook Photos Size Guide | 2018
This is another rectangle in landscape orientation, but it's a much narrower aspect ratio like a banner or panorama. The width is again 476px and the image is scaled so that the entire image area appears.
Facebook Photos Size Guide | 2018
If you upload that same image rotated 90 degrees, so that it's tall rather than wide, it will be cropped to the maximum available area of 476px by 714px.
And if you upload a square, the whole image will be displayed, with the width at 476px.
Facebook Photos Size Guide | 2018

Uploading Multiple Images to a Page Timeline

You can upload multiple photos at once to the timeline. How they're displayed depends on how many images you're uploading and the orientation of what I will call the primary image.
The primary image is what I'm calling the one that displays first in the uploading popup, and it also displays larger in some of the layouts. So far as I know, there's not an official name for it, but I'm going to go ahead and use "primary image." So that's what I'm referring to in the section below.
As well as displaying first, the primary image has another important role. It determines the layout you get. If you upload 3 images with a square primary image you'll end up with a different layout than if you upload 3 images with a rectangular primary image.
The easiest way to select which image serves as the primary image is to drag it to the left in the upload dialog.
Here's an example of what I mean. In this one, I'm uploading two images, a red square and a green portrait rectangle. If the red square is in the first position, like this:
Facebook Photos Size Guide | 2018
it posts like this:
Facebook Photos Size Guide | 2018
Uploading exactly the same two images but reversing them, so that the portrait rectangle is first, like this:
Facebook Photos Size Guide | 2018
displays like this:
Facebook Photos Size Guide | 2018
The same principle applies if you're uploading two, three, or four images--the layout will always take its cue from the primary image.

2 Images With Horizontal (Landscape) Primary Image

The full width becomes 476px and the height is cropped to 237px.
Facebook Photos Size Guide | 2018

2 Images With Vertical (Portrait) Primary Image

Facebook Photos Size Guide | 2018

2 Images With Square Primary Image

Facebook Photos Size Guide | 2018

3 Images With Horizontal (Landscape) Primary Image

Facebook Photos Size Guide | 2018
Because the layout takes its cue from the primary image, you can mix and match the orientations of the non-primary images--they'll still display the same.

3 Images With Vertical (Portrait) Primary Image

Facebook Photos Size Guide | 2018

3 Images With Square Primary Image

Facebook Photos Size Guide | 2018

4 or More Images with a Horizontal (Landscape) Primary Image

Facebook Photos Size Guide | 2018
You can mix and match the orientations of the non-primary images--they'll still display the same.
If you upload 5 images or more, it displays only the first 4 images but will add an overlay to the bottom right thumbnail with the number of images that are not displayed (eg. +2 or +4, etc). Like this:
Facebook Photos Size Guide | 2018

4 or More Images with a Vertical (Portrait) Primary Image

Facebook Photos Size Guide | 2018

4 or More Images with a Square Primary Image

Facebook Photos Size Guide | 2018

Full-Width Photos on the Timeline

Yes, they were cool. The image spanned both columns. But Facebook did away with them in their redesign in mid-2014. Your updates now only show in a single column, and there's no way to make photos wider than that column.

Event Header Images

No matter what shape image you upload as a header image for an even post, it'll be cropped to an aspect ratio of 16:9. For best results, upload an image that's 1920 by 1080 pixels. But something to watch out for is that in the main event view it's scaled down quite a lot, so don't use fonts that are too small (people can click on the image to open a larger version, but not everyone is going to do that).
When it's displayed on the main event page it's scaled to 500 by 262 pixels, like this:
Facebook Photos Size Guide | 2018

Metadata

While not specifically related to image sizes, it is worth knowing that Facebook strips out all metadata from your images. That includes all GPS, camera type, and other data that your camera might embed, as well as anything like keywords or copyright information you might have added. (An exception is if you're in Germany).

Facebook Photos Cheat Sheet / Computer Displays

WidthHeightNotes
Cover Photo / Cover Slideshow820px312px
Profile Picture in Header178px180pxMust be at least 180px by 180px
Profile Picture on Timeline40px40pxSame image as main Profile Picture, automatically downscaled
Shared Link Thumbnail450px235pxOnly for single thumbnails. Multiple thumbnails are cropped to squares 300px by 300px.
Uploaded Timeline Photo Thumbnail476px max714px maxSee exceptions above for multiple images.
Event Header Image500px252px16:9 aspect ratio only. For best results, upload 1920 x 1080 px image.