Giter Club home page Giter Club logo

Comments (5)

argent-smith avatar argent-smith commented on September 22, 2024

Hi. Try to read Carrierwave’s docs.

2013/7/22 ziyadbasheer [email protected]

Hi, how do I use the generated thumbnail in the view? It doesn't seem to
mandate the creation of a new column, so presumably it isn't an attribute
of the file, no examples are provided either.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

Yours truly, Pavel.

from carrierwave-video-thumbnailer.

ziyadbasheer avatar ziyadbasheer commented on September 22, 2024

Hi, there doesn't seem to be any docs aside from the readme file, which only demonstrates the uploader.

from carrierwave-video-thumbnailer.

ziyadbasheer avatar ziyadbasheer commented on September 22, 2024

Apparently it's as simple as Model.attribute_url(:thumb)

from carrierwave-video-thumbnailer.

joao-j-souza avatar joao-j-souza commented on September 22, 2024

I have the same problem and Model.attribute_url(:thumb) as ziyadbasheer mentined, doesn't worked for me. Could you please example in more detalles how can I got get this value. It's not appear to be a attribute.

from carrierwave-video-thumbnailer.

joao-j-souza avatar joao-j-souza commented on September 22, 2024

Ok, I could access it by "instance"."attribute.url"(:thumb), in this case... <%= image_tag @video.video.url(:thumb) %>

from carrierwave-video-thumbnailer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.