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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Static images in module?
Previous Previous
 
Next Next
New Post 6/16/2008 2: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 5:33 PM
User is offline Brandon Haynes
536 posts
everysport.net
8th 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.

 


Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com

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