Hi
 
Just reviewing the code and looking at the list of related items where the image item is placed in the dropdown box, the #relateditems# or #output.aObjectIds# only has one value, the uid of the image to be inserted.  Should this have more values like location of the image etc.
 
<select >    <option value="">--- insert image ---</option></cfoutput>
    
    <cfloop list="#relatedItems#" index="id">
     <!--- get object details --->
     <q4:contentobjectget objectid="#id#" r_stobject="stImages">
     <!--- check objectype is an image and path exists --->
     <cfif stImages.typeName eq "dmImage">
      <cfif stImages.imagefile neq "">
       <!--- check if hi res image exists --->
       <cfif stImages.optimisedimage neq "">
        <!--- display normal image with link to high res image in new window --->
        <cfoutput><option value="&lt;a href='' target='_blank'&gt;&lt;img src='' border=0 alt='#stImages.alt#'&gt;&lt;/a&gt;">#stImages.title#</option></cfoutput>
       <cfelse>
        <!--- display normal image --->
        <cfoutput><option value="&lt;img src='' border=0 alt='#stImages.alt#'&gt;">#stImages.title#</option></cfoutput>
       </cfif>
      </cfif>
     </cfif>
    </cfloop>
  <cfoutput> </select>

 
On 8/18/05, M Wheeler <[EMAIL PROTECTED]> wrote:
No base url is fine, cant seem to solve this one.

On 8/16/05, M Wheeler <[EMAIL PROTECTED]> wrote:
Thanks Andrew

On 8/16/05, Andrew Mercer <[EMAIL PROTECTED] > wrote:
have a look at the baseURL setting in soEditor config

On 8/16/05, M Wheeler <[EMAIL PROTECTED] > wrote:
Hi
 
This may very well be the wrong forum, tell me to get out if so, but in the farcry admin when I have a page creation type that uses SoEditor Lite 2.5, part of this process uploads images for use in the html editor, using the ---insert image--- facility.  The dropdown is populated but when selecting the image the gif does not get inserted into the html window, has anyone come across this.  I can preview the image so the image upload does appear to be working correctly.
FarCry: b220
FourQ: b122
 
Thanks
Mark
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

--- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to