Check this out...  Put the following code in your dmImage directory 
under your project folder:  The filename has to start with "InsertHTML_" 
so this one is called InsertHTML_virtualTourImageLink.cfm

<!--- @@displayname: Virtual Tour Popup Link --->
<!--- @@author: Jake Churchill --->

<cfoutput>
<a 
onclick="javascript:window.open('#application.url.conjurer#?objectid=#application.navid.virtual_tours#',
 
'virtual_tour', 
'status=0,toolbar=0,menubar=0,resizable=0,scrollbars=0,height=490,width=530')"><img
 
src="#application.url.webroot#/images/#stObj.imageFile#"></a>
</cfoutput>

Notice the @@displayname:  in the comments at the top.  This will 
display directly under the images select box.  You can create multiple 
versions of these.  This one pops open a new window with javascript and 
uses the original image in the image tag.

If you create multiples of these, just name them differently and select 
it when you do "insert into Body"  I use this all the time and it really 
seems to help.  You can also do these in the dmFile directory.  .

There will be a "default" in the directory which will insert what Jeff 
previously told you to change.  His change will affect everything, but I 
find that sometimes it's nice to have a thumbnail there and other 
options as well.  No offense to Jeff whatsoever by my suggesting 
something different.  Just pointing out what I use.

Good Luck.

-Jake

Jeff Coughlin wrote:
> Baz,
>
>   
>> Using the TinyMCE editor (or any other editor that comes with
>> Farcry 3-0-1 for that matter), is there an easy workaround so
>> that when one wants to insert an image from the library, it
>> inserts the hi-res/larger version rather than the thumbnail ?.
>> Seems strange that the editor keeps inserting thumbnails as an
>> out-of-the-box feature.
>>     
>
> Yes.
>
> Go into the FarCry webtop.  Admin - General - Config Files - Image
>
> Change the value for "InsertHTML" from:
>
> <a href='*imagefile*' target='_blank'><img src='*thumbnail*' border=0
> alt='*alt*'></a>
>
> To:
>
> <img src='*imagefile*' alt='*alt*' />
>
> Or however you'd like the HTML to look.  The key value being *imagefile*
>  
> ---
> Jeff Coughlin
> Web Application Developer
> http://www.jeffcoughlin.com
>
>
> >
>
>   

-- 
Jake Churchill
CF Webtools
11204 Davenport, Ste. 200b
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103



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