```ruby
if image_model_class.columns_hash[ia]
  column_type = image_model_class.columns_hash[ia].type
elsif image_model_class.translation_class.columns_hash[ia]
  column_type = image_model_class.translation_class.columns_hash[ia].type
end
```