amplify icon indicating copy to clipboard operation
amplify copied to clipboard

[front-end] Crop representative photos using Cicero API data

Open paramsiddharth opened this issue 3 years ago • 1 comments

Enable cropping of the representative photos using the data provided by the Cicero API

⚠️ This issue is extremely low priority and must only be taken if other issues are already taken. The Cicero API returns profile picture crop data for some representatives. That data can be reformatted and returned by the back-end to the front-end to do extra CSS formatting and present the profile pictures better.

Source: https://cicero.azavea.com/docs/#official-object

image

Checklist

🖼️: Front-end ⚙️: Back-end 🏗️: Architecture

  • [ ] ⚙️ Examine the photo_cropping property.
  • [ ] ⚙️ Plan out any modifications that need to be carried out before sending it to the front-end.
  • [ ] 🖼️ Apply inline styling to the photos being displayed in individual representative cards to crop them.

paramsiddharth avatar Oct 12 '22 16:10 paramsiddharth

For now, I have chosen to work on an issue with a higher priority as recommended by my mentor @paramsiddharth .

ahn-nath avatar Oct 19 '22 20:10 ahn-nath