Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Importing from mediabin with automated resizing
Nexus
All,
We are using teamsite 6.7.1 on windows 2003 and lates mediabin version .
We successfully import images from mediabin to formpublisher but i'm wondering how i could manage following requirement :
images with a width > 500 pixels should be resized when imported and not if width <= 500 pixels.
taks, primitives interacting with ecm ..: is that possible..?
any insights are welcome
thanks
N
Find more posts tagged with
Comments
lyman
Yes, it is possible. It relies on an undocumented feature of the Image Sizer primitive. Here is an excerpt from the system task run on image insert:
{82637480-F111-11d2-8181-00104B2A9F09}
{04D3C0C0-5597-11d3-81E2-00104B2A9F09}
1.0
0
0
512.
512.
3
0.
0
true
{06A9DAF0-616D-11d3-81F2-00104B2A9F09}
1.0
true
If you change the 512,512 to 500,500 (or any other desired size) and leave everything else intact (!), you can cut and paste this into an XML-exported task and then reimport the task to the server.
What you described is the logic the server uses when producing previews (i.e., the preview image is never larger than the original but it may be smaller).
Cheers,
Lyman Hurd
lyman
Oops. The forum ate my XML. Trying an attachment instead...
Cheers,
Lyman Hurd