<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gm2406</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gm2406"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Gm2406"/>
	<updated>2026-06-11T10:54:51Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=504282</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=504282"/>
		<updated>2018-08-21T01:55:40Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&amp;lt;languages /&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:1--&amp;gt; Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation&amp;lt;/translate&amp;gt;}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
== Introduction == &amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:3--&amp;gt; The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&#039;&#039;&#039;Update : &#039;&#039;Smart Crop&#039;&#039; has been renamed to &#039;&#039;Focus&#039;&#039;&#039;&#039;&#039;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Features== &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:5--&amp;gt; Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:6--&amp;gt; Auto-Cropping of the images according to the viewport of the client device.&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:7--&amp;gt; The cropping is done around the focus area selected by the author.&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:8--&amp;gt; Author can select particular widths for which the images need to be cropped.&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:9--&amp;gt; Author can select different focus for different devices.&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:10--&amp;gt; Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&amp;lt;/translate&amp;gt;&lt;br /&gt;
* &amp;lt;translate&amp;gt;&amp;lt;!--T:11--&amp;gt; If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:12--&amp;gt; &#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Cropped Images=== &amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
[[File:Original Image.png|center|Original image with focus area|800px]]&lt;br /&gt;
[[File:Resized Images.png|center|Resized Images for focus area mentioned]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==How to set focus points for a particular image?== &amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:16--&amp;gt; Go to the Media Manager, locate the image you want to add focus points to.&amp;lt;/translate&amp;gt;{{-}}[[File: NMM edit images-&amp;lt;translate&amp;gt;&amp;lt;!--T:17--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:18--&amp;gt; Edit that image, you would be redirected to the new window, go to Smart Crop tab.&amp;lt;/translate&amp;gt;{{-}}[[File:Edit image-&amp;lt;translate&amp;gt;&amp;lt;!--T:19--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:20--&amp;gt; Now Select the focus area of the image, with the help of editor provided.&amp;lt;/translate&amp;gt;{{-}}[[File: Smart Crop Tab-&amp;lt;translate&amp;gt;&amp;lt;!--T:21--&amp;gt; en&amp;lt;/translate&amp;gt;.png | center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:22--&amp;gt; After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&amp;lt;/translate&amp;gt;{{-}}[[File:Parameters-&amp;lt;translate&amp;gt;&amp;lt;!--T:23--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:24--&amp;gt; Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Adding Multiple Focus== &amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:26--&amp;gt; Follow the basic step to set the initial focus points.&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:27--&amp;gt; Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&amp;lt;/translate&amp;gt;{{-}}[[File:Different Focus-&amp;lt;translate&amp;gt;&amp;lt;!--T:28--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:29--&amp;gt; Select a width and then select its focus point in the focus editor.&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:30--&amp;gt; Save and close the tab.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Adding custom widths== &amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:32--&amp;gt; Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&amp;lt;/translate&amp;gt;{{-}} [[File:Plugin extension manager-&amp;lt;translate&amp;gt;&amp;lt;!--T:33--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:34--&amp;gt; Now add new widths over here, and save the plugin.&amp;lt;/translate&amp;gt;{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-&amp;lt;translate&amp;gt;&amp;lt;!--T:35--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:36--&amp;gt; You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&amp;lt;/translate&amp;gt;{{-}}[[File: Custom widths-&amp;lt;translate&amp;gt;&amp;lt;!--T:37--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Deleting the previous set focus point== &amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:39--&amp;gt; &#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:40--&amp;gt; Go to the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:41--&amp;gt; In the lower right of the screen there is a delete focus button.&amp;lt;/translate&amp;gt;&lt;br /&gt;
# &amp;lt;translate&amp;gt;&amp;lt;!--T:42--&amp;gt; After deleting the previous focus reload the page or hit cancel to go back to media-manager&amp;lt;/translate&amp;gt;&lt;br /&gt;
[[File:Delete Focus Button-&amp;lt;translate&amp;gt;&amp;lt;!--T:43--&amp;gt; en&amp;lt;/translate&amp;gt;.png|center|800px]]&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Workflow== &amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:45--&amp;gt; This Extension consists of two independent plugins.&amp;lt;/translate&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Smart Crop Plugin=== &amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:47--&amp;gt; This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Adaptive Image Plugin=== &amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:49--&amp;gt; This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;. This plugin will also delete all the resized images if the original image is not found (or deleted).&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
==Extending Extension== &amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;translate&amp;gt;&lt;br /&gt;
===Changing storage for focus points=== &amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:52--&amp;gt; Currently, The focus area is being saved in JSON format in the file storage(&amp;lt;tt&amp;gt;JSONFocusStore&amp;lt;/tt&amp;gt; Driver). This can be changed to any other storage by making a new driver class into &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\&amp;lt;/tt&amp;gt;.The driver class should implement &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt; interface.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&amp;lt;translate&amp;gt;&amp;lt;!--T:53--&amp;gt; &amp;lt;tt&amp;gt;JSONFocusStore&amp;lt;/tt&amp;gt; driver class is implementing &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt;. &amp;lt;tt&amp;gt;FocusStoreInterface&amp;lt;/tt&amp;gt; has following methods declared:&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1. &amp;lt;tt&amp;gt;setFocus($dataFocus, $width, $imgSrc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;translate&amp;gt;&amp;lt;!--T:54--&amp;gt; This method stores/updates the focus area into the storage.&amp;lt;/translate&amp;gt;&lt;br /&gt;
:* &amp;lt;translate&amp;gt;&amp;lt;!--T:55--&amp;gt; &amp;lt;tt&amp;gt;$dataFocus&amp;lt;/tt&amp;gt; It has the dimensions of the focus area. It is an array with keys &amp;lt;tt&amp;gt;box-left&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;box-top&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;box-width&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;box-height&amp;lt;/tt&amp;gt;.&amp;lt;/translate&amp;gt;&lt;br /&gt;
:* &amp;lt;translate&amp;gt;&amp;lt;!--T:56--&amp;gt; &amp;lt;tt&amp;gt;$width&amp;lt;/tt&amp;gt; It is the size of image for which the focus area is being stored.&amp;lt;/translate&amp;gt;&lt;br /&gt;
:* &amp;lt;translate&amp;gt;&amp;lt;!--T:57--&amp;gt; &amp;lt;tt&amp;gt;$imgSrc&amp;lt;/tt&amp;gt; It is the full path of the image corresponding to the focus area.&amp;lt;/translate&amp;gt;&lt;br /&gt;
2. &amp;lt;tt&amp;gt;getFocus($imgSrc, $width)&amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;translate&amp;gt;&amp;lt;!--T:58--&amp;gt; This method returns the focus area of the image. It return all the focus area associated with the image&amp;lt;/translate&amp;gt;&lt;br /&gt;
:* &amp;lt;translate&amp;gt;&amp;lt;!--T:59--&amp;gt; &amp;lt;tt&amp;gt;$imgSrc&amp;lt;/tt&amp;gt; It is the full path of the image corresponding to the focus area.&amp;lt;/translate&amp;gt;&lt;br /&gt;
:* &amp;lt;translate&amp;gt;&amp;lt;!--T:60--&amp;gt; &amp;lt;tt&amp;gt;$width(optional)&amp;lt;/tt&amp;gt; If the user want to take in the value of focus area for particular width then, it may be mentioned.&amp;lt;/translate&amp;gt;&lt;br /&gt;
3. &amp;lt;tt&amp;gt;deleteFocus($imgSrc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
: &amp;lt;translate&amp;gt;&amp;lt;!--T:61--&amp;gt; It deletes all the focus associated with the image.&amp;lt;/translate&amp;gt;&lt;br /&gt;
:* &amp;lt;translate&amp;gt;&amp;lt;!--T:62--&amp;gt; &amp;lt;tt&amp;gt;$imgSrc&amp;lt;/tt&amp;gt; It is the full path of the image corresponding to the focus area.&amp;lt;/translate&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018{{#translation:}}]]&lt;br /&gt;
[[Category:Development{{#translation:}}]]&lt;br /&gt;
[[Category:Joomla!_4.x{{#translation:}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497385</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497385"/>
		<updated>2018-07-31T08:31:05Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
===Cropped Images===&lt;br /&gt;
[[File:Original Image.png|center|Original image with focus area]]&lt;br /&gt;
[[File:Resized Images.png|center|Resized Images for focus area mentioned]]&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;. This plugin will also delete all the resized images if the original image is not found (or deleted).&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
===Changing storage for focus points===&lt;br /&gt;
Currently, The focus area is being saved in JSON format in the file storage(&amp;lt;tt&amp;gt;JSONFocusStore&amp;lt;/tt&amp;gt; Driver). This can be changed to any other storage by making a new driver class into &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\&amp;lt;/tt&amp;gt;.The driver class should implement &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt; interface.&lt;br /&gt;
&amp;lt;tt&amp;gt;JSONFocusStore&amp;lt;/tt&amp;gt; driver class is implementing &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt;. &amp;lt;tt&amp;gt;FocusStoreInterface&amp;lt;/tt&amp;gt; has following methods declared:&lt;br /&gt;
&lt;br /&gt;
1. &amp;lt;tt&amp;gt;setFocus($dataFocus, $width, $imgSrc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
: This method stores/updates the focus area into the storge.&lt;br /&gt;
:* &amp;lt;tt&amp;gt;$dataFocus&amp;lt;/tt&amp;gt; It has the dimensions of the focus area. It is an array with keys &amp;lt;tt&amp;gt;box-left&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;box-top&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;box-width&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;box-height&amp;lt;/tt&amp;gt;.&lt;br /&gt;
:* &amp;lt;tt&amp;gt;$width&amp;lt;/tt&amp;gt; It is the size of image for which the focus area is being stored.&lt;br /&gt;
:* &amp;lt;tt&amp;gt;$imgSrc&amp;lt;/tt&amp;gt; It is the full path of the image corresponding to the focus area.&lt;br /&gt;
2. &amp;lt;tt&amp;gt;getFocus($imgSrc, $width)&amp;lt;/tt&amp;gt;&lt;br /&gt;
: This method returns the focus area of the image. It return all the focus area associated with the image&lt;br /&gt;
:* &amp;lt;tt&amp;gt;$imgSrc&amp;lt;/tt&amp;gt; It is the full path of the image corresponding to the focus area.&lt;br /&gt;
:* &amp;lt;tt&amp;gt;$width(optional)&amp;lt;/tt&amp;gt; If the user want to take in the value of focus area for particular width then, it may be mentioned.&lt;br /&gt;
3. &amp;lt;tt&amp;gt;deleteFocus($imgSrc)&amp;lt;/tt&amp;gt;&lt;br /&gt;
: It deletes all the focus associated with the image.&lt;br /&gt;
:* &amp;lt;tt&amp;gt;$imgSrc&amp;lt;/tt&amp;gt; It is the full path of the image corresponding to the focus area.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497185</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497185"/>
		<updated>2018-07-29T14:07:48Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: /* Adaptive Image Plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
===Cropped Images===&lt;br /&gt;
[[File:Original Image.png|center|Original image with focus area]]&lt;br /&gt;
[[File:Resized Images.png|center|Resized Images for focus area mentioned]]&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;. This plugin will also delete all the resized images if the original image is not found (or deleted).&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
===Changeing storage for focus points===&lt;br /&gt;
Currently, The focus points are being saved in JSON format in the file storage. This can be changed to any other storage by making a new driver class into &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\&amp;lt;/tt&amp;gt;.The driver class should implement &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497181</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497181"/>
		<updated>2018-07-29T14:06:21Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
===Cropped Images===&lt;br /&gt;
[[File:Original Image.png|center|Original image with focus area]]&lt;br /&gt;
[[File:Resized Images.png|center|Resized Images for focus area mentioned]]&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
===Changeing storage for focus points===&lt;br /&gt;
Currently, The focus points are being saved in JSON format in the file storage. This can be changed to any other storage by making a new driver class into &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\&amp;lt;/tt&amp;gt;.The driver class should implement &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Resized_Images.png&amp;diff=497180</id>
		<title>File:Resized Images.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Resized_Images.png&amp;diff=497180"/>
		<updated>2018-07-29T14:04:09Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Resized Images for focus area mentioned&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Original_Image.png&amp;diff=497179</id>
		<title>File:Original Image.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Original_Image.png&amp;diff=497179"/>
		<updated>2018-07-29T14:02:15Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Original Image with focus point mentioned&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497155</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497155"/>
		<updated>2018-07-29T12:11:15Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: /* =Changeing storage for focus points */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
===Changeing storage for focus points===&lt;br /&gt;
Currently, The focus points are being saved in JSON format in the file storage. This can be changed to any other storage by making a new driver class into &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\&amp;lt;/tt&amp;gt;.The driver class should implement &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497154</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497154"/>
		<updated>2018-07-29T12:10:56Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: /* Extending Extension */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
===Changeing storage for focus points==&lt;br /&gt;
Currently, The focus points are being saved in JSON format in the file storage. This can be changed to any other storage by making a new driver class into &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\&amp;lt;/tt&amp;gt;.The driver class should implement &amp;lt;tt&amp;gt;Joomla\CMS\AdaptiveImage\FocusStoreInterface&amp;lt;/tt&amp;gt; interface.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497092</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497092"/>
		<updated>2018-07-29T11:46:35Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: /* Adaptive Image Plugin */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin. If the focus of a particular image is being set in the currently opened article then this plugin will add the &amp;lt;tt&amp;gt;&amp;lt;picture&amp;gt;&amp;lt;/tt&amp;gt; element to that image and all the associated resized-images will be appended to it from &amp;lt;tt&amp;gt;/media/focus/&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497089</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497089"/>
		<updated>2018-07-29T11:32:09Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: /* Workflow of the Extension */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is a Media-Action plugin. It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin.&lt;br /&gt;
&lt;br /&gt;
==Extending Extension==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497088</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497088"/>
		<updated>2018-07-29T11:30:35Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File: NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File: Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File: Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleting the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Workflow of the Extension==&lt;br /&gt;
&lt;br /&gt;
This Extension consist of two independent plugins. &lt;br /&gt;
&lt;br /&gt;
===Smart Crop Plugin===&lt;br /&gt;
This is an Media-Actio plugin.It is providing the UI for managing the focus points. It takes in the focus points from the user and saves it into the file storage by sending an AJAX request to the controller &amp;lt;tt&amp;gt;AdaptiveImageController.php&amp;lt;/tt&amp;gt;. Finally, when the author is satisfied with the focus he hit &#039;&#039;&#039;Save and Close&#039;&#039;&#039; which raises another AJAX request, this time new images are generated with an efficient algorithm and save them into the directory &amp;lt;tt&amp;gt;/media/focus&amp;lt;/tt&amp;gt;. Nomenclature of resized images is &amp;lt;tt&amp;gt;(resize image width)_(base64 encoded full path of the image).&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Adaptive Image Plugin===&lt;br /&gt;
This is a Content plugin.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497086</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497086"/>
		<updated>2018-07-29T11:00:21Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File:NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File:Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
&lt;br /&gt;
1. Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.&lt;br /&gt;
[[File:Plugin extension manager.png|center]]&lt;br /&gt;
2. Now add new widths over here, and save the plugin.&lt;br /&gt;
[[File:Add Widths.png|center]]&lt;br /&gt;
[[File:Enter Widths.png|center]]&lt;br /&gt;
3. You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.&lt;br /&gt;
[[File:Custom widths.png|center]]&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&#039;&#039;&#039;Note: &#039;&#039;&#039; This will delete all the previously saved focus and resized images of the original image generated by the plugin.&lt;br /&gt;
&lt;br /&gt;
# Goto the &#039;&#039;&#039;Smart Crop tab&#039;&#039;&#039; in the &#039;&#039;&#039;Edit Image&#039;&#039;&#039;.&lt;br /&gt;
# In the lower right of the window there is a delete focus button.&lt;br /&gt;
# After deleteing the previous focus reload the page or hit cancel to go back to media-manager&lt;br /&gt;
[[File:Delete Focus Button.png|center]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Delete_Focus_Button-en.png&amp;diff=497085</id>
		<title>File:Delete Focus Button-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Delete_Focus_Button-en.png&amp;diff=497085"/>
		<updated>2018-07-29T10:58:25Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Deleting previous focus&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Custom_widths-en.png&amp;diff=497084</id>
		<title>File:Custom widths-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Custom_widths-en.png&amp;diff=497084"/>
		<updated>2018-07-29T10:42:02Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Custom Widths in the smart crop tab&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Enter_Widths-en.png&amp;diff=497083</id>
		<title>File:Enter Widths-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Enter_Widths-en.png&amp;diff=497083"/>
		<updated>2018-07-29T10:38:35Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Enter Custom Widths&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Add_Widths-en.png&amp;diff=497082</id>
		<title>File:Add Widths-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Add_Widths-en.png&amp;diff=497082"/>
		<updated>2018-07-29T10:37:36Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Add Custom Width&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Plugin_extension_manager-en.png&amp;diff=497081</id>
		<title>File:Plugin extension manager-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Plugin_extension_manager-en.png&amp;diff=497081"/>
		<updated>2018-07-29T10:35:30Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Locating smart crop&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497080</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497080"/>
		<updated>2018-07-29T10:25:23Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File:NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File:Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Modifying the sizes for the resized images==&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&lt;br /&gt;
==Adding focus in a different way==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497079</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497079"/>
		<updated>2018-07-29T10:18:38Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
# Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
# Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
# Follow the basic step to set the initial focus points.&lt;br /&gt;
# Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
# Select a width and then select its focus point in the focus editor.&lt;br /&gt;
# Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Modifying the sizes for the resized images==&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&lt;br /&gt;
==Adding focus in a different way==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497078</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497078"/>
		<updated>2018-07-29T10:18:00Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by providing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, its resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note: &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
==How to set focus points for a particular image?==&lt;br /&gt;
&lt;br /&gt;
1. Go to the Media Manager, locate the image you want to add focus points to.&lt;br /&gt;
[[File:NMM edit images.png|center]]&lt;br /&gt;
2. Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
[[File:Edit image.png|center]]&lt;br /&gt;
3. Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
[[File:Smart Crop Tab.png | center]]&lt;br /&gt;
4. After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
[[File:Parameters.png|center]]&lt;br /&gt;
5. Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&lt;br /&gt;
&lt;br /&gt;
1. Follow the basic step to set the initial focus points.&lt;br /&gt;
&lt;br /&gt;
2. Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
[[File:Different Focus .png|center]]&lt;br /&gt;
3. Select a width and then select its focus point in the focus editor.&lt;br /&gt;
&lt;br /&gt;
4. Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Modifying the sizes for the resized images==&lt;br /&gt;
&lt;br /&gt;
==Deleting the previous set focus point==&lt;br /&gt;
&lt;br /&gt;
==Adding focus in a different way==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Different_Focus-en.png&amp;diff=497077</id>
		<title>File:Different Focus-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Different_Focus-en.png&amp;diff=497077"/>
		<updated>2018-07-29T10:14:49Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Different focus for different width&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Parameters-en.png&amp;diff=497076</id>
		<title>File:Parameters-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Parameters-en.png&amp;diff=497076"/>
		<updated>2018-07-29T10:09:49Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Focus Parameters&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Smart_Crop_Tab-en.png&amp;diff=497075</id>
		<title>File:Smart Crop Tab-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Smart_Crop_Tab-en.png&amp;diff=497075"/>
		<updated>2018-07-29T10:04:03Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Plugin main page&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:Edit_image-en.png&amp;diff=497074</id>
		<title>File:Edit image-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:Edit_image-en.png&amp;diff=497074"/>
		<updated>2018-07-29T10:01:01Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edit Image Tab&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=File:NMM_edit_images-en.png&amp;diff=497073</id>
		<title>File:NMM edit images-en.png</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=File:NMM_edit_images-en.png&amp;diff=497073"/>
		<updated>2018-07-29T09:58:20Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;New Media Manager edit images button&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497031</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497031"/>
		<updated>2018-07-28T02:16:57Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by provideing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Features&#039;&#039;&#039;&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, it&#039;s resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note : &#039;&#039;&#039;&#039;&#039; To Enable this Extention, Administrator has to enable two plugins from the plugin&#039;s extension manager 1. Media-Action(Smart Crop Plugin) 2. Content(Adaptive Image Plugin)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to set focus points for a particular image?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Go to media-manager, Locate the image you want to add focus points to.&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
# Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding Multiple Focus&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Follow the basic step to set the initial focus points.&lt;br /&gt;
# Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
# Select a width and then select its focus point in the focus editor.&lt;br /&gt;
# Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modifying the sizes for the resized images&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Deleteing the previous set focus point&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding focus in a different way&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497030</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497030"/>
		<updated>2018-07-28T02:15:52Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by provideing the user a way to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Features&#039;&#039;&#039;&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If an author deletes the original image from the media manager, it&#039;s resized image and the focus points would be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note : &#039;&#039;&#039;&#039;&#039; To Enable this Extention one has to enable two plugins from the plugin&#039;s extension manager 1. Media-Action(Smart Crop Plugin) 2. Content(Adaptive Image Plugin)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to set focus points for a particular image?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Go to media-manager, Locate the image you want to add focus points to.&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
# Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding Multiple Focus&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Follow the basic step to set the initial focus points.&lt;br /&gt;
# Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.&lt;br /&gt;
# Select a width and then select its focus point in the focus editor.&lt;br /&gt;
# Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modifying the sizes for the resized images&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Deleteing the previous set focus point&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding focus in a different way&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497017</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497017"/>
		<updated>2018-07-26T18:25:44Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by provideing the user a ways to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Features&#039;&#039;&#039;&lt;br /&gt;
* Provided a focus editor for taking in the focus information from the author, in a more intuitive manner.&lt;br /&gt;
* Auto-Cropping of the images according to the viewport of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select different focus for different devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous set focus points for a particular image from the focus editor.&lt;br /&gt;
* If author deltes the original image from the media manager, it&#039;s resized image and the focus points whould be deleted too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note : &#039;&#039;&#039;&#039;&#039; To Enable this Extention one has to enable two plugins from the plugin&#039;s extension manager 1. Media-Action(Smart Crop Plugin) 2. Content(Adaptive Image Plugin)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to set focus points for a particular image?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Go to media-manager, Locate the image you want to add focus points to.&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.&lt;br /&gt;
# Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding Multiple Focus&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Modifying the sizes for the resized images&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Deleteing the previous set focus point&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adding focus in a diffrent way&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497016</id>
		<title>J4.x:Adaptive Images for Media Manager</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager&amp;diff=497016"/>
		<updated>2018-07-26T18:17:21Z</updated>

		<summary type="html">&lt;p&gt;Gm2406: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Top portal heading|color=white-bkgd|text-color=#333|title=&lt;br /&gt;
GSoC 2018 &amp;lt;br /&amp;gt;&lt;br /&gt;
Adaptative Image for New Media Manager &amp;lt;br /&amp;gt;Documentation}}&lt;br /&gt;
[[Image:Gsoc2016.png|75px|center|link=GSOC 2018]]&lt;br /&gt;
&amp;lt;noinclude&amp;gt;{{Joomla version|version=4.x}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{-}}&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The main objective of this extension is to preserve the important message associated with the image, by provideing the user a ways to add the focus area for the image. Images are being made responsive with the help of this extension. This extension is supported by the media-action plugin and the content plugin.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Features&#039;&#039;&#039;&lt;br /&gt;
* Provided a focus editor for takeing in the focus information from the author, in a more intuitive maanner.&lt;br /&gt;
* Auto-Cropping of the images according to the view-port of the client device.&lt;br /&gt;
* The cropping is done around the focus area selected by the author.&lt;br /&gt;
* Author can select particular widths for which the images need to be cropped.&lt;br /&gt;
* Author can select diffrent focus for diffrent devices.&lt;br /&gt;
* Author can also remove all the resized images and the previous setted focus points for a particular image from the focus editor&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Note : &#039;&#039;&#039;&#039;&#039; To Enable this Extention one has to enable two plugins from the plugin&#039;s extension manager 1. Media-Action(Smart Crop Plugin) 2. Content(Adaptive Image Plugin)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;How to set focus points for a particular image?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Go to media-manager, Locate the image you want to add focus points to.&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.&lt;br /&gt;
# After setting up the area, Save and Close the editor, you whould be redirected back to the media manager.&lt;br /&gt;
# Now just add that image normally to your article. &#039;&#039;Bash...!! Your image got responsive, while preserving the important section of that image.&#039;&#039;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Google Summer of Code 2018]]&lt;br /&gt;
[[Category:Development]]&lt;br /&gt;
[[Category:Joomla!_4.x]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Gm2406</name></author>
	</entry>
</feed>