I want to display the picture(BLOD type in sqlite3 in Ubuntu)
I cannot display picture on the screen., i just show some decode
stuff.
and i try to use the plug in paperclip…
and when i install it on the current project, I cannot run my server
in Terminal,
I want to display the picture(BLOD type in sqlite3 in Ubuntu)
I cannot display picture on the screen., i just show some decode
stuff.
It is no good just saying you cannot display it and you get some
‘decode stuff’. Show us the code you have written that you think
should display the picture and whatever is shown on screen where the
image should be displayed. First have a look at the html being
generated (View > Page Source or similar in your browser) and make
sure that the html being generated is what you expect. I would expect
you to be using image_tag to show the image.
and i try to use the plug in paperclip…
and when i install it on the current project, I cannot run my server
in Terminal,
Is this a separate question? If so I would advise just having one
question in a post, otherwise the answers to the two questions will
get mixed up. Again though it is no good just saying you cannot run
the server, otherwise the only reply you will get is that you are
doing something wrong. Tell us the error message when you run the
server.
image should be displayed. First have a look at the html being
get mixed up. Again though it is no good just saying you cannot run
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
That’s just dumping the raw data into the page. Your browser won’t know
that the data represents an image unless there is an img tag, whose src
attribute points at an action in your app that will send back the data
comprising the image. You might also consider embedding the images
inline via a data: url