Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Image Display with API Integration #63

Open
Baig-fatema opened this issue Oct 4, 2024 · 3 comments
Open

Enhance Image Display with API Integration #63

Baig-fatema opened this issue Oct 4, 2024 · 3 comments

Comments

@Baig-fatema
Copy link

Baig-fatema commented Oct 4, 2024

Enhance Image Display with API Integration

Background

Currently, the app displays a static image using the following HTML element:

<img src="https://images.pexels.com/photos/185801/pexels-photo-185801.jpeg?auto=compress&amp;cs=tinysrgb&amp;w=600" alt="0" style="width: 375.225px;">

Proposed Enhancement

To enhance the user experience, I propose integrating an API that can fetch a variety of images related to anxiety relief. This will allow users to view different calming images, making the app more dynamic and engaging.

Suggested API

Benefits

  • Dynamic Content: Users will see new and varied images each time they use the app.
  • Improved User Engagement: A fresh set of images can keep users interested and provide them with different visual stimuli for anxiety relief.

Implementation Details

  1. API Key: We will need to sign up for an API key from the chosen image source.
  2. Fetch Images: Implement a function to fetch images from the API and display them in the app.
  3. User Interface: Consider creating a gallery or slideshow for better user interaction.

Potential Challenges

  • API rate limits
  • Handling errors in fetching images
  • Ensuring images are relevant to anxiety relief
Copy link

github-actions bot commented Oct 4, 2024

👋 Thank you! Welcome to the project! Please follow these guidelines for smooth collaboration:

  1. After completing a task, add your name and details to the Contributors Table/List.
  2. Attach relevant screenshots or videos of your contribution for transparency.
  3. Tasks are assigned on a first-come, first-served basis.
    • Avoid spamming requests for already-assigned tasks.
    • Respect the queue and wait for new tasks.
  4. Propose New Ideas: Discuss new features or suggestions in the "Ideas" channel before starting work.

@Baig-fatema
Copy link
Author

Hi @Amna-Hassan04 ,

I’d like to take on this enhancement as part of my participation in GSSoC 2024 as an extended open-source contributor. I believe integrating an API for dynamic image fetching will greatly enhance the user experience of the anxiety relief app.

Looking forward to collaborating on this!

Best,
Baig-fatema

@Amna-Hassan04
Copy link
Owner

I like the idea, I am assigning u this and do make a discussion idea post on this, to disscuss what and how many images will be used etc, and also keep on updating me if you run into a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants