Trouble displaying an image using ImageView.imshow()

In fact it’s really painful because I realize that it’s OK working with the Plot Pane when using ordinary images such as “mandrill” which is automatically displayed in the plot pane upon loading; but when using images such as MNIST datasets I do not see any way to visualize images …
Here is the code to concatenate the first 10 images

using MLDatasets
train_x, train_y = MNIST.traindata()
preview_img = zeros(size(train_x, 1), 0)
for i = 1 : 10
global preview_img = hcat(preview_img, train_x[:,:,i])
end

Then preview_img is 28×280 Array{Float64,2} and imshow(preview_img) opens an empty window.
I wonder how to display this preview_img in the plot pane …
All this is kind of desesperating given all what I see about the greatness of Julia in image analysis.
This could be the end of my experience with Julia …