miamiworks / web

main website
BSD Zero Clause License
0 stars 3 forks source link

Pictures on skills_pathways should change should change for each category #56

Closed newtporter closed 4 years ago

newtporter commented 4 years ago

These should be pulling from the skill_pathways collection in Firebase.

@berno0 I noticed the Image_URL is a Google Drive link. Not sure if these should be hosted in Firebase and compressed as we discussed doing with the other images.

berno0 commented 4 years ago

@newtporter That is a legacy field that we kept. We probably would delete moving forward. In any of the collections if images are referenced is always by the field that ends in _path. So for the collection skill_pathways the image reference is image_file_path. Alejandro is using that to reference firebase storage.

alesanchezr commented 4 years ago

@berno0 let me know and I will change to whatever you guys want?

berno0 commented 4 years ago

@newtporter each record for the skill_pathway collection has a different image associated to it in the image_file_path. The images are stored in firebase storage in the folder program_background_images.

@alesanchezr are you reading the image_file_path to get the image to be displayed? Also we need to compress and resize the images in this folder. What size would you like for this images?