Displaying 1 result from an estimated 1 matches for "itemimage".
Did you mean:
item_image
2006 Nov 08
0
Problem ith file_column
...about the problem.
There are two tables:- 1) items and 2)item_images
In the first table only item name and description is stored while in
the second table; the image name is stored along with the item_id from
the first table. I am using the following code to access the image from
database
itm = ItemImage.find_by_item_id(id).image # image is the column for
image name
Running this query returns something like
"public/item_image/image/1/Sample.jpg" instead of
"/item_image/image/1/Sample.jpg".
Thanks
Amitava
--~--~---------~--~----~------------~-------~--~----~
You received th...