I changed the code to upload images into a BLOB field in the database
cause I don’t want to use the filesystem to serve up images any longer.
How can I change this rhtml code so that it goes to the BLOB field in
the database and display the pictures?
I changed the code to upload images into a BLOB field in the database
cause I don’t want to use the filesystem to serve up images any longer.
How can I change this rhtml code so that it goes to the BLOB field in
the database and display the pictures?
You need to create an action that sends along the image data.
I got that part thanks. Now my problem is that I have a thumbnail that,
when hovered over, populates a larger area in the center. The problem
now is that the hover javascript references the .src counter value for
the picture being hovered over to correctly identify the
id(side_image_0)…with the files on disk, this works…
<span onmouseover=“set_selected_pic(0);”
span>
…from the database src becomes /studio/picture/15, which doesn’t work
with the hover…I tried setting alt="/studio/picture/Larry.jpg but
can’t get that working…
I changed the code to upload images into a BLOB field in the database
cause I don’t want to use the filesystem to serve up images any longer.
How can I change this rhtml code so that it goes to the BLOB field in
the database and display the pictures?
You need to create an action that sends along the image data.