Closed alsaydi closed 11 years ago
I don't see how this can work, $https_prefix is undefined. Also, would be nice to see this type of update live on some demo installation.
of course it won't work. sorry, I forgot to include the definition of the two variables.
Please take a look here https://syriareliefanddevelopment.org/ The underlying theme uses aq_resize.
Fantastic work mate, thanks! :)
Hello,
Thanks for the script.
I noticed that if the upload url is http and the site is accessed through https, the url returned from aq_resize is empty string.
I added a couple of lines to make the schemes match. Please take a look.
AB