forked from joomla/joomla-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4.0] Pluginless lazyloading for the core (joomla#30748)
* remove the plugin code * make sure there is no error message on attributs passed as string * implement width & height into the media field * add width & hight to com_media * add width & height to the file list * fix file path * add width & heigth to the media field * there is no alt text comming from com_media yet * patch JS thanks @dgrammatiko * Update installation/sql/postgresql/base.sql Co-authored-by: Quy <[email protected]> * Update installation/sql/mysql/base.sql Co-authored-by: Quy <[email protected]> * fix issues mention vy @dgrammatiko and implement width and heigth in the intro and full image layout * When we have no image nothing is going to be displayed * move json_decode & change back to the original image url * take off px for width and height * reset other changes that has been moved to joomla#30784 * also reset the image list layout * Update libraries/src/HTML/HTMLHelper.php * Add update SQL scripts 4.0.0-2020-09-27.sql (joomla#47) Co-authored-by: Quy <[email protected]> Co-authored-by: Richard Fath <[email protected]>
- Loading branch information
Showing
11 changed files
with
4 additions
and
91 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
administrator/components/com_admin/sql/updates/mysql/4.0.0-2020-04-18.sql
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
administrator/components/com_admin/sql/updates/mysql/4.0.0-2020-09-27.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DELETE FROM `#__extensions` WHERE `name` = 'plg_content_imagelazyload' AND `type` = 'plugin' AND `element` = 'imagelazyload' AND `folder` = 'content' AND `client_id` = 0; |
2 changes: 0 additions & 2 deletions
2
administrator/components/com_admin/sql/updates/postgresql/4.0.0-2020-04-18.sql
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
administrator/components/com_admin/sql/updates/postgresql/4.0.0-2020-09-27.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DELETE FROM "#__extensions" WHERE "name" = 'plg_content_imagelazyload' AND "type" = 'plugin' AND "element" = 'imagelazyload' AND "folder" = 'content' AND "client_id" = 0; |
7 changes: 0 additions & 7 deletions
7
administrator/language/en-GB/plg_content_imagelazyload.sys.ini
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1273,4 +1273,3 @@ private static function checkFileOrder($first, $second) | |
return ''; | ||
} | ||
} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.