2010-09-08 17 views
5

क्या कोई यहां http://finnrudolph.de/ImageFlow/ के साथ काम करता है, यह मेरी छवियों का आकार बदलता है, और मैं उन्हें बड़ा दिखाना चाहता हूं, मैंने सेटिंग्स के साथ खेला है ... लेकिन .... तो क्या कोई मेरी मदद कर सकता है? मैं चाहता हूं कि छवियों को मूल चौड़ाई और ऊंचाई के 80-90% पर प्रदर्शित किया जाएImageFlow डिफ़ॉल्ट चौड़ाई ऊंचाई प्रदर्शित करें

उत्तर

0

क्या आपने छवियों की सेटिंग की कोशिश की है? आपके मामले में:

var imgFlow = new ImageFlow(); 
imgFlow.init({ImageFlowID: 'your-flow-id-goes-here', aspectRatio: 1.0, imagesM: 0.8 

कि काम हो सकता है।

+0

Nop, काम नहीं करता है – Uffo

2

प्रयास करें बढ़ती निम्नलिखित गुण का मान:

Name    Default value Purpose 
--------   ------------- ------- 
imageFocusM  1.0    Percent size of image in focus (1.0 = 100%) 
imagesHeight  0.67   Percent height of main div container (.67 = 67%) 
imagesM   1.0    Percent size of all images (not just in focus image) 
percentLandscape 118    Scale of landscape images 
percentOther  100    Scale of portrait or square images 

प्रयास करें:

  1. imageFocusM = 1.8
  2. imagesHeight = 1.2
  3. imagesM = 1,8

इसके अलावा, बहुत महत्वपूर्ण, ऊंचाई के बारे में भूल नहीं है और चौड़ाई img पर जिम्मेदार बताते हैं:

<img src="images/image1.jpg" width="400" height="275" alt="Image 1" />

0

मैं इसे का उपयोग किया है एक बार पहले और मैं तुम्हें "aspectRatio" समायोजित करने की आवश्यकता लगता है । यह 1.964 को डिफ़ॉल्ट रूप से बदलने का प्रयास करें और देखें कि आपको क्या परिणाम मिलते हैं।

0

इस प्रयास करें,

$(window).load(function(){ 
    var reflection_2 = new ImageFlow(); 
    reflection_2.init({ 
      ImageFlowID: 'reflection_2', 
      imageCursor: 'pointer', 
      circular: true, 
      reflections: false, 
      buttons: true 
    }); 
}); 

विंडो लोड करने के बाद अपने ImageFlow प्लगइन लोड

संबंधित मुद्दे