Skip to content

image is js managed + php only resizes and crops due to increased qualit...#26

Open
ptheofan wants to merge 8 commits into
sconsult:masterfrom
ptheofan:master
Open

image is js managed + php only resizes and crops due to increased qualit...#26
ptheofan wants to merge 8 commits into
sconsult:masterfrom
ptheofan:master

Conversation

@ptheofan

Copy link
Copy Markdown

Hola, I made some modifications to use it in a project, I thought you might want the changes.

  1. When loading an image it will not upload anything to php. It will just load it js wise. (so, no upload here - sometimes images can be huge - plus no need for extra garbage on the server)
  2. After user has selected his desired area image is sent to server for resize/crop (simply because js sucks at resize).
  3. php again does not save anything. It will just return the result. Of course the php dev can choose to save the file there if he wants to.

future notes... hm, perhaps add support for Imagick besides just gd ? Imagick produces really nice quality, especially when it comes to resizing.

If you like it feel free to merge.

In all, I like it! Nice concept! Thanks for sharing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants