need photo upload feature
Permalink
Hi all, I am new to this CMS and do not know anything about websites, I am stuck on creating a page that allows my visitor to upload a photo and print it out.
Can this CMS do this, do I need to hire someone?
Can this CMS do this, do I need to hire someone?
If you want an image amongst other details on the form, the @ImJack's solution is the way to go, either with the built in form block or one of the more sophisticated addon form blocks.
If you just want the image, maybe with a title or description, but no further form fields, my Front End Uploader block may be an friendly solution for your users.
If you just want the image, maybe with a title or description, but no further form fields, my Front End Uploader block may be an friendly solution for your users.
Hi Both,
Thanks for both your replies, it's nice to see a forum with people being helpful.
The idea behind this is to print off a certificate with a photo on it in the dead center of a template.
I hope that clears up the need to print it.
Ideally the photo that gets uploaded can be adjusted before so they can nudge it into the correct position before printing.
Thanks for both your replies, it's nice to see a forum with people being helpful.
The idea behind this is to print off a certificate with a photo on it in the dead center of a template.
I hope that clears up the need to print it.
Ideally the photo that gets uploaded can be adjusted before so they can nudge it into the correct position before printing.
As above, there are plenty of options for your upload.
The next step depends on who is doing the printing and where. Is it back to the user who did the upload to print on their own printer, or is it done on a printer connected to the server?
If you want your users to get involved with the concrete5 file manager, then that will provide utilities for choosing framing and cropping of a file. But they will need to consider the dpi of web/screen (72dpi) vs printed (300dpi) - it will affect the scaling.
The GD graphics processor used by PHP installations can choke on manipulating large files. This affects concrete5 and most other cms software.
My Front End Uploader addon also has options to crop and re-size to a box on upload (using PHP as above).
You could set up an entire page as your certificate, then use css to scale a much larger picture into the picture area and crop by using overflow properties, so the full resolution picture is actually used (and hence used for printing the web page).
Another option would be to create a pdf file for the certificate with the pic in it. That way, you can have it print at 300dpi (whereas a web page will print at 72dpi)
If you want this to be fully automated, there is no way out of needing to write some php to connect together various bits of concrete5, or possibly use Magic Data (another of my addons).
If you can accept allowing users to do some work within concrete5, or you have site managers who will review the uploaded pics and insert them into the certs (perhaps a workflow application), then the connecting together is a manual process and you can do it with regular blocks and addons without custom php.
The next step depends on who is doing the printing and where. Is it back to the user who did the upload to print on their own printer, or is it done on a printer connected to the server?
If you want your users to get involved with the concrete5 file manager, then that will provide utilities for choosing framing and cropping of a file. But they will need to consider the dpi of web/screen (72dpi) vs printed (300dpi) - it will affect the scaling.
The GD graphics processor used by PHP installations can choke on manipulating large files. This affects concrete5 and most other cms software.
My Front End Uploader addon also has options to crop and re-size to a box on upload (using PHP as above).
You could set up an entire page as your certificate, then use css to scale a much larger picture into the picture area and crop by using overflow properties, so the full resolution picture is actually used (and hence used for printing the web page).
Another option would be to create a pdf file for the certificate with the pic in it. That way, you can have it print at 300dpi (whereas a web page will print at 72dpi)
If you want this to be fully automated, there is no way out of needing to write some php to connect together various bits of concrete5, or possibly use Magic Data (another of my addons).
If you can accept allowing users to do some work within concrete5, or you have site managers who will review the uploaded pics and insert them into the certs (perhaps a workflow application), then the connecting together is a manual process and you can do it with regular blocks and addons without custom php.
Then create a file set in file manager called photos and have the image spool there. You can also have them zip the folders...and load that, you can pull them down for optimizing from there.Depends on your needs.
You would also have to adjust who can view the file manager... for them to print it.
And You might be limited on file size...usually 2MB. But all this is adjustable.
I'm not sure why they would need to print a file they have uploaded, I am a little cloudy on the thought behind this.