attachinary icon indicating copy to clipboard operation
attachinary copied to clipboard

After uploading a video the thumbnail is missing

Open steveholmes opened this issue 10 years ago • 2 comments

When using the form field <%= f.attachinary_file_field :video %> the resulting thumbnail after uploading a video is missing as the link is: <img src="http://res.cloudinary.com/dfqe5altz/image/upload/c_fill,h_75,w_75/v1431079893/mnszzru8r56gdqxjwmbp.jpg" alt="" width="75" height="75">

But cloudinary now locates the thumbnail in the video directory, so the thumbnail should be: <img src="http://res.cloudinary.com/dfqe5altz/video/upload/c_fill,h_75,w_75/v1431079893/mnszzru8r56gdqxjwmbp.jpg" alt="" width="75" height="75">

steveholmes avatar May 08 '15 10:05 steveholmes

@steveholmes can you update your description?, the urls looks the same to me

UPDATE, sorry I just saw the difference, I'll take a look at this hopefully tonight.

orlando avatar Jun 17 '15 16:06 orlando

Submitted PR that adds resource_type to $cloudinary.url call so that the correct url is returned for video thumbnails.

https://github.com/assembler/attachinary/pull/121

bluengreen avatar Jan 05 '16 11:01 bluengreen