Forums Community

These forums are dedicated to the discussion of our DotNetNuke products, such as Ultimate DNN Blog Module - SunBlogNuke & GalleryPlus.

HomeHomeUltimate DNN Bl...Ultimate DNN Bl...Support IssuesSupport IssuesContent Slider ThumbnailsContent Slider Thumbnails
Previous
 
Next
New Post
5/27/2012 6:45 AM
 
In the content slider module module, I'm displaying thumbnails using [THUMBNAIL] in the Item Template.  When a post does not have a thumbnail, I get the little square with an x on the browser (image not found).  Is there anyway to check a thumbnail exists in the template before inserting it.
 
New Post
5/27/2012 7:01 AM
 
The simple way is to set the default thumbnail in the blog settings to show in case you not specify the thumbnail in any post. Hope it helps.

Ultimate DNN Blog Module - SunBlogNuke
 
New Post
5/27/2012 7:41 AM
 

Thanks for the quick reply.  In the end I'm using

onerror="this.style.display='none'"

to not display missing thumbnails.

 
Previous
 
Next
HomeHomeUltimate DNN Bl...Ultimate DNN Bl...Support IssuesSupport IssuesContent Slider ThumbnailsContent Slider Thumbnails


Forum Guidline

For the benefit of the community and to keep information here helpful to everyone who visits, please observe the following posting guidelines:

  • If you are reporting a bug and strange issue please tell us which version of DNN and SunBlogNuke and share some event logs from "Admin/Event Viewer".
  • Site Moderators have the final word on approving/removing a thread or post or comment.
  • English language posting only, please.