Comments (17)
Hi! Your problem it's related to your Bootstrap version.
Check 1.0 branch.
from comurimagebundle.
You can see:
https://github.com/comur/ComurImageBundle/blob/master/Resources/views/Form/croppable_image_modal.html.twig#L32
and
Hope this helps!
from comurimagebundle.
Hi @Mehrdad69
Was it just bootstrap version or other issue ?
Thanks
from comurimagebundle.
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.
@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.
I really do not know how to thank you. to send me a sample project?
from comurimagebundle.
it is true?
"uploadUrl":"H:\workspace\modal\src\Mehr\SliderBundle\Entity/../../../../../web/bundles/uploads/myentity/gallery",
\ 2 slash?
from comurimagebundle.
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.
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.
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.
how to resolve this problem?
from comurimagebundle.
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.
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.
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.
So please reread ReadMe, you didn't follow all steps
https://github.com/comur/ComurImageBundle#usage
from comurimagebundle.
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.
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)
- Remove dependency on dev/master of jms/translation-bundle HOT 1
- JSON Parse Symfony 3 HOT 1
- Does the bundle support ajax? drag and drop feature?
- Unexpected token U in JSON at position 66 HOT 1
- data.result.image_upload_file is undefined in comur.imagelibrary.js:67:1 HOT 1
- How to upload a simple Image widget with ComurImageBundle? HOT 1
- unable to upload on php7.1 due to notice HOT 3
- Support of Symfony 4.0 HOT 3
- how upload image to database any help please!! HOT 1
- Nothing happens when selecting an image HOT 1
- Can we have a new release? HOT 1
- Add alt text for image
- Symfony flex support HOT 3
- Support Symfony 5.x HOT 13
- Remove dependency on jms/translation-bundle
- Remove dependency on deprecated module twig/extensions
- composer command not installing ComurImageBundle HOT 1
- Any plans to keep updating?
- conflict with requirements symfony form (composer) HOT 1
- Amélioration du module HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comurimagebundle.