Thread Starter
kevin
(@k-win)
Just noticed that it was all working fine locally (wamp). Still not uploading online…
Thread Starter
kevin
(@k-win)
Tested on another server with my local database backup and it’s weird. The post that has 30 pictures (one in each input file field) is displaying well the 30 pictures and has then well saved in the admin, but when it comes to create a new post i’m still stuck with 20 pictures saved and nothing after this.
Its a PHP ini configuration. max_file_upload.
Thread Starter
kevin
(@k-win)
Seems like it yeah, it’s limited to 20 when i check the php configuration. I asked the support of my server and they said i had to insert ini_set (max_file_upload, xxx ) at the beginning of the script. Question is, where is this script in the wp files? and is there a way to include this in the functions.php file of the theme? Cos it’ll be deleted at next wp update.
Thread Starter
kevin
(@k-win)
Found a solution. I divided my pictures into 3 templates and in the post admin i just have to load them with the drop-down menu. The value of “max_file_uploads” is still stuck at 20 but for now it’s the best solution i found.