Skip to content

docs infra: reduce collaborator image sizes - #41292

Closed
petebacondarwin wants to merge 2 commits into
angular:masterfrom
petebacondarwin:docs-infra-reduce-image-size
Closed

petebacondarwin wants to merge 2 commits into
angular:masterfrom
petebacondarwin:docs-infra-reduce-image-size

Conversation

@petebacondarwin

Copy link
Copy Markdown
Contributor

Fixes #41287

@petebacondarwin petebacondarwin added action: review The PR is still awaiting reviews from at least one requested reviewer comp: docs-infra target: patch This PR is targeted for the next patch release labels Mar 20, 2021
@ngbot ngbot Bot modified the milestone: Backlog Mar 20, 2021
@google-cla google-cla Bot added the cla: yes label Mar 20, 2021
@pullapprove
pullapprove Bot requested a review from mgechev March 20, 2021 11:21

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for doing this 🤩

A couple of suggestions:

  • I think it would be useful to include the method/process/tools you used to reduce the image sizes in the commit message.
  • I think it would be a good idea to let the affected contributors know (e.g. by giving them a heads-up in Slack).

@AndrewKushnir AndrewKushnir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the help @petebacondarwin 👍

@petebacondarwin
petebacondarwin force-pushed the docs-infra-reduce-image-size branch from 6aeef25 to 19d818d Compare March 21, 2021 11:13
@petebacondarwin

petebacondarwin commented Mar 21, 2021 •

Copy link
Copy Markdown
Contributor Author
  • I think it would be useful to include the method/process/tools you used to reduce the image sizes in the commit message.

Done

  • I think it would be a good idea to let the affected contributors know (e.g. by giving them a heads-up in Slack).

Done

@mary-poppins

Copy link
Copy Markdown

In angular#41253 the size of contributor images was limited, but
some images were already too large. So an exclusion list
was added. These images have now been reduced, so
the exclusion list is no longer needed.

The files were reduced by a combination of running them through the
https://tinyjpg.com/ online service and manually setting their size to
168px wide or tall using the MacOS Image Preview app.
@petebacondarwin
petebacondarwin force-pushed the docs-infra-reduce-image-size branch from 19d818d to 4d78858 Compare March 21, 2021 11:37
@mary-poppins

Copy link
Copy Markdown

@mgechev mgechev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like some of the images are still more than 168px:

  • aio/content/images/bios/webdave.jpg
  • aio/content/images/bios/tracylee.jpg
  • aio/content/images/bios/thierrychatel.jpg
  • aio/content/images/bios/teriglover.png
  • aio/content/images/bios/sonukapoor.jpg
  • aio/content/images/bios/sidd-ajmera.jpg
    …

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

Looks like some of the images are still more than 168px:

  • aio/content/images/bios/webdave.jpg
  • aio/content/images/bios/tracylee.jpg
  • aio/content/images/bios/thierrychatel.jpg
  • aio/content/images/bios/teriglover.png
  • aio/content/images/bios/sonukapoor.jpg
  • aio/content/images/bios/sidd-ajmera.jpg
    …

My aim was to get the file-size down. I was not too worried if an image was actually larger than 168px. I think that gives enough flexibility to PR authors who want to add their contributor photos.

@petebacondarwin petebacondarwin added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 21, 2021
mhevery pushed a commit that referenced this pull request Mar 22, 2021
mhevery pushed a commit that referenced this pull request Mar 22, 2021
In #41253 the size of contributor images was limited, but
some images were already too large. So an exclusion list
was added. These images have now been reduced, so
the exclusion list is no longer needed.

The files were reduced by a combination of running them through the
https://tinyjpg.com/ online service and manually setting their size to
168px wide or tall using the MacOS Image Preview app.

PR Close #41292
@mhevery mhevery closed this in 2548921 Mar 22, 2021
mhevery pushed a commit that referenced this pull request Mar 22, 2021
In #41253 the size of contributor images was limited, but
some images were already too large. So an exclusion list
was added. These images have now been reduced, so
the exclusion list is no longer needed.

The files were reduced by a combination of running them through the
https://tinyjpg.com/ online service and manually setting their size to
168px wide or tall using the MacOS Image Preview app.

PR Close #41292
@petebacondarwin
petebacondarwin deleted the docs-infra-reduce-image-size branch March 31, 2021 09:17
TeriGlover pushed a commit to TeriGlover/angular that referenced this pull request Apr 5, 2021
TeriGlover pushed a commit to TeriGlover/angular that referenced this pull request Apr 5, 2021
In angular#41253 the size of contributor images was limited, but
some images were already too large. So an exclusion list
was added. These images have now been reduced, so
the exclusion list is no longer needed.

The files were reduced by a combination of running them through the
https://tinyjpg.com/ online service and manually setting their size to
168px wide or tall using the MacOS Image Preview app.

PR Close angular#41292
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators May 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(docs-infra): reduce sizes of all contributor images to be below 30KB

5 participants