I like this image gallery http://www.outcut.de/MooFlow/example-fullsize-viewer.html But its too large to use for me, can we make the gallery (the container) smaller to fit in the my required size, around 50% of current width and height... Any body have any idea?
w/o dwelling too much on it - it seems that it uses a semantic approach: <div id="MooFlow"> <a href="http://www.apple.de" rel="link"><img src="img/applelogo.jpg" title="Apple Deutschland" alt="Visit www.apple.de" /></a> <a href="http://www.apple.com" rel="link"><img src="img/shinny-logo.jpg" title="Apple US" alt="Visit www.apple.com" /></a> <a href="img/big/macbook_pro2.jpg" rel="image"><img src="img/macbook_pro2.jpg" title="MacBook Pro" alt="Pure Schönheit. Pure Leistung." /></a> <a href="img/big/macpro.jpg" rel="image"><img src="img/macpro.jpg" title="Mac Pro" alt="Der neue 8-Core Standard." /></a> <a href="img/big/macbook_air.jpg" rel="image"><img src="img/macbook_air.jpg" title="MacBook Air" alt="Das dünnste Notebook der Welt." /></a> </div> HTML: this is your setup therefore it must auto-adjust to work within the assigned container. var myMooFlowPage = { start: function(){ /* MooFlow instance with the complete UI and Viewer */ var mf = new MooFlow($('MooFlow'), { useSlider: true, useAutoPlay: true, useCaption: true, useResize: true, useMouseWheel: true, useKeyInput: true, useViewer: true }); mf.attachViewer(); $$('.loadremote').addEvent('click', function(){ mf.loadHTML(this.get('href'), this.get('rel')); return false; }); } }; window.addEvent('domready', myMooFlowPage.start); PHP: so basically - it runs within the layer defined above which seems to take its width from #content to 700px. you should try at first to define width and height for either the $('MooFlow') (#MooFlow div) or the #container or your own equivalent. failing that... then yes, you'd actually have to look at the guy's code and see how you get on. from what i remember last time that i did that, it was really well written and well organised into classes and methods, so you ought to be able to find your way around pretty easily. ping me if you need help - i may have some spare time
I've changed the width of container from css earlier, helped me to nicely reduce the width and from MooFlow.js, I changed the hieghtRatio, which controls the hieght. But the problem remained is the inside of the box content is at the same place, that is not reducing its size. So after a bit of change, of a number after "bottom" in the MooFlow.js, this lead the players control to get down a bit. Looking better now but still it seems tight so I may contact you soon..... but thanks a ton for coming forward to ask for help...
Hi Dimitar... I now need your help, complete site is ready and coded. Everything works fine, but this gallery is creating so much issues. Please let me know if there is any one who can resize this gallery in my website box and still work perfectly. Please let me know, thanks!
I'm having similar problems, images are resized bigger that the real size, for exsample image that has height 250 pixels is more like 350 height in the carousel. How could I change the code so it wouldn't resize image's up, only down(as they go around). There's a alternative function to set up in the code variables (useResize: false,) but it's not working. You can find the code from here: http://www.outcut.de/MooFlow/example-ajax.html Thanks in advance.
Oh, stupid me after having little fight with the code I managed to do this, by setting the variable "zoom" to 100, of god it was hard...
search for this code in MooFlow.js div.setStyle('top', round(oW * 0.4 - H) + 'px'); and change the variant 0.4 to 0.3 you are done