Hi -
I'm using 1.9 (...I know, but the customer isn't upgrading yet). I'm trying to add an option to add a unique image to represent a course with the option to select rather than the instructor image on the summary page.
I've added 2 new course custom fields. I created a new field type of 'courseImage' based on the field 'file' type. I am able to upload an image and check if I want it to be the default. That works fine. I can get the information out of the mdl_course_data_info and field tables.
The trouble is that I cannot resize the images on reload or verify image type with my approach. I'm trying to work it something like the user profile image process but can't seem to tie them together. I've been using PHP for almost a year but am lost here.
I'm trying not to overwrite core code if possible. Any suggestions?
Thanks.