Generate and save a desktop preview (screenshot) from the specified URL

Generate and save a desktop preview (screenshot) from the specified URL

================================================================================

Why do it


This procedure allows you to automatically generate a screenshot of the specified website and save it as an image within the media section of the item being edited.

Procedure


1. Access the item edit page (the edit.php form).

2. Scroll down to the section containing the optional fields and locate the field labeled URL.

3. Enter the full web address (for example: https://www.tuosito.it) in the URL field.

4. Scroll down to the Media section.

5. Within the Media section, locate the area related to Galleria 1 (ID webImages).

6. Near this area, click the button dedicated to generating the desktop preview (identified by the class .generatewebpreview).

  • Note: If the URL field has not been filled in correctly, an error warning will appear: "URL missing or invalid!".

7. After clicking, the button text will change to Generating... to indicate that the screenshot is being captured and processed.

8. At the end of the process, the button text will become Generated and the desktop preview image will be automatically uploaded and displayed in the Galleria 1 field.

9. To apply the changes and save the image, make sure to click the form's save button.