- Posts: 65
COMMUNITY FORUM
Image Missing width attribute.
- Alan
-
Topic Author
- Offline
- Senior Member
Less
More
9 years 4 months ago #150283
by Alan
Image Missing width attribute. was created by Alan
Dear all I have problem with image Missing width attribute in:
cache/mod_sj_megak2news:
/media/k2/items/cache
regards
cache/mod_sj_megak2news:
/media/k2/items/cache
regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #150289
by Krikor Boghossian
Replied by Krikor Boghossian on topic Image Missing width attribute.
Hello Alan,
This module was not developed by us (mod_sj_megak2news).
If the question is about its templates or its settings, you need to address this issue to the module's developer.
This module was not developed by us (mod_sj_megak2news).
If the question is about its templates or its settings, you need to address this issue to the module's developer.
Please Log in or Create an account to join the conversation.
- Alan
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 65
9 years 4 months ago - 9 years 4 months ago #150304
by Alan
Replied by Alan on topic Image Missing width attribute.
I receive this problem from gtmetrix.com
Serve scaled images
/media/k2/items/cache/cd2b36e2f919d711b1b57ed8e03753ad_S.jpg is resized in HTML or CSS from 200x133 to 128x100. Serving a scaled
also
Losslessly compressing /media/k2/items/cache/44a461849d5579ed9f6fdae29ab5a6ab_M.jpg could save 2.0KiB (4% reduction). See optimized version
this issue faced many image..
Serve scaled images
/media/k2/items/cache/cd2b36e2f919d711b1b57ed8e03753ad_S.jpg is resized in HTML or CSS from 200x133 to 128x100. Serving a scaled
also
Losslessly compressing /media/k2/items/cache/44a461849d5579ed9f6fdae29ab5a6ab_M.jpg could save 2.0KiB (4% reduction). See optimized version
this issue faced many image..
Last edit: 9 years 4 months ago by Alan.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #150309
by Krikor Boghossian
Replied by Krikor Boghossian on topic Image Missing width attribute.
The first issue is a setup issue, have the module pull a different size. K2 uses 5 different sizes, so one will fit your needs.
The GD Image Library and PHP resizing in general does not offer the best compression. Keep in mind that compression means loss of quality.
Unfortunately nearly every CMS works with GD or ImageMagick so you cannot avoid this.
The GD Image Library and PHP resizing in general does not offer the best compression. Keep in mind that compression means loss of quality.
Unfortunately nearly every CMS works with GD or ImageMagick so you cannot avoid this.
Please Log in or Create an account to join the conversation.
- Alan
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 65
9 years 4 months ago #150310
by Alan
Replied by Alan on topic Image Missing width attribute.
ok thank you for replay.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 4 months ago #150327
by Krikor Boghossian
Replied by Krikor Boghossian on topic Image Missing width attribute.
You 're welcome Alan,
Performance is a huge issue and there are always improvements.
Try to improve larger and more critical aspects of your setup before banging your head on the wall on how to reduce 2% - 3% the image size. A small CSS resize will not hurt you.
I am speaking out of my personal experience here :)
Performance is a huge issue and there are always improvements.
Try to improve larger and more critical aspects of your setup before banging your head on the wall on how to reduce 2% - 3% the image size. A small CSS resize will not hurt you.
I am speaking out of my personal experience here :)
Please Log in or Create an account to join the conversation.
- Alan
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 65
9 years 3 months ago #150332
by Alan
Replied by Alan on topic Image Missing width attribute.
Dear Krikor..
thank you for your advice. :)
thank you for your advice. :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 3 months ago #150336
by Krikor Boghossian
Replied by Krikor Boghossian on topic Image Missing width attribute.
My pleasure Alan.
Happy New Year
Happy New Year
Please Log in or Create an account to join the conversation.