Hi everyone, out for a while, sorry.
First, a few days ago someone reported an issue with newest Osclass 3.8.0, warning about plugin uncompatibility. Usually, when a new Osclass version is released, plugins on the Market are automatically marked as compatible with it, but something went wrong this time, so I was forced to do it manually for Pre-resize 2.3.0. Problem is that I didn't know that this little change means that the latest plugin version is deactivated on the market until Osclass team revision, so right now the downloadable version is the old 2.2.1
Anyway, I've replaced now v 2.3.0 with v. 2.3.1, addressing the problem pointed out by @Aficionado...
This is from my debug.log
[11-Sep-2018 12:23:07 Europe/London] PHP Warning: array_slice() expects parameter 1 to be array, string given in /home/oc-content/plugins/preResize_images/reorder_functions.php on line 33
[11-Sep-2018 12:23:07 Europe/London] PHP Warning: array_flip() expects parameter 1 to be array, string given in /home/oc-content/plugins/preResize_images/reorder_functions.php on line 49
...and fixing another bug with Delete link on mobile view. So it will be this 2.3.1 what should be available for download once the Osclass team gives the green light.
Hi @teseo,
First of all thank you very much for your effort and excellent plugin.
After updating to the latest version I have problems updating images in ad. I use the Amazon S3 plugin to save the images outside.
It seems that the images are renamed in application but in Amazon S3 they are left with the old name and then they are not found by url in frontend web
I think it's more Amazon S3 plugin problem and I have to add the hook "uploaded_file" on it
I have detected some errors in - function przi_reorder_photos_process would have to check if $new_order is array - if(is_array ($new_order))
Do you know how it would be best to fix the Amazon S3 plugin?
Would not it be easier to have a column in the table, such as "resource_order" instead of increasing index and renaming the files? Later sort or select images by this order?
Thanks
I understand your issue, but I cannot guarantee compatibility with any 3rd party plugins and less when they require an API key to paid external services. Now, I would be willing to do this task if you (or some other person interested) share temporarily your Amazon API key with me while I program the thing. If you're interested leave your mail address so I could reach you (PM are disabled in the forum).
About this:
Would not it be easier to have a column in the table, such as "resource_order" instead of increasing index and renaming the files? Later sort or select images by this order?
Yes, that would have been my preferred option, but unfortunately in this case that approach would require a lot of modifications on theme files.
Regards