So, the shared host is providing the core, or do you have multiple sites
sharing the core?

I think you would need to reload the application to pick up on the extended
property.  Did you try that or are you unable to that as well?

I am looking into the use of CF8's image manipulation tags as well.  I don't
think I have seen a way to 'pad' the images, but you wouldn't have to since
the images wouldn't need to fit into a predefined image size.

Pete

On Sun, Oct 26, 2008 at 8:47 AM, Kay Smoljak <[EMAIL PROTECTED]> wrote:

> Hey Pete,
> I'm actually on shared hosting, so I can't modify the core files.
>
> I did try extending the dmImage object to change this property, but it
> wouldn't "take". As I'm now using the CFImage plugin to replace the built in
> resizing with CF8's resizing, I'm not sure if this would apply anyway.
>
> Cheers,
> K.
>
>
> On Sun, Oct 26, 2008 at 9:18 PM, Pete Kucera <[EMAIL PROTECTED]> wrote:
>
>> Kay,
>> I'm not sure if this is the same in FC 4, but it's a start.
>>
>> If you can locate the cfproperty tag for the thumbnail image (in FC 5,
>> it's in core/packages/types/dmImage) you can set the pad color by changing
>> the color in ftPadColor.  See property below.
>>
>> <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/dmImage/ThumbnailImage" ftImageWidth="150"
>> ftImageHeight="150" ftAutoGenerateType="Pad" 
>> *ftPadColor="##ffffff"*ftSourceField="SourceImage" 
>> ftCreateFromSourceDefault="true"
>> ftAllowUpload="true" ftlabel="Thumbnail Image" />
>>
>> I know you have read Daemon's position on modifying directly in the core,
>> but I agree with you on this small attribute.  Keep a log of small changes
>> you'll have to make when you upgrade core's.
>>
>> Good Luck!
>>
>> Pete Kucera
>>
>>   On Sun, Oct 26, 2008 at 1:16 AM, Kay Smoljak <[EMAIL PROTECTED]>wrote:
>>
>>>  I'm using Jeff's excellent CFImage plugin for FarCRy 4.0.11 (so,
>>> version 1.0 of the plugin).
>>> I have a simple requirement on one particular site: when FarCry generates
>>> thumbnails, it pads them with a white background. On this site, I need them
>>> padded with black.
>>>
>>> I'm looking through the documentation and I think I can do it by
>>> extending the plugin, but that seems like a bit of overkill to change one
>>> parameter. Also, as I'm on shared hosting, installing any additional plugins
>>> is a PITA (CFImage is already installed).
>>>
>>>  Can anyone tell me the simplest possible way to change the thumbnail
>>> padding colour?
>>>
>>> Cheers!
>>>
>>> --
>>> Kay Smoljak
>>> business: www.cleverstarfish.com
>>> coldfusion: kay.smoljak.com
>>> personal: enterthegoatlady.com | heapsbad.com
>>>
>>>
>
>
> --
> Kay Smoljak
> business: www.cleverstarfish.com
> coldfusion: kay.smoljak.com
> personal: enterthegoatlady.com | heapsbad.com
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to