On 7 April 2015 at 12:41, Edward Maya <lists@ruby-forum.com> wrote:
> Colin Law wrote in post #1171580:
>> On 7 April 2015 at 11:53, Edward Maya <lists@ruby-forum.com> wrote:
>>>> Finally, the best way to get help is not to SHOUT at those who are
>>> then in place of image i'm getting image name like "example image"
>> I don't understand what you mean by getting that message when you hit
>> submit. I thought the problem with displaying the image. What
>> exactly is the question you are asking? Do you think the upload is
>> failing? I presume you have looked in development.log to see if there
>> were any errors there.
>>
>> Colin
>
> i have made a diff show.html.erb that after i hit submit will redirect
> me to show file in which i am getting the name of image instead of
> image. earlier i was getting error or imagemagick but after some google
> search i found removing styles will do but now i am only getting the
> name of image(and yea i have checked log file for errors NO ERROR) and i
> have checked via console too the image is getting stored but not
> displaying, image is getting stored in public images . .
So, if I understand correctly, you have some erb in the view that
should show an image, but in fact it just shows the name. In your
situation the first thing I would do is to look at the html to see
what html the image_tag is generating. For some reason you don't seem
to want to do that.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv_y_u9FxxsKvFqhX_ZSJsdDga3RKxQ1%2BnhO7C1vKt_pA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment