Fóruns sobre PHP, JavaScript, HTML, MySQLi, jQuery, Banco de Dados, CSS


Moderador: web

 
Mais de 100 postagens
Mais de 100 postagens
Tópico Autor
Mensagens: 448

Problemas com Slim Image Cropper

12-01-2017 03:31

Não estou conseguindo passar via POST

<div class="slim"> <input type="file" name="anexoperfil" id="anexoperfil"/> </div> <script> new Slim( { ratio: '4:3', minSize: { width: 640, height: 480, }, crop: { x: 0, y: 0, width: 100, height: 100 }, service: 'sync.php', download: true, willSave: function(data, ready) { alert('saving!'); ready(data); }, label: 'Drop your image here.', buttonConfirmLabel: 'Ok', }); </script>


$anexoperfil = $_POST['anexoperfil'];


echo "<pre>". print_r($anexoperfil)."</pre>";

Retorno do UPLOAD

stdClass Object ( [server] => [meta] => [input] => stdClass Object ( [name] => sem-imagem-avatar.png [type] => image/png [size] => 6778 [width] => 400 [height] => 400 ) [output] => stdClass Object ( [width] => 400 [height] => 400 [image] => data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAYAAACAvzbMAAAgAElEQVR4Xu2dC1OUORaGo6ICXhFRQEVE8TrOztb8/3+wUzs7iqioIApeUFBRQEXderP7WT0I0p3+LsnJk6ouGKeT75znpHk7Obns+de//vXNUSAAAQhAAAIdEtiDgHRIjLdDAAIQgIAngIDQESAAAQhAIIgAAhKEjUoQgAAEIICA0AcgAAEIQCCIAAIShI1KEIAABCCAgNAHIAABCEAgiAACEoSNShCAAAQggIDQByAAAQhAIIgAAhKEjUoQgAAEIICA0AcgAAEIQCCIAAIShI1KEIAABCCAgNAHIAABCEAgiAACEoSNShCAAAQggIDQByAAAQhAIIgAAhKEjUoQgAAEIICA0AcgAAEIQCCIAAIShI1KEIAABCCAgNAHIAABCEAgiAACEoSNShCAAAQggIDQByAAAQhAIIgAAhKEjUoQgAAEIICA0AcgAAEIQCCIAAIShI1KEIAABCCAgNAHIAABCEAgiAACEoSNShCAAAQggIDQByAAAQhAIIgAAhKEjUoQgAAEIICA0AcgAAEIQCCIAAIShI1K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YEDBFAQBINJgKSaOAwGwKGCCAgiQYTAUk0cJgNAUMEEJBEg4mAJBo4zIaAIQIISKLBREASDRxmQ8AQAQQk0WAiIIkGDrMhYIgAApJoMBGQRAOH2RAwRAABSTSYCEiigcNsCBgigIAkGkwEJNHAYTYEDBFAQBINJgKSaOAwGwKGCCAgiQYTAUk0cJgNAUMEEJBEg4mAJBo4zIaAIQIISKLBREASDRxmQ8AQAQQk0WAiIIkGDrMhYIgAApJoMBGQRAOH2RAwRAABSTSYCEiigcNsCBgigIAkGkwEJNHAYTYEDBFAQBINJgKSaOAwGwKGCCAgiQYTAUk0cJgNAUMEEJBEg4mAJBo4zIaAIQIISKLBREASDRxmQ8AQAQQk0WAiIIkGDrMhYIiAZQH5L1KApED1HylfAAAAAElFTkSuQmCC ) [actions] => stdClass Object ( [crop] => stdClass Object ( [x] => 0 [y] => 0 [height] => 400 [width] => 400 [type] => auto ) [size] => ) )

Gostaria de salvar somente o nome do arquivo final e não esse monte de coisa, pois tudo isso está sendo gravado no banco de dados;

Baixar Slim Image Cropper (Pois tem que comprar)
www.twbteam.com.br/slim.rar

LINK DE API JS
http://slimimagecropper.com/#javascript-api

LINK DE API PHP
http://slimimagecropper.com/#php-api

Obrigado
0
 
Mais de 100 postagens
Mais de 100 postagens
Tópico Autor
Mensagens: 448

Re: Problemas com Slim Image Cropper

12-01-2017 05:40

Caso você ache muito complicado resolver o Plugin de cima, tem como me da uma luz de como utilizar este aqui
Demo
https://andyvr.github.io/picEdit/

tentei configura-lo mas não faz upload de jeito nenhum

Download
https://github.com/andyvr/picEdit

obrigado
0
 
Avatar do usuário
ADMIN
ADMIN
Mensagens: 17736
Nome: Kleber
Descrição do site: Onde você encontra scripts grátis para o seu site
Sexo: Masculino
Localização: RJ / RJ / Brasil
Contato:

Re: Problemas com Slim Image Cropper

12-01-2017 12:06

Vou dar uma olhada.
0
A melhor hospedagem para o seu site HostGator!
 
Avatar do usuário
ADMIN
ADMIN
Mensagens: 17736
Nome: Kleber
Descrição do site: Onde você encontra scripts grátis para o seu site
Sexo: Masculino
Localização: RJ / RJ / Brasil
Contato:

Re: Problemas com Slim Image Cropper

12-01-2017 12:14

Tentei o primeiro exemplo e retornou a mensagem:

Back to Slim Product Site
Slim was not used to upload these images.


Tem que configurar algo nele?

Vou testar o segundo.
0
A melhor hospedagem para o seu site HostGator!
 
Avatar do usuário
ADMIN
ADMIN
Mensagens: 17736
Nome: Kleber
Descrição do site: Onde você encontra scripts grátis para o seu site
Sexo: Masculino
Localização: RJ / RJ / Brasil
Contato:

Re: Problemas com Slim Image Cropper

12-01-2017 12:27

O segundo exemplo não achei nenhuma configuração de caminho onde as imagens ficam armazenadas. Nem pasta específica para fotos enviadas tem no script.
Na documentação não fala nada a respeito.
0
A melhor hospedagem para o seu site HostGator!
 
Mais de 100 postagens
Mais de 100 postagens
Tópico Autor
Mensagens: 448

Re: Problemas com Slim Image Cropper

12-01-2017 13:40

O primeiro que está retornando uma base64 enorme tem que configurar algumas coisas sim.
0
 
Avatar do usuário
ADMIN
ADMIN
Mensagens: 17736
Nome: Kleber
Descrição do site: Onde você encontra scripts grátis para o seu site
Sexo: Masculino
Localização: RJ / RJ / Brasil
Contato:

Re: Problemas com Slim Image Cropper

12-01-2017 16:16

Esse primeiro script dá para filtrar os valores para pegar só o name. Mais rodei aqui localmente e não deu nenhum resultado.
0
A melhor hospedagem para o seu site HostGator!
 
Mais de 100 postagens
Mais de 100 postagens
Tópico Autor
Mensagens: 448

Re: Problemas com Slim Image Cropper

13-01-2017 23:07

como faço para pegar só o nome gerado do arquivo após o upload ? obrigado
0
 
Avatar do usuário
ADMIN
ADMIN
Mensagens: 17736
Nome: Kleber
Descrição do site: Onde você encontra scripts grátis para o seu site
Sexo: Masculino
Localização: RJ / RJ / Brasil
Contato:

Re: Problemas com Slim Image Cropper

13-01-2017 23:17

Usei o modelo do link do download e retornou uma mensagem de erro. Posta o exemplo que está testando.
0
A melhor hospedagem para o seu site HostGator!

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado