Comments (2)
This doesn't make sense because this property comes directly from the component settings
$this->imageWidth = $this->property('imageWidth');
$this->imageHeight = $this->property('imageHeight');
Maybe there is something wrong with the component configuration, can you paste your theme template file?
from uploader-plugin.
This is my template code:
[session]
security = "user"
redirect = "login"
[myAccount]
page = "{{ :page }}"
[imageUploader]
placeholderText = "Click or drag images to upload"
maxSize = 1
fileTypes = ".gif,.jpg,.jpeg,.png"
imageWidth = 300
imageHeight = 300
imageMode = "crop"
==
<?php
function onInit()
{
........
}
?>
==
<div class="container">
<!-- Row -->
<div class="row">
<!-- Column -->
<div class="col-xl-3>
{% component 'imageUploader' %}
</div>
<!-- Column -->
<!-- Column -->
<div class="col-lg-8>
</div>
<!-- Column -->
</div>
<!-- Row -->
</div>
On frontend i get the default values (100x100):
from uploader-plugin.
Related Issues (20)
- Uploader button not working HOT 4
- $(...).render is not a function at uploader.js HOT 10
- [Question] Uploading under same-site subdomain HOT 2
- Trouble in implementing in custom plugin
- Multiple instances of Plugin not working. HOT 7
- Validation Extension and Max Size Issue attaching from component HOT 2
- Asset combining not working for addCss and addJs using arrays HOT 5
- files not found HOT 1
- Codeception confused trying to submit the form with uploader HOT 3
- Reorder multiple files?
- using two image-uploaders on single page has issues HOT 1
- sometimes|nullable HOT 2
- Passing additional uploaderOptions to DropZone HOT 6
- chunking with S3
- Files not sorting HOT 1
- imageUploader and fileUploader in the same page not working HOT 3
- IOS "File Missing from request" Error HOT 6
- TypeError: undefined is not an object (evaluating '$.fn') HOT 1
- Vanilla JS / Remove jQuery Dependency HOT 1
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 uploader-plugin.