jpegmini service not working
I have signed up for the jpegmini addon, and I was trying to configure the signed url as requested, however when I call it from my php (wp) I keep getting 401 ...
Also I dont receive the signature component at all..
-
Hi Einav,
Have you made sure that the JPEGmini quality component is selected?
At the image's details page, click the "More options" link to see more transformation options, there you should select the JPEGmini preset you wish for that specific image:When JPEGmini is selected from this drop-down list, the signature should automatically be added to the URL.
1 -
Hi Itay
This is per single image.. I need this to work on all images.
0 -
This is my code:
echo cl_image_tag("filename.jpg", array("quality"=>"jpegmini:1", "sign_url"=>true));
This is what I get:
www.einavbar.com/:186 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_2037_pifvsy.jpg 401 (Unauthorized)
(index):189 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0049-Edit1_jub5id.jpg 401 (Unauthorized)
(index):195 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0358-Edit1_tatvaj.jpg 401 (Unauthorized)
(index):192 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0010-2-Edit1_jnlzlv.jpg 401 (Unauthorized)
(index):198 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0199-Edit1_vmjzxb.jpg 401 (Unauthorized)
(index):201 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0087-2-Edit1_e02alz.jpg 401 (Unauthorized)
(index):207 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0698-Edit1_kb1lfq.jpg 401 (Unauthorized)
(index):186 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_2037_pifvsy.jpg 401 (Unauthorized)
(index):204 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0243-Edit1_oszmv1.jpg 401 (Unauthorized)
(index):210 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0109-Edit1_si0a89.jpg 401 (Unauthorized)
(index):213 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/DSC_0072-2-Edit1_aupdne.jpg 401 (Unauthorized)
(index):216 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-1076_ewoh1h.jpg 401 (Unauthorized)
(index):219 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-1040_wzrty5.jpg 401 (Unauthorized)
(index):222 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-492_vca7ig.jpg 401 (Unauthorized)
(index):225 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-1306_n4ttvm.jpg 401 (Unauthorized)
(index):228 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-1274_z5xu86.jpg 401 (Unauthorized)
(index):231 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-1079_xvyhym.jpg 401 (Unauthorized)
(index):234 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-25_zsycrc.jpg 401 (Unauthorized)
(index):237 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-50_wxvfs9.jpg 401 (Unauthorized)
(index):240 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-306_drf1dj.jpg 401 (Unauthorized)
(index):243 GET http://res.cloudinary.com/einavbar/image/upload/q_jpegmini:1/30_10-55_balklp.jpg 401 (Unauthorized)0 -
Note that in order to avoid abuse to your JPEGmini plan's quota, each URL should be specifically signed.
Also note that the Cloudinary files which are included with our WP plugin are a minified version of our library.If you wish to generate the URLs via PHP code, you should consider downloading our full PHP integration library, which will include the signature part in your URLs:
https://github.com/cloudinary/cloudinary_php0
Post is closed for comments.
Comments
4 comments