uoregon-libraries / oregonnews

!!Defunct!! University of Oregon fork of Chronicling America
1 stars 0 forks source link

Remove all image manipulation code #20

Closed jechols closed 7 years ago

jechols commented 9 years ago

Since using our standalone JP2 server, @duncanbarth has posed the question: do we have any need for image manipulation libraries on the server and in the source code? I'm pretty sure we no longer need that stuff, and it could trim down the app as well as the server if we removed it entirely. Since the JP2 tile server is handling every possible dynamic image request (or should be - if it isn't we need to fix that anyway), this is the time to look into what code/libraries we can just rip out entirely.

jechols commented 9 years ago

It's worth making sure when this happens that we have a central way to specify image server URLs, since the right approach is to remove all the current shortcuts which rely on app-level URLs to exist even if they're not used. There will need to be some kind of URL helpers for resize and tile requests, and we should be able to configure a base URL since it might make sense to host the image server elsewhere once it's fully untied from django.