Topic: Image display bug in Rails 1.2.1
I tried to display an image uploaded in a MySQL database and that didn't work, therefore I did some tests on two consecutive lines
Line 1 => NO IMAGE "?"
<%= image_tag(url_for(:action => 'picture', :id => picture.id))%>
Line 2 => No Image "?" but when you click on the link image is displayed !!
<%= link_to(image_tag(url_for(:action => 'picture', :id => picture.id)),
url_for(:action => 'picture', :id => picture.id)) %>
When I do the same thing on my laptop with Rails 1.1.6 installed, everything works...
Displaying images stored in the images directory works without any flaws...
** Has anyone experienced a similar problem with image_tag's in Rails 1.2.x ??
** Do you have an alternative way of displaying images that will work under 1.2.1 (with uploading the images to the database) ?
** Is this a formulation bug or a configuration of the server problem (pages are hosted ??