summaryrefslogtreecommitdiff
path: root/src/http/posts.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/posts.go')
-rw-r--r--src/http/posts.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/posts.go b/src/http/posts.go
index 872ea89..5c7ac25 100644
--- a/src/http/posts.go
+++ b/src/http/posts.go
@@ -18,6 +18,7 @@ import (
"github.com/mediocregopher/blog.mediocregopher.com/srv/gmi"
"github.com/mediocregopher/blog.mediocregopher.com/srv/http/apiutil"
"github.com/mediocregopher/blog.mediocregopher.com/srv/post"
+ "github.com/mediocregopher/blog.mediocregopher.com/srv/post/asset"
"github.com/mediocregopher/mediocre-go-lib/v2/mctx"
)
@@ -49,7 +50,7 @@ func (a *api) postPreprocessFuncImage(args ...string) (string, error) {
}{
ID: id,
Descr: descr,
- Resizable: isImgResizable(id),
+ Resizable: asset.IsImageResizable(id),
}
buf := new(bytes.Buffer)