Giter Club home page Giter Club logo

Comments (17)

carlosequiz avatar carlosequiz commented on July 19, 2024

Hi! Your problem it's related to your Bootstrap version.
Check 1.0 branch.

from comurimagebundle.

carlosequiz avatar carlosequiz commented on July 19, 2024

You can see:
https://github.com/comur/ComurImageBundle/blob/master/Resources/views/Form/croppable_image_modal.html.twig#L32

and

https://github.com/comur/ComurImageBundle/blob/1.0/Resources/views/Form/croppable_image_modal.html.twig#L32

Hope this helps!

from comurimagebundle.

comur avatar comur commented on July 19, 2024

Hi @Mehrdad69
Was it just bootstrap version or other issue ?

Thanks

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

hi crustafari!!!
tank u for help.
you can send example for me?
[email protected]
or record video totourial and upload in host
and download it form host

from comurimagebundle.

comur avatar comur commented on July 19, 2024

@Mehrdad69 i copy paste your last message here to not make same effort multiple times:

after do app/console assets:install --symlink web


  [Symfony\Component\Filesystem\Exception\IOException]                         
  Unable to create symlink due to error code 1314: 'A required privilege is n  
  ot held by the client'. Do you have the required Administrator-rights?       

assets:install [--symlink] [--relative] [target]

but after do app/console assets:install
css,js,font,img add in web/bundles/comurimage


tow script add in base.html.twig?in javascripts block?????
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', {"callback": "fos.Router.setData"}) }}"></script>
tank you for help me

I think you have to recreate your template properly. First of all, i suggest you to read about twig block to understand how to use them and why use them.

Then check in your inspector, i'm pretty sure that you have some missing files or javascript errors.

It's better to write here (and not by email) to keep a trace for other who may have same question.

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

I really do not know how to thank you. to send me a sample project?

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

it is true?
"uploadUrl":"H:\workspace\modal\src\Mehr\SliderBundle\Entity/../../../../../web/bundles/uploads/myentity/gallery",
\ 2 slash?

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

in page source i see
"uploadUrl":"H:\workspace\modal\src\Mehr\SliderBundle\Entity/../../../../../web/bundles/uploads/myentity/gallery",
"webDir":"bundles/uploads/myentity/gallery",

from comurimagebundle.

comur avatar comur commented on July 19, 2024

If you look at your inspector when you try to use the modal, you can see if there is an error or not with this code. Can you check and tell me if you have an error please ?

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

show this error
SyntaxError: JSON.parse: bad escaped character at line 1 column 67 of the JSON data

...function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typ...

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

how to resolve this problem?

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

hi
after click on add image two error show

TypeError: $(...).sortable is not a function

$( "#gallery_preview_mehr_sliderbundle_ex_gallery_gallery" ).sortable({

new (line 141)
2
SyntaxError: JSON.parse: bad escaped character at line 1 column 67 of
the JSON data

...function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typ...

how to resolve it?

On 11/25/2014 6:37 PM, Can OMUR wrote:

If you look at your inspector when you try to use the modal, you can
see if there is an error or not with this code. Can you check and tell
me if you have an error please ?


Reply to this email directly or view it on GitHub
#26 (comment).

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

tank u all.i solved this problem.
this was th error
in form type after load new action upload directory and web directory loader with // and address faild

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

bad news.
in form type i force use direct link
uploadUrl' => 'bundles/mehrslider/upload',// required
'webDir' =>'bundles/mehrslider/upload',
and after use $myentity->getUploadRootDir() modal not open becuse this address is invalid

from comurimagebundle.

comur avatar comur commented on July 19, 2024

So please reread ReadMe, you didn't follow all steps
https://github.com/comur/ComurImageBundle#usage

from comurimagebundle.

comur avatar comur commented on July 19, 2024

If you are testing on windows, try to use this PR: #21
Didn't have time to merge it yet, there is a fix for windows routes
you webdir must not point on bundles directory but your upload directory

from comurimagebundle.

developeremi avatar developeremi commented on July 19, 2024

i use direct url
but jcrop in firefox not working
in google chorm work currently
by dir rtl.
in firefox work with dir ltr

from comurimagebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.