• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: saving file upload (image) as thumbnail

saving file upload (image) as thumbnail 12 years 3 months ago #16306

  • Joe028
  • Joe028's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
New to RSforms pro and really liking it so far. I have a file upload field and will set validations so that it will only allow image files. What I would like to do though is to only save a thumbnail version of the image to save space on the server. The full size image is unnecessary for me to keep. Any suggestions on how I can implement this with RS forms pro?

Very familiar with php and customizations, just don't know how it would all work and where to implement it within rsforms.

Thanks. Joe
The administrator has disabled public write access.

Re: saving file upload (image) as thumbnail 11 years 10 months ago #17893

  • robert49
  • robert49's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 1
Hello,

I don't think this is direct possible beacause the RSForm codes only uploads the original submitted file you selected. There is 1 option i can think of which is making use of the GD image library in an new form after the upload has succeeded. With the GD library you are able to import the uploaded file, scale it down and replace the downscaled file on your server with the original one.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!