<?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=BCWebdesign</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=BCWebdesign"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/BCWebdesign"/>
	<updated>2026-05-08T01:19:58Z</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/nl&amp;diff=638506</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638506"/>
		<updated>2019-10-19T15:01:26Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Ga naar plug-in-extensiemanager, zoek naar &amp;#039;&amp;#039;&amp;#039;Media-Action Smart Crop&amp;#039;&amp;#039;&amp;#039;&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Meervoudige focus toevoegen ==&lt;br /&gt;
# Volg de basisstap om de eerste focuspunten in te stellen.&lt;br /&gt;
# Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.{{-}}[[File:Different Focus-en.png|center|800px]]&lt;br /&gt;
# Selecteer een breedte en selecteer vervolgens het focuspunt in de focuseditor.&lt;br /&gt;
# Opslaan en sluit het tabblad.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
# Ga naar plug-in-extensiemanager, zoek naar &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/32/nl&amp;diff=638505</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/32/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/32/nl&amp;diff=638505"/>
		<updated>2019-10-19T15:01:26Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Ga naar plug-in-extensiemanager, zoek naar &amp;#039;&amp;#039;&amp;#039;Media-Action Smart Crop&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ga naar plug-in-extensiemanager, zoek naar &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/31/nl&amp;diff=638499</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/31/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/31/nl&amp;diff=638499"/>
		<updated>2019-10-19T15:00:28Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;==Adding custom widths==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Adding custom widths==&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638498</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638498"/>
		<updated>2019-10-19T14:59:57Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Opslaan en sluit het tabblad.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Meervoudige focus toevoegen ==&lt;br /&gt;
# Volg de basisstap om de eerste focuspunten in te stellen.&lt;br /&gt;
# Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.{{-}}[[File:Different Focus-en.png|center|800px]]&lt;br /&gt;
# Selecteer een breedte en selecteer vervolgens het focuspunt in de focuseditor.&lt;br /&gt;
# Opslaan en sluit het tabblad.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/30/nl&amp;diff=638497</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/30/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/30/nl&amp;diff=638497"/>
		<updated>2019-10-19T14:59:57Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Opslaan en sluit het tabblad.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Opslaan en sluit het tabblad.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638490</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638490"/>
		<updated>2019-10-19T14:59:02Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Selecteer een breedte en selecteer vervolgens het focuspunt in de focuseditor.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Meervoudige focus toevoegen ==&lt;br /&gt;
# Volg de basisstap om de eerste focuspunten in te stellen.&lt;br /&gt;
# Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.{{-}}[[File:Different Focus-en.png|center|800px]]&lt;br /&gt;
# Selecteer een breedte en selecteer vervolgens het focuspunt in de focuseditor.&lt;br /&gt;
# Save and close the tab.&lt;br /&gt;
&lt;br /&gt;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/29/nl&amp;diff=638489</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/29/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/29/nl&amp;diff=638489"/>
		<updated>2019-10-19T14:59:02Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Selecteer een breedte en selecteer vervolgens het focuspunt in de focuseditor.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Selecteer een breedte en selecteer vervolgens het focuspunt in de focuseditor.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638403</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638403"/>
		<updated>2019-10-19T14:48:44Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Meervoudige focus toevoegen ==&lt;br /&gt;
# Volg de basisstap om de eerste focuspunten in te stellen.&lt;br /&gt;
# Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/27/nl&amp;diff=638402</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/27/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/27/nl&amp;diff=638402"/>
		<updated>2019-10-19T14:48:43Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Nu vindt u in de rechterbovenhoek van de plug-in een vervolgkeuzemenu met verschillende genoemde breedten.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638397</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638397"/>
		<updated>2019-10-19T14:47:45Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Volg de basisstap om de eerste focuspunten in te stellen.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Meervoudige focus toevoegen ==&lt;br /&gt;
# Volg de basisstap om de eerste focuspunten in te stellen.&lt;br /&gt;
# Now in the upper right corner of the plugin you will find a drop-down menu with different widths mentioned.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/26/nl&amp;diff=638396</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/26/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/26/nl&amp;diff=638396"/>
		<updated>2019-10-19T14:47:45Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Volg de basisstap om de eerste focuspunten in te stellen.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Volg de basisstap om de eerste focuspunten in te stellen.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638393</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638393"/>
		<updated>2019-10-19T14:47:22Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;== Meervoudige focus toevoegen ==&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Meervoudige focus toevoegen ==&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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/25/nl&amp;diff=638392</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/25/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/25/nl&amp;diff=638392"/>
		<updated>2019-10-19T14:47:21Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;== Meervoudige focus toevoegen ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Meervoudige focus toevoegen ==&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638388</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638388"/>
		<updated>2019-10-19T14:46:59Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Voeg die afbeelding nu gewoon toe aan uw artikel. &amp;#039;&amp;#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &amp;#039;&amp;#039;&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&lt;br /&gt;
# Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Adding Multiple Focus==&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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/24/nl&amp;diff=638387</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/24/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/24/nl&amp;diff=638387"/>
		<updated>2019-10-19T14:46:59Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Voeg die afbeelding nu gewoon toe aan uw artikel. &amp;#039;&amp;#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &amp;#039;&amp;#039;&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Voeg die afbeelding nu gewoon toe aan uw artikel. &#039;&#039; Bash ... !! Je afbeelding reageerde responsief met behoud van het belangrijke gedeelte van die afbeelding. &#039;&#039;&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638376</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638376"/>
		<updated>2019-10-19T14:45:16Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/22/nl&amp;diff=638375</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/22/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/22/nl&amp;diff=638375"/>
		<updated>2019-10-19T14:45:15Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Na het instellen van het gebied, Opslaan en sluiten van de editor, wordt u teruggeleid naar de media manager.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638372</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638372"/>
		<updated>2019-10-19T14:44:49Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/20/nl&amp;diff=638371</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/20/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/20/nl&amp;diff=638371"/>
		<updated>2019-10-19T14:44:49Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Selecteer nu het focusgebied van de afbeelding, met behulp van de meegeleverde editor.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638368</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638368"/>
		<updated>2019-10-19T14:44:09Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/18/nl&amp;diff=638367</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/18/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/18/nl&amp;diff=638367"/>
		<updated>2019-10-19T14:44:09Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Bewerk die afbeelding, u wordt omgeleid naar het nieuwe venster, ga naar het tabblad Smart Crop.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638357</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638357"/>
		<updated>2019-10-19T14:43:12Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/16/nl&amp;diff=638356</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/16/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/16/nl&amp;diff=638356"/>
		<updated>2019-10-19T14:43:12Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ga naar Media Manager, zoek de afbeelding waaraan u focuspunten wilt toevoegen.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638344</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638344"/>
		<updated>2019-10-19T14:42:49Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;br /&gt;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/15/nl&amp;diff=638343</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/15/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/15/nl&amp;diff=638343"/>
		<updated>2019-10-19T14:42:48Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hoe focuspunten instellen voor een bepaalde afbeelding? ==&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638324</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638324"/>
		<updated>2019-10-19T14:42:21Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;=== Bijgesneden afbeeldingen ===&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;br /&gt;
# Media-Action: Smart Crop Plugin &lt;br /&gt;
# Content: Adaptive Image Plugin&lt;br /&gt;
&lt;br /&gt;
=== Bijgesneden afbeeldingen ===&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;
==How to set focus points for a particular image?==&lt;br /&gt;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/14/nl&amp;diff=638323</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/14/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/14/nl&amp;diff=638323"/>
		<updated>2019-10-19T14:42:21Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;=== Bijgesneden afbeeldingen ===&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== Bijgesneden afbeeldingen ===&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638300</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638300"/>
		<updated>2019-10-19T14:41:02Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;&amp;#039;&amp;#039; &amp;#039;&amp;#039; &amp;#039;Opmerking:&amp;#039; &amp;#039;&amp;#039; &amp;#039;&amp;#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/12/nl&amp;diff=638298</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/12/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/12/nl&amp;diff=638298"/>
		<updated>2019-10-19T14:41:02Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;&amp;#039;&amp;#039; &amp;#039;&amp;#039; &amp;#039;Opmerking:&amp;#039; &amp;#039;&amp;#039; &amp;#039;&amp;#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039; &#039;&#039; &#039;Opmerking:&#039; &#039;&#039; &#039;&#039; Om deze extensie in te schakelen, moet de beheerder twee plug-ins inschakelen vanuit de extensiebeheerder van de plug-in:&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638287</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638287"/>
		<updated>2019-10-19T14:40:10Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;br /&gt;
* Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/11/nl&amp;diff=638286</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/11/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/11/nl&amp;diff=638286"/>
		<updated>2019-10-19T14:40:10Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Als een auteur de originele afbeelding uit mediabeheer verwijdert, worden de aangepaste afbeelding en de focuspunten ook verwijderd.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638267</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638267"/>
		<updated>2019-10-19T14:39:18Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;br /&gt;
* Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/10/nl&amp;diff=638266</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/10/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/10/nl&amp;diff=638266"/>
		<updated>2019-10-19T14:39:18Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Auteur kan ook alle aangepaste afbeeldingen en de vorige ingestelde punten voor een bepaalde afbeelding uit de editor verwijderen.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638248</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638248"/>
		<updated>2019-10-19T14:38:27Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Auteur kan verschillende focus selecteren voor verschillende apparaten.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;br /&gt;
* Auteur kan verschillende focus selecteren voor verschillende apparaten.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/9/nl&amp;diff=638247</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/9/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/9/nl&amp;diff=638247"/>
		<updated>2019-10-19T14:38:26Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Auteur kan verschillende focus selecteren voor verschillende apparaten.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Auteur kan verschillende focus selecteren voor verschillende apparaten.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638230</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638230"/>
		<updated>2019-10-19T14:37:39Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;br /&gt;
* Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/8/nl&amp;diff=638229</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/8/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/8/nl&amp;diff=638229"/>
		<updated>2019-10-19T14:37:39Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Auteur kan bepaalde breedten selecteren waarvoor de afbeeldingen moeten worden bijgesneden.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638217</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638217"/>
		<updated>2019-10-19T14:36:53Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;br /&gt;
* Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/7/nl&amp;diff=638216</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/7/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/7/nl&amp;diff=638216"/>
		<updated>2019-10-19T14:36:52Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Het bijsnijden gebeurt rond het door de auteur geselecteerde gebied.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638202</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638202"/>
		<updated>2019-10-19T14:36:13Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;br /&gt;
* Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/6/nl&amp;diff=638201</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/6/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/6/nl&amp;diff=638201"/>
		<updated>2019-10-19T14:36:13Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Automatisch bijsnijden van de afbeeldingen volgens de viewport van het cliëntapparaat.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638183</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638183"/>
		<updated>2019-10-19T14:33:46Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&lt;br /&gt;
* Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/5/nl&amp;diff=638182</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/5/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/5/nl&amp;diff=638182"/>
		<updated>2019-10-19T14:33:46Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Biedt een editor de mogelijkheid voor het opnemen van de informatie van de auteur, op een meer intuïtieve manier.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638172</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638172"/>
		<updated>2019-10-19T14:28:00Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Kenmerken&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;br /&gt;
&lt;br /&gt;
Kenmerken&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/4/nl&amp;diff=638171</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/4/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/4/nl&amp;diff=638171"/>
		<updated>2019-10-19T14:27:59Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Kenmerken&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Kenmerken&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638166</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638166"/>
		<updated>2019-10-19T14:27:24Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor...&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&lt;br /&gt;
Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/3/nl&amp;diff=638165</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/3/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/3/nl&amp;diff=638165"/>
		<updated>2019-10-19T14:27:24Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Het hoofddoel van deze extensie is het behouden van de belangrijke boodschap die aan de afbeelding is gekoppeld, door de gebruiker een manier te bieden om het focusgebied voor de afbeelding toe te voegen. Afbeeldingen worden responsief gemaakt met behulp van deze extensie. Deze extensie wordt ondersteund door de media-actie-plug-in en de inhoud-plug-in.&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638152</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638152"/>
		<updated>2019-10-19T14:24:33Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Introductie&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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;
Introductie&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/2/nl&amp;diff=638151</id>
		<title>Translations:J4.x:Adaptive Images for Media Manager/2/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Translations:J4.x:Adaptive_Images_for_Media_Manager/2/nl&amp;diff=638151"/>
		<updated>2019-10-19T14:24:33Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Introductie&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Introductie&lt;/div&gt;</summary>
		<author><name>BCWebdesign</name></author>
	</entry>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638148</id>
		<title>J4.x:Adaptive Images for Media Manager/nl</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=J4.x:Adaptive_Images_for_Media_Manager/nl&amp;diff=638148"/>
		<updated>2019-10-19T14:23:51Z</updated>

		<summary type="html">&lt;p&gt;BCWebdesign: Created page with &amp;quot;Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie&amp;quot;&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;
Adaptief beeld voor nieuwe Media Manager &amp;lt;br /&amp;gt; Documentatie}}&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|800px]]&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;
# Go to the Media Manager, locate the image you want to add focus points to.{{-}}[[File: NMM edit images-en.png|center|800px]]&lt;br /&gt;
# Edit that image, you would be redirected to the new window, go to Smart Crop tab.{{-}}[[File:Edit image-en.png|center|800px]]&lt;br /&gt;
# Now Select the focus area of the image, with the help of editor provided.{{-}}[[File: Smart Crop Tab-en.png | center|800px]]&lt;br /&gt;
# After setting up the area, Save and Close the editor, you would be redirected back to the media manager.{{-}}[[File:Parameters-en.png|center|800px]]&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;
# 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.{{-}}[[File:Different Focus-en.png|center|800px]]&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;
==Adding custom widths==&lt;br /&gt;
# Go to plugin&#039;s extension manager, look for &#039;&#039;&#039;Media-Action Smart Crop&#039;&#039;&#039;.{{-}} [[File:Plugin extension manager-en.png|center|800px]]&lt;br /&gt;
# Now add new widths over here, and save the plugin.{{-}}[[File:Add Widths-en.png|center|800px]]{{-}}[[File:Enter Widths-en.png|center|800px]]&lt;br /&gt;
# You would be noticing those widths in the &#039;&#039;&#039;Smart Crop&#039;&#039;&#039; tab.{{-}}[[File: Custom widths-en.png|center|800px]]&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;
# Go to 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 screen 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-en.png|center|800px]]&lt;br /&gt;
==Workflow==&lt;br /&gt;
This Extension consists 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 storage.&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{{#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>BCWebdesign</name></author>
	</entry>
</feed>