Using images in a block that were uploaded in File Manager
Permalink
Hi all,
I am trying to find an example of using images that have been uploaded in the File Manager of c5 in my own custom block.
Essentially, I am creating a listing block that is stored in a db table, I would like to associate an image with each entry in the list. I just don't know how to find the images in my block with PHP code through the c5 API, nor do I know how to make my code allow me to select an image from the File Manager and update the record in the listing database table.
Anyway able to point me in the right direction?
Any pointers would be appreciated :) Thank you!
Joe
I am trying to find an example of using images that have been uploaded in the File Manager of c5 in my own custom block.
Essentially, I am creating a listing block that is stored in a db table, I would like to associate an image with each entry in the list. I just don't know how to find the images in my block with PHP code through the c5 API, nor do I know how to make my code allow me to select an image from the File Manager and update the record in the listing database table.
Anyway able to point me in the right direction?
Any pointers would be appreciated :) Thank you!
Joe