Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Scale Image on IE7Scale Image on IE7
Previous
 
Next
New Post
10/24/2012 4:42 AM
 

I notice that the process image scaling don't work on IE7. For example if insert an large image for my profile avatar, in IE 9 i see that in html generation there are width and height in img tag. This process don't appare in IE7 and i see the image in full size.

I notice this in the journal module too and Forum module.

I using DNN 6.2.3

Everyone help me?

Thank.


 
New Post
10/24/2012 5:12 AM
 
It shouldn't be using scaling (where you set a width/height that is lesser than the actual image on the server and let the browser handle it) but using a thumbnail generator to dynamically resize the image before serving, e.g.

http://www.dotnetnuke.com/profilepic....

I'll have to a find computer with IE7 on to test with.

Scott McCulloch
Developer, F5 Networks
Owner, Ventrian DotNetNuke Modules
 
New Post
10/24/2012 5:43 AM
 
The problem was created because I have created a theme for DotNetNuke with artisteer 4 and I noticed that the file is script.responsive.js this function:
function responsiveImages (responsiveDesign) {
     'use strict';
     jQuery ("img [width].") each (function () {
         var img = jQuery (this), newwidth = "", newMaxWidth = "", newHeight = "";
         if (responsiveDesign.isResponsive) {
             est');
             newwidth = "auto";
             newHeight = "auto";
             newMaxWidth = "100%";

             var = widthAttr img.attr ("width");
             if (widthAttr! == null && typeof (widthAttr) === "string" && widthAttr.indexOf ("%") === -1) {
                 newwidth = "100%";
                 newMaxWidth = parseInt (jQuery.trim (widthAttr), 10) + "px";
             }
         }
         img.css ("width", newwidth.) css ("max-width", newMaxWidth.) css ("height", newHeight);
     });
}
This feature in IE7 cancels the normal resize all images in DotNetNuke I added on top of the function: if (jQuery.browser.msie jQuery.browser.version && <= 8) return; to maintain compatibility in IE7.
I hope this is helpful to others who use Artisteer to create themes in dotnetnuke.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Scale Image on IE7Scale Image on IE7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out