Hi,I have defined a custom image set i.e. CustomImageSet with 5-6 variant in it. I have uploaded few images after that and found that all image variants has been created automatically. Now i have added 2 more variants to my imageset but when i checked my image it shows blank content for the new variants. Is there a way i can create the new variants for my already existing images.
--ThanksBhupendra Singh
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
On Wed, Jul 19, 2017 at 4:39 AM, <singh.bh...@gmail.com> wrote:Hi,I have defined a custom image set i.e. CustomImageSet with 5-6 variant in it. I have uploaded few images after that and found that all image variants has been created automatically. Now i have added 2 more variants to my imageset but when i checked my image it shows blank content for the new variants. Is there a way i can create the new variants for my already existing images.If you can write a groovy script or java code which is iterating all those existing image sets, then you might want to use the techniques shown in the following page:You can create new variant images into temporary files and update those variant node with those.It's slightly a different use case, but you might want to take a look at the example here, too (content-exim uses gallery-magick component internally as well):Regards,Woonsan
ThanksBhupendra Singh
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Woonsan,I am trying to do something similar and found this thread. I tried the approach using org.onehippo.forge.gallerymagick.core.command.ScalrProcessorUtils from Groovy, but get a security exception: "Caused by: java.lang.SecurityException: Importing [java.io.File] is not allowed"
It appears all the Hippo utilities take java.io.File and never inputstreams. I can get an inputstream from the imagegallery node's jcr:data property but can't use GroovyUpdaterEditor to create a file with it to use these utilities. Any chance there might be underlying methods that use an inputstream and return an outputstream that can be placed back on a jcr:data property?
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
Brian Snijders
Consultant online
t: +31102020544
m: +31645540083
w: www.incentro.com