+1 vote
ago by
The self-written site used to add photos using batch upload. As soon as adobe flash killed this function disappeared, now it is only possible to upload one photo at a time. Maybe someone knows a module for batch loading photos on the site by sku for example?
ago by
What is sku?
ago by
Gragor Well sku is just a number or string, it is unlikely there are some abstract libraries that in an arbitrary CMS / database will load arbitrary data on a particular attribute that makes sense only within this system. If you're using a CMS, you should specify what you're talking about - wordpress, joomla or maybe bitrix. If not, then on the front for example you can do as you wrote below, and on the backend rewrite the part responsible for receiving files
ago by
Kovalsky , product code

1 Answer

+3 votes
ago by
<input type="file" multiple>
ago by
I'm a total dummie. It doesn't end with just that line.
ago by
Gragor ,
And on the back, I don't know where it all is.
Then it's easier for you to hire a specialist to redesign the site.
ago by
If there used to be a flash - now the replacement of the input on the multiplet is certainly not limited to, as flash downloads usually did the load by 1 file, that is, from the pack was done inquiries how many files. Well and the backing accordingly was written under 1 file. So yes, we will have to kowtow to the back.
ago by
Rsa97 , this is what the frontend looks like now, if I've sketched it correctly of course
605d7f13848b2186078329.jpeg

605d82ab265e2814066119.jpeg
And on the back, I don't know where it all is.
ago by
Gragor With the standard form submission on the frontend, you don't need to do anything else, just add the name of the field, for example name="photos[]".
And on the backend, we have to rewrite the part that is responsible for receiving files.
...