projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upload media in separate directory.
[gpl/argeo-suite.git]
/
publishing
/
org.argeo.publishing.ui
/
src
/
org
/
argeo
/
cms
/
text
/
CmsTextImageManager.java
diff --git
a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/CmsTextImageManager.java
b/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/CmsTextImageManager.java
index 9f94a6a899a2f2a6f3bf39f0e99261dad665b09b..865c2ce50da0508e9ef51ab192c689c7a4fb8056 100644
(file)
--- a/
publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/CmsTextImageManager.java
+++ b/
publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/CmsTextImageManager.java
@@
-33,7
+33,9
@@
public class CmsTextImageManager extends DefaultImageManager {
}
@Override
}
@Override
- protected void processNewImageFile(Node fileNode, ImageData id) throws RepositoryException, IOException {
+ protected void processNewImageFile(Node context,
+ Node fileNode, ImageData id)
+ throws RepositoryException, IOException {
fileNode.addMixin(CmsTypes.CMS_IMAGE);
fileNode.setProperty(CmsNames.CMS_IMAGE_WIDTH, id.width);
fileNode.setProperty(CmsNames.CMS_IMAGE_HEIGHT, id.height);
fileNode.addMixin(CmsTypes.CMS_IMAGE);
fileNode.setProperty(CmsNames.CMS_IMAGE_WIDTH, id.width);
fileNode.setProperty(CmsNames.CMS_IMAGE_HEIGHT, id.height);