On Aug 28, 1:55 pm, "Kay Smoljak" <[EMAIL PROTECTED]> wrote: > On Tue, Aug 26, 2008 at 1:12 PM, Jeff Coughlin <[EMAIL PROTECTED]> wrote: > > Instead you need to just extend dmImage and change the metadata that way. > > Easy as pie. > > Following FC3 instructions from here > (http://docs.farcrycms.org/display/FCDEV30/Extended+Content+Types), I > have created a dmImage.cfc file in the /packages/types/ directory, > extending farcry.farcry_core.packages.types.dmImage and with a single > cfproperty tag (a copy of the StandardImage cfproperty from the core > dmImage, with the ftImageHeight parameter set to an empty string). > > It's uploaded, I reload the app, but in the COAPI management tab I > don't get an option to deploy my extension. > > Is there something I'm doing wrong or something that has changed in FC4?
If the name of your property is the same it will simply override the metadata associated with that property. ie. no schema change. This is automatic on application refresh. With respect to changing the height though.. this is really only a restriction.. the image itself should not be resized to a height of 1000px, only restricted to those dimensions. ie if you upload an image that is larger it will resize it otherwise it will leave it alone. On some environments the base Java class file will skew your image -- if this is your issue, the answer is to use one of the image extension plugins that give you much better automated resizing options. Plugins: http://docs.farcrycms.org/display/FCPLUG/FarCry+CFXImage (windows only) http://docs.farcrycms.org/display/FCPLUG/FarCry+CFImage (cf8 only) Hope that helps, -- geoff http://www.daemon.com.au/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
