Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Static images in module?
Previous Previous
 
Next Next
New Post 6/16/2008 3:47 PM
Unresolved
User is offline Gary Ferguson
7 posts
www.fergos.com
10th Ranked


Static images in module? 

I'm writing my first module. I need a couple of small static images on the module face. How should I do that? Can I just put the jpgs somewhere (where?) and use img tags? Or should I put them in the resource file? Does it matter to dnn?

 
New Post 6/16/2008 6:33 PM
User is offline Brandon Haynes
701 posts
brandonhaynes.org
7th Ranked


Re: Static images in module? 

Doesn't matter to DNN.  If the images will need to be customized by installation, you can put them in the DesktopModules/ModuleName directory (or, perhaps less optimally, in the /images directory).

If the images will be customized by portal, then they'll need to be stored in the Portals\[PortalId] directory.

If they will not be customized at all, then, in my opinion, the best way to store them is directly in the assembly as a resource.  This is a great way to serve them, and reduces deployment complexity.

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Static images in module?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com
Smart-Thinker
DNN Modules for Social Networks for as low as $69 for 6 modules! We also maintain the DotNetNuke Directory - http://DNNDir.com
www.smart-thinker.com
DNN Photo Gallery
Complete Photo Gallery Management!
www.dnnPhotoGallery.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP