rapidpro / chpro-microsite

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Responsive Image Plugin #43

Closed mtrythall closed 6 years ago

mtrythall commented 6 years ago

The current Image plugin is not responsive. We need access to the HTML so we can use Foundation's responsive code via Interchange. We also need to be aware of placeholders so we don't load inappropriately sized images.

So, we need a HTML file to reference to begin work.

SmileyChris commented 6 years ago

I need to know more details about what is actually wanted here. Are all images to be responsive? How many responsive sizes are we after? Can I have some example interchange code to work with?

mtrythall commented 6 years ago

This is good enough for now. I'll talk with @SmileyChris about potentially cleaning up the form.

The main bit of work here was getting the auto scaling to work via Interchange. That seems to work OK, but I go back and forth on whether or not that should be the default behavior.