You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there is a way on a per upload basis to set the protocol that is stored with the image url in _wp_attached_file.
Unfortunately this is per upload, and it defaults to HTTP.
I've written a little snippet to jump in on update_attached_file and modify the file url, so that even if user's don't make the HTTPS selection, it changes it anyways.
It wouldn't surprise me if there is a need for some organizations to want to define the Protocol on each upload, but I also think it would be really nice to have an 'on every upload' option.
For those of us who would prefer a global setting for this, I have a proposition.
Add a Protocol setting, on the Wordpress side, under the main Cloudinary Settings screen
Image Protocol
Define on each upload
Always HTTPS
Always HTTP
Based on these settings, we can either leave the functionality as it is, or optionally jump in and toggle it, using something similar to the above, regardless of what user's select when uploading.
After we hammer out any thoughts/details, I'd be happy to work on this and contribute it back.
The text was updated successfully, but these errors were encountered:
Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support http://support.cloudinary.com or create a new ticket if you have any additional issues
I see there is a way on a per upload basis to set the protocol that is stored with the image url in
_wp_attached_file
.Unfortunately this is per upload, and it defaults to HTTP.
I've written a little snippet to jump in on
update_attached_file
and modify the file url, so that even if user's don't make the HTTPS selection, it changes it anyways.It wouldn't surprise me if there is a need for some organizations to want to define the Protocol on each upload, but I also think it would be really nice to have an 'on every upload' option.
For those of us who would prefer a global setting for this, I have a proposition.
Add a Protocol setting, on the Wordpress side, under the main Cloudinary Settings screen
Image Protocol
Based on these settings, we can either leave the functionality as it is, or optionally jump in and toggle it, using something similar to the above, regardless of what user's select when uploading.
After we hammer out any thoughts/details, I'd be happy to work on this and contribute it back.
The text was updated successfully, but these errors were encountered: