Hello, guys!
I am new with Grocery Crud and Image Crud and need some help...
I am working on a project and have a doubt.
I have 02 tables. One is "image" table, where I store the 'id' (pk), 'title' and 'file_name'.
The other one i store the news. in this table, i have the 'id' (pk), 'img_id', 'text' and 'date'.
I got to make the CRUD on the first table with image crud, no problems.
Now I want to make a gocery Crud with the second table, but instead show the 'img_id' I want to show the THUMB of the image from the first table. Got it?
So far I tryed a lot of examples, researches and tests, relations but I am stucked. The only way I see to solve this is without Grocery or Image CRUD, but will change all the styles...
Also from this first table, is it posible to add some persistance? I mean, if there is some news related to the image, I can not delete the news (or delete the image and all other news related to it.
Thanks in advance,
Luis