First, Christmas wishes to all! Second, im trying to extend dmImage.cfc so that it over-rides the standard image size on uploaded images.
So, here a snippet of what I have at the top of dmImage.cfc which resides at: /Farcry/projects/testsite/packages/types <cfcomponent extends="types" displayname="Image" hint="Image Media" bUseInTree="1"> <!--- image file locations ---> <cfproperty ftSeq="22" ftFieldset="Image Files" name="SourceImage" type="string" hint="The URL location of the uploaded image" required="No" default="" ftType="Image" ftCreateFromSourceOption="false" ftDestination="/images/SourceImage" ftlabel="Source Image" ftImageWidth="338" ftImageHeight="338" /> <cfproperty ftSeq="24" ftFieldset="Image Files" name="StandardImage" type="string" hint="The URL location of the optimised uploaded image that should be used for general display" required="no" default="" ftType="Image" ftDestination="/images/StandardImage" ftImageWidth="338" ftImageHeight="338" ftAutoGenerateType="FitInside" ftSourceField="SourceImage" ftCreateFromSourceDefault="true" ftAllowUpload="true" ftlabel="Mid Size Image" /> <cfproperty ftSeq="26" ftFieldset="Image Files" name="ThumbnailImage" type="string" hint="The URL location of the thumnail of the uploaded image that should be used in " required="no" default="" ftType="Image" ftDestination="/images/ThumbnailImage" ftImageWidth="338" ftImageHeight="338" ftAutoGenerateType="Pad" ftPadColor="##ffffff" ftSourceField="SourceImage" ftCreateFromSourceDefault="true" ftAllowUpload="true" ftlabel="Thumbnail Image" /> As you can see, im trying to have it so that each image size (source/ standard/thumb) are the same, 338 pixels wide x 338 pixesl height Within admin/config files/image I have set all the imageheight, imagewidth, standardimageheight, standardimagewidth, thumbnailheight, thumbnailimageheight, thumbnailimagewidth, thumbnailwidth to blank ran updateapp=1 a couple of times, but still, when I got to upload a new image via the media image library, it is showing Source Image (FitInside) Mid Size Image: width: 250 FitInside Thumbnail Image: Width: 125 Padding image with #ffffff How can I customise the image upload library so that it shows 338 pixels width for each of the above ? Any info much appreciated -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
