Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
Lines of code | 102 |
Technical Name |
cap_image_description_by_ai |
License | OPL-1 |
Website | http://www.captivea.com/ |
Image Description Generator
Overview
This module allows you to read and get the description of the images in the website pages through the use of AI.
How It Works
01
Install module "cap_image_description_by_ai" from apps menu.

02
When a user opens the website module it looks like this and the user can click on the Edit button on top right side of the page and the edit panel for the website appears.


03
If a user drags and drops a block with a image it will be shown as follows.

04
Now if the user clicks on the image of the block the image edit panel opens up.

05
In the image section of the edit panel there is a Image Description button.

06
When the user clicks on this button the process starts and might take a few seconds.

07
We still can't see anything in the description of the image in the image section, to see the description of the image generated by chatgpt we need to save the snippet or block of the image.


08
If you click on the edit button again and then click on the image the edit panel for image opens up and in the image section you can see the description of the image is present.

09
If you click on the edit button again and then click on the image the edit panel for image opens up and in the image section you can see the description of the image is present.

Case: Custom Image
When a user uploads custom image in a block or snippet of the website they first need to save the block or snippet as the image still is not saved in the database and if you click Image description button before saving the snippet after uploading the image it will pop up an error.
01
To upload a custom image the user needs to click on the Replace button in image section of the image edit panel and then a widget will pop up and the user can upload different media through this widget.


02
Now the user can click on Upload an image and upload their custom image from their system.

03
Once the image is uploaded they can see it on the website.

04
But if the user clicks on the Image Description button right now it will pop up an error because the image is not yet saved in the database and to solve this error we first need to save the snippet after uploading our image.


04
Now when the snippet is saved, and we click on the edit again and then click on the image again to open up the image edit panel, now if we click on the Image Description button it will work, and then we can continue the rest of the process.


Notes:
- 1. Chatgpt accepts only jpg and png type images so make sure you only upload these type of
images.
-
2. When a custom image is uploaded the user first needs to save the snippet before trying to get
the image description as the image isn't yet saved in the database.
Need Help?

Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module