anitab-org / anitab-org.github.io

AnitaB.org Open Source website has information about our community, including our open source projects, participation in programs, events, and a few contribution guidelines.
https://anitab-org.github.io
GNU General Public License v3.0
149 stars 191 forks source link

Optimize Images #198

Open Rahulm2310 opened 3 years ago

Rahulm2310 commented 3 years ago

Describe the bug

Large sized images slow down the web pages which creates a less than optimal user experience. We can reduce the image’s file sizes to help improve our website’s performance.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://anitab-org.github.io/
  2. Right Click -> Inspect Element -> Go to Network Tab
  3. Check out the file sizes and loading time

Expected behavior

We can reduce the image sizes without compromising the image quality.

Screenshots

Here's an example anitab_issue

Also, the about image is of 1.1 MB which is very large and takes very long to load in a poor internet connection and needs to be optimized.

image-about

Desktop (please complete the following information):

Additional context

I tried optimizing a image from the website and the size reduced significantly with no reduction in quality. Before Optimization : Size -> 470.8 KB landing 1c27c683

After Optimization : Size -> 66.2 KB landing 1c27c683 (1)

after-compression

annabauza commented 3 years ago

Please remeve comments like I want to work on this issue from description.

Rahulm2310 commented 3 years ago

@annabauza removed it.

annabauza commented 3 years ago

@Rahulm2310 also remove from description @annabauza Please share your thoughts 😊 other then that issue is approved

Rahulm2310 commented 3 years ago

@annabauza now can it be assigned to me ?

rutvi18 commented 3 years ago

Can I take up the issue?

Rahulm2310 commented 3 years ago

@rutvi18 Please have a look at other available issues. I am already looking into it. Thanks

annabauza commented 3 years ago

Technically you have not been assigned @Rahulm2310 , however indeed you asked first to be assigned to this issue. In other hand you have created the issue, so I'm not sure here. @isabelcosta @mayburgos can you help me out here?

Rahulm2310 commented 3 years ago

@annabauza I have not started working on it. I am just looking for good libraries we could use for image compression . 🙂

isabelcosta commented 3 years ago

@annabauza I would say @Rahulm2310 created this, and if this is not considered as "first timers only" then @Rahulm2310 can work on this, for asking for it first.

annabauza commented 3 years ago

Thank you @isabelcosta . @Rahulm2310 yours :)

Rahulm2310 commented 3 years ago

@annabauza @isabelcosta Should we use something like Imgbot. Actually, there are not much image compression libraries for frontend. Most of them are for server side. Ex: imagemin. Although, currently there are not many images and we can compress each of them manually but it is not a very dev friendly solution. Or, if you guys have a suggestion, please share your views

annabauza commented 3 years ago

I think designers should compress I'll rise this with design team.

Rahulm2310 commented 3 years ago

@annabauza yes definitely they can, but I think we need a long term solution which could compress all images we add to the website in future.

annabauza commented 3 years ago

I understand your thinking here, but quality needs to be approved by human designer eye. This is why it's designer responsibility.

nandini45 commented 3 years ago

@Rahulm2310 Can u tell us your progress about this issue??

Rahulm2310 commented 3 years ago

@nandini45 I thought the design team will handle this issue. If we need manual optimization, I can do it and submit a PR asap. Shall I ?

Ayushi271 commented 2 years ago

Hello My sincere greetings Is this issue still open? Can you assign it to me?

Aaishpra commented 2 years ago

Hello My sincere greetings Is this issue still open? Can you assign it to me?

Assigned!

aditi5050 commented 2 years ago

Hello @tinniaru3005 can I work on with this issue can you please assign this to me

tinniaru3005 commented 2 years ago

Unassigned due to long inactivity so that others can take up the issue.

tinniaru3005 commented 2 years ago

Hey @aditi5050, here you go! :)

aditi5050 commented 2 years ago

@tinniaru3005 thanks alot :)