Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

Solved: Removed the explode line and returned the base64 encoded str with the data:image/jpg;base64, portion still attached. Placed that in a variable to populate a view with the str data as an imag...
3,589 Views
10 Replies
09-16-2019, 07:03 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-12-2019, 11:10 AM) -- No, they are converting the string to an image I do not see you doing that. See the imagecreatefromstring method they are using. -- Yes, that is the next ...
3,589 Views
10 Replies
09-12-2019, 04:00 PM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-12-2019, 08:08 AM) -- I think in your code you are missing this part. PHP Code: -- $decoded_str = base64_decode($img_str); //pass the encoded string here          $im = ima...
3,589 Views
10 Replies
09-12-2019, 08:15 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-11-2019, 05:54 PM) -- Why are you putting it into an array? It should be just a string. -- Which line would you be referring to? The only array used is $arr_data to pull the base6...
3,589 Views
10 Replies
09-12-2019, 03:36 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: RE: CI3 Encrypt/Decrypt Images

InsiteFX Wrote: (09-11-2019, 02:41 AM) -- Read this article. Encode Decode image using PHP (https://blog.decryptweb.com/encode-decode-image-php/comment-page-1/) -- Thank you for your response. ...
3,589 Views
10 Replies
09-11-2019, 11:20 AM
nuke
    Thread: CI3 Encrypt/Decrypt Images
Post: CI3 Encrypt/Decrypt Images

I have successfully encrypted and decrypted other file types on the fly so, i believe my code is correct but I can post it if you want to see it. How do you encrypt/decrypt images? Must you Base64_...
3,589 Views
10 Replies
09-10-2019, 06:34 PM
nuke

Theme © iAndrew 2016 - Forum software by © MyBB