Skip Navigation Links » Forums » Jiffycms HTML Editor V1.x » General-Questions » Re-Missing-Thumbnails
  • List of posts 
    Missing Thumbnails
    Missing Thumbnails
    Not top poster.
    Joined on 04 Nov 2009
    Total posts: 34
    Reply

    Hello,

    When using the Embedded Image Picker inside an editor control, the image preview thumbnails fail to load (showing "Error 404" image). However, the path to each image file is correct (as proven by inserting the selected image into the editor). Any ideas what might be causing this?

    Re: Missing Thumbnails
    Not top poster.
    Joined on 04 Nov 2009
    Total posts: 34
    Reply
    The thumbnails fail to appear when hosted on Windows Server 2008, but are readily visible when running off of an XP installation (several different machines have been tried). Do you think a security setting or server configuration might be interfering with AJAX operations?
    Re: Missing Thumbnails
    Forum moderator
    Not top poster.
    Joined on 06 Jan 2009
    Total posts: 210
    Reply

    Actually the preview is not the same thing as the Image you see in the HTML Editor at designtime. The designtime image is the original image, while what you see in the preview is a realtime preview of the image (resized to proportion). This is done by a custom thumbnail generator handler and I utilize the Bitmap graphics object to do this. It's possible that the code fails on your environment or setup somehow.

    I'll look into alternate routes to make that bit of the code even more robust. It is likely the code is failing and your not seeing the original error because I have instructed the editor to display a generic thumbnail in case there is an error Smiley

    Try clicking on one of the links in the treeview (Image browser) and use firebug ( a firefox addin) to see what the original request url is. Something like the following :

    http://www.jiffycms.net/demo/jiffycms.axd?d=thumbnailgenerator&t=633993998500012917&width=100&height=100&imgurl=/demo/Gallery/Greece/P1030281.jpg

    The above url is request to one of the thumbnails in the online demo section on this site. You should get a similar url. Request it in your browser directly by placing it in the browser address bar. If everything works, you will see the requested stream (raw data) output, otherwise you will see the original error message. Paste this error message here in full.

    This will help me greatly in getting to the source of the problem. Or if it's a problem in  your setup, this should help you diagnose.

    Have a good weekend,




    Alessandro Zifiglio
    Jiffycms.net
    We are now on twitter! Follow us for the latest.
    Re: Missing Thumbnails
    Not top poster.
    Joined on 04 Nov 2009
    Total posts: 34
    Reply
    The error is occurring at run-time. I've already attempted to access the thumbnail directly using the URL gleaned from Firebug, however the result was a blank page. No content, and no source. The image path that it is selecting is correct, however I am receiving no feedback from the control. Other functions called through jiffycms.axd are functional, only the "thumbnailgenerator" appears to be malfunctioning.