# Image Editor App

**URL:** <https://community.thunkable.com/t/image-editor-app/1103>\
**Category:** Promote your App\
**Tags:** design, beta, opensource\
**Created:** [January 21, 2017, 8:09pm UTC](https://community.thunkable.com/t/image-editor-app/1103 "2017-01-21T20:09:42Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [January 28, 2017, 9:18am UTC](https://community.thunkable.com/t/image-editor-app/1103/21 "2017-01-28T09:18:14Z")

</div>

Old Redmi Note 3g  
Android Kitkat 4.4 Miui 7.3 stable

Stock miui gallery app

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [January 28, 2017, 9:38am UTC](https://community.thunkable.com/t/image-editor-app/1103/22 "2017-01-28T09:38:42Z")

</div>

Maybe the app would crash in every picked image

I will make a small trick to fix it: if the selected file ends in .null, then change extension to .jpg  
I think that this trick will fix it

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [January 28, 2017, 10:13am UTC](https://community.thunkable.com/t/image-editor-app/1103/23 "2017-01-28T10:13:41Z")

</div>

Maybe its work

I downloaded your project php files and uploaded to my server.Thanks for it i use it for resize user images to 250x250.

Do you know how can i delete auto resized images?

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [January 28, 2017, 10:16am UTC](https://community.thunkable.com/t/image-editor-app/1103/24 "2017-01-28T10:16:43Z")

</div>

Edited images aren’t saved in the server. It’s a temporal image (or an online image)

If you checkout the headers of the editor once image loaded, you will see that are `image/png`, so this means that it’s an image. For example:

![](https://scripts.thunkable.ga/image-editor/editor.php?thumb=example.jpg&resize&rs_auto=100&banner)

That image is an edited image, but it’s displayed using this tag:  
`<img src="https://scripts.thunkable.ga/image-editor/editor.php?thumb=example.jpg&resize&rs_auto=100&banner">`

So, as you can see, the server only saves original images for edition purposes

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [January 28, 2017, 10:21am UTC](https://community.thunkable.com/t/image-editor-app/1103/25 "2017-01-28T10:21:44Z")

</div>

Uh i dont want save original i want only resize images and download to app and save them on cloudinary.I do it for more space.Some users photos more than 1mb and its unnecessary for mobile apps

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [January 28, 2017, 6:48pm UTC](https://community.thunkable.com/t/image-editor-app/1103/26 "2017-01-28T18:48:30Z")

</div>

If you want to do that, you can simply download the image, or upload the image using the URL

Later I will add the option to copy the image URL

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [January 28, 2017, 7:38pm UTC](https://community.thunkable.com/t/image-editor-app/1103/27 "2017-01-28T19:38:51Z")

</div>

Yes but original image still on server? I m wrong? When i resize i need upload it to my server and use tags for resize and download it.Its okey but i want remove image in server when i finish my job.

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [January 28, 2017, 7:47pm UTC](https://community.thunkable.com/t/image-editor-app/1103/28 "2017-01-28T19:47:53Z")

</div>

> [@Ali\_Aydin](#):
>
> Yes but original image still on server?

1. User uploads image
2. User edits image
3. User downloads image

Image is never deleted, so users can use it forever

> [@Ali\_Aydin](#):
>
> Its okey but i want remove image in server when i finish my job.

I will have to make some changes in app too xD  
Maybe I would implement Mika’s NaBar

---

<div class="post-metadata">

**Author:** ![Ali\_Aydin](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ali_aydin/32/7989_2.png) [@Ali\_Aydin](https://community.thunkable.com/u/Ali_Aydin)\
**Post date:** [January 28, 2017, 8:21pm UTC](https://community.thunkable.com/t/image-editor-app/1103/29 "2017-01-28T20:21:07Z")

</div>

> [@barreeeiroo](#):
>
> User uploads image  
> User edits image  
> User downloads image
> 
> Image is never deleted, so users can use it forever

Okey waiting your edits.I want automate resize images not users do it manualy.I want downgrade imagesize 🙂

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [January 29, 2017, 9:51am UTC](https://community.thunkable.com/t/image-editor-app/1103/30 "2017-01-29T09:51:34Z")

</div>

I’m working on a lot of edits, so the new update will be next week. It will include:

- Complete new design
- Option to delete saved images on server
- Password/PIN protection to access the app
- Sae your images with custom name
- More editable effects
- Some improvements

  

Also, what design would you prefer:

_Poll ([view on site](https://community.thunkable.com/t/image-editor-app/1103/30))_

_If you want to vote, click on the circle, and not on the words, or you will be redirected to the topic that contains that example_

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [March 16, 2017, 7:55pm UTC](https://community.thunkable.com/t/image-editor-app/1103/31 "2017-03-16T19:55:01Z")

</div>

I think I will stop working on this project, as it is a lot repetitive, always doing the same (except if @Thunkable team adds an option to copy paste elements in the designer 😋).

**But** , I will publish the API for how to create a custom image from an original ones uploading it to the server

---

<div class="post-metadata">

**Author:** ![E-Buziness\_Net](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@E-Buziness\_Net](https://community.thunkable.com/u/E-Buziness_Net)\
**Post date:** [March 20, 2017, 6:21pm UTC](https://community.thunkable.com/t/image-editor-app/1103/32 "2017-03-20T18:21:32Z")

</div>

I cannot find the PHP file!

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [March 21, 2017, 2:57pm UTC](https://community.thunkable.com/t/image-editor-app/1103/33 "2017-03-21T14:57:18Z")

</div>

[image-editor.zip](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/8/8f903c3302c06fa1752f0699344e66b75bbf6f29.zip) (83.2 KB)

---

<div class="post-metadata">

**Author:** ![E-Buziness\_Net](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@E-Buziness\_Net](https://community.thunkable.com/u/E-Buziness_Net)\
**Post date:** [March 23, 2017, 4:13pm UTC](https://community.thunkable.com/t/image-editor-app/1103/34 "2017-03-23T16:13:16Z")

</div>

thank you so much.

I will try it

---

<div class="post-metadata">

**Author:** ![E-Buziness\_Net](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@E-Buziness\_Net](https://community.thunkable.com/u/E-Buziness_Net)\
**Post date:** [March 23, 2017, 4:54pm UTC](https://community.thunkable.com/t/image-editor-app/1103/35 "2017-03-23T16:54:15Z")

</div>

this response content when i used the file upload.php:  
  
  
**Warning** : filesize(): stat failed for picked\_image-894048723.jpeg in **/home1/ebuz/public\_html/h/upload.php** on line **16**  
  
  
  
**Warning** : Cannot modify header information - headers already sent by (output started at /home1/ebuz/public\_html/h/upload.php:16) in **/home1/ebuz/public\_html/h/upload.php** on line **19**  
  
Empty

The file is uploaded to the host but the response contents return the above text

---

<div class="post-metadata">

**Author:** ![E-Buziness\_Net](https://avatars.discourse-cdn.com/v4/letter/e/c77e96/32.png) [@E-Buziness\_Net](https://community.thunkable.com/u/E-Buziness_Net)\
**Post date:** [March 23, 2017, 5:01pm UTC](https://community.thunkable.com/t/image-editor-app/1103/36 "2017-03-23T17:01:04Z")

</div>

OK. I have updated the code to the following and it is working now:

\<?php header('Cache-Control: no-cache, must-revalidate'); $data = file\_get\_contents('php://input'); $filename = $\_GET['filename']; $extension = pathinfo($filename, PATHINFO\_EXTENSION); $new\_filename = "upload/" . time() . "." . $extension; if ($extension != "jpg" and $extension != "jpeg" and $extension != "png" and $extension != "gif") { header("HTTP/1.0 400 Bad Request"); echo $extension; //"Not image"; } else { if (file\_put\_contents($new\_filename,$data)) { if (filesize($new\_filename) != 0) { echo $new\_filename; } else { header("HTTP/1.0 400 Bad Request"); echo "Empty"; } } else { header("HTTP/1.0 400 Bad Request"); echo "Failed"; } } ?\>

---

<div class="post-metadata">

**Author:** ![Hakanerbass](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hakanerbass/32/7567_2.png) [@Hakanerbass](https://community.thunkable.com/u/Hakanerbass)\
**Post date:** [September 5, 2017, 7:52am UTC](https://community.thunkable.com/t/image-editor-app/1103/37 "2017-09-05T07:52:17Z")

</div>

don’t works

Error 200  
İ tryed jpg,jpeg and png but not working

---

<div class="post-metadata">

**Author:** ![Hakanerbass](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/hakanerbass/32/7567_2.png) [@Hakanerbass](https://community.thunkable.com/u/Hakanerbass)\
**Post date:** [September 5, 2017, 7:53am UTC](https://community.thunkable.com/t/image-editor-app/1103/38 "2017-09-05T07:53:02Z")

</div>

![](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/2X/1/1f3478be7b08e2cd4e786dab822698d05950180c.png)

---

<div class="post-metadata">

**Author:** ![Barreeeiroo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/barreeeiroo/32/17867_2.png) [@Barreeeiroo](https://community.thunkable.com/u/Barreeeiroo)\
**Post date:** [October 21, 2017, 8:27pm UTC](https://community.thunkable.com/t/image-editor-app/1103/39 "2017-10-21T20:27:25Z")

</div>

That’s because I changed the host 😓

Instead of [https://scripts.thunkable.ga/image-editor/](https://scripts.thunkable.ga/image-editor/) its [https://scripts.thunkable.ga/image/editor/](https://scripts.thunkable.ga/image/editor/)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [October 21, 2017, 8:58pm UTC](https://community.thunkable.com/t/image-editor-app/1103/40 "2017-10-21T20:58:16Z")

</div>

Thanks! 😂

[Previous page](https://community.thunkable.com/t/image-editor-app/1103.md?page=1)

[Next page](https://community.thunkable.com/t/image-editor-app/1103.md?page=3)
