Jump to content

Adding Image Field to AdminCMS


dawb

Recommended Posts

Hi,

 

I am currently trying to add an image upload field to the AdminCMS form. I have been able to add image fields to previous modules that I have created but am struggling with extending the AdminCMS.

 

Any help would be greatly appreciated.

 

Thanks

Link to comment
Share on other sites

I have added in $this->fieldImageSettings, changed the form to be multipart/form-data and have added in the image field.

 

I am trying to use the afterImageUpload() to generate the different sizes as I have done for other modules. Is it possible to call this before the postProcess() function? Or does postProcess change how the images are usually dealt with?

 

Thanks for your help

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...