more code with fancybox and paperclip first version