Giter VIP home page Giter VIP logo

maximage's People

Contributors

akv2 avatar alancwoo avatar amclin avatar dramalho avatar gon1387 avatar rafd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maximage's Issues

Overriden default settings

The line 73 in jquery.maximage.js has an issue.

if (typeof settings == 'object' || settings === undefined) config = $.extend( $.fn.maximage.defaults, settings || {} );

It's supposed to be:

if (typeof settings == 'object' || settings === undefined) config = $.extend({}, $.fn.maximage.defaults, settings || {} );

because according to the jQuery docs http://api.jquery.com/jquery.extend/ the first parameter gets to be modified.

Multiple slideshows on the same page but displayed separately

First of all, great plugin!

I worked with it for some days till I took notice that you can't have two divs with a ".slideshow" class activated by maximage on the same page.
I would like to have multiple slideshows but always displayed separately.
They are non-displayed until they are shown.
Only the first one works…

Is there a way to make them all work?

Slider Iteration Timing Is Not Working Correctly

I have found it is impossible to get 10-second iterations between slides, speed is set to 3751 and its 2 seconds too long, I do 3750 and its 2 seconds too short, I do 3750.5 and it's still 2 seconds too long, I have even tried 3750.1 and it still 2 seconds too long.

Images showing before Javascript is loaded?

Hi,

first of all thanks for your great plugin!

I have an issue during loading the site. Unfortunately the Images already appear one second before the slideshow is shown.I guess it´s because the imgs are already there before the javascript files are loaded, which are nesting the images inside the maximage structure....? Is there a way to avoid this? Im using your plugin inside a wordpress, see link below. Help is much appreciated!

http://bao-nghi.com/site/the-cart/

Regards
Phil

setTimeout errors in firefox

I got some console errors in firefox when using maximage along with jquery cycle. And maximage would only apply to the first element of the cycle.

Error Message:

useless setTimeout call (missing quotes around argument?)

I fixed it with this change on line 622:

  •                                                   to = setTimeout( Adjust[settings]($self), 200 );
    
  •                                                   to = setTimeout(function(){Adjust[settings]($self);}, 200 );
    

Utils.sizes().h doesnt work anymore

Hey mate, the maximage implementation I did suddenly stopped working and the issue I found was with the Utils.sizes().h not giving a value when it was set in the data of the $.Window variable.

Any clues why that is happening? And also the possible reason of using the Utils.sizes().h instead of $(window).height() etc?

Cheers!

Single image won't show up in IE8

Took me a while to figure out the problem. But if there is one single image in #maximage then the javascript will throw up an error and won't work.

Is there a bug fix planned?

Issues with Images wrapped in <a> tags?

Hi,
MaxImage is great but is there any way to have it work with images wrapped in links? I need to wrap my images in links so they can go somewhere as well as have tooltips connected to them via the jquery tooltip plugin.

Currently, if I wrap the image in a link, each link takes up its own slide in the cycle somehow?

How to stop reloading of slide content

Hi, great plugin!

I am using it for a video background slideshow and i noticed that the videos constantly keep reloading. When I view the network panel in chrome to see how the slide assets are loading they just keep reloading. Is it possible to prevent that and have them load only once? Or is there a reason why they keep reloading?

I also noticed that it does this in your big bunny video background example (http://www.aaronvanderzwan.com/maximage/examples/html5video.html). The reason why I want to prevent this is because it is causing the videos to playback a little choppy even after they have loaded the first time. I have 5 videos loading into the slideshow already and that is a lot to begin with and since they keep reloading it causes the videos to playback poorly.

thanks

JS error: 'src' undefined

Scratch that duplicate includes of the same file caused this error nothing to do with maximage! Sorry.

Cycle2?

How to use MaxImage with Cycle v2?
Just load cycle2.js instead of cycle.js?
Any other modification is needed?

Jquery 1.9.1 issue

Hello,
It's a really nice script but I have to use it with jQuery 1.9.1 on a project, and I'm really struggling with this.
I tried to download the fix for 1.9 commit, but the customized.html does not work.
Could you please tell me what could be wrong ?
Best regards,
David

Images are streched starting 6th slide

Hi, plugin is great I used it several times..!
I found that thread : #21

Thanks for the tips, it fixed the strecthed image problem on the site I m workin on.!!
It happened that starting the 6th slide, the images were width stretched.

But now sometimes I can see the first slide loaded (at original size) and being resized immediately..

Do you think it's possible to combine the two solutions..?
Or maybe make something different for the first slide..?
here is the site :
http://goo.gl/6ErDgd
thanks a lot !

data-href

I've add data-href values to my images. They are applied to the .mc-image div.
However I cannot bind a onclick event on the div.

I've added in the document ready:

$('.mc-image').click(function() {

console.log('working?'); // For testing
});

But no 'working?' in the firebug console.

Also not working:

$('.mc-image').each(function() {
$(this).attr('onclick', 'console.log("working?");');
});

The onclick attribute is added when I inspect the element with Firebug but still no action.

What is the way to add onclick to the div/image?

Video Loaded But Not Automatically Starting (not autoplaying)

I have gotten the video to load into the slide but it will not autoplay, I have used the correct HTML tags and it still won't autoplay, Is there something else I can do to make the video play?

<div class="slides-container">
      <img src="images/people.jpeg" alt="Cinelli">
      <video class="html5video" preload="auto" autoplay loop="loop"><source src="video.mp4" type="video/mp4" /></video>
      <img src="images/surly.jpeg" width="1024" height="682" alt="Surly">
      <img src="images/cinelli-front.jpeg" width="1024" height="683" alt="Cinelli">
      <img src="images/affinity.jpeg" width="1024" height="685" alt="Affinity">

    </div>

I have literally tried everything HTML but nothing js, is there an internal function I have to use?

Issue when using ie 7 and 8

in the older browser
There have this code in doneResizing function:
$($.Scroll).addClass('mc-hide-scrolls');
$($.Scroll).removeClass('mc-hide-scrolls');

because doneResizing function will recall every 200ms.
When your web body have a scroll bar(overflow-y:scroll),
it will force to scroll to top.
When i remove this two code, all will be fine.

This project is a good and useful project. Nice.

Maximage 2 Not working on my server - same file structure works perfectly locally

Hi - really not sure what's going on and I am pulling my hair out over this - everything is working perfectly when I preview this locally, but when I upload it to any server, it breaks and I just get a scrollbar and all the images stacked on top of each other. I have the exact same file structure, copying the entire folder to the server with all the same paths and cannot seem to figure this out.

Did some troubleshooting and all my js files are being loaded correctly, can you think of any other reason why this could be happening?

See: http://www.tchoupindustries.com/test/index-test.html

Any and all help would be very very much appreciated.
Thanks!
Erin

Some images don't stretch

Hello,

Thanks for the awesome plugin. I just wanted to let you know that some images don't stretch perfectly.

maximage

Above is the screenshot of the image in a browser. Other images are scaling perfectly - just one in each lot doesn't. The markup is as below

<div id="maximage">
    <img src='https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-ash4/s720x720/1044042_1379632728925280_367427947_n.jpg' width='720' height='450' />
    <img src='https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-frc3/s720x720/988674_1379652318923321_2117957205_n.jpg' width='720' height='540' />
    <img src='https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-frc1/s720x720/999042_1379632772258609_1347361622_n.jpg' width='720' height='450' />
    <img src='https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-prn1/156516_1379641378924415_160664576_n.jpg' width='640' height='640' />
    <img src='https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-frc3/s720x720/988622_1379636458924907_642390145_n.jpg' width='575' height='720' />
</div>

The Javascript Markup is as below

        $("#maximage").maximage({
            cycleOptions: {
                timeout: 0,
                prev: '.arrow_left',
                next: '.arrow_right',
                pause: 1
            },
            onFirstImageLoaded: function(){
                /* Hide Loading */
                $('#maximage').show('fast');
            },
            cssBackgroundSize: false,
            backgroundSize: function( $item ){                
                if ($item.data('h') > $item.data('w')) {
                    if ($.Window.data('w') / $.Window.data('h') < $item.data('ar')) {
                        $item
                        .height(($.Window.data('w') / $item.data('ar')).toFixed(0))
                        .width($.Window.data('w'));
                    } else {
                        $item
                        .height($.Window.data('h'))
                        .width(($.Window.data('h') * $item.data('ar')).toFixed(0));
                    }
                } else {
                    if ($.Window.data('w') / $.Window.data('h') < $item.data('ar')) {
                        $item
                        .height($.Window.data('h'))
                        .width(($.Window.data('h') * $item.data('ar')).toFixed(0));
                    } else {
                        $item
                        .height(($.Window.data('w') / $item.data('ar')).toFixed(0))
                        .width($.Window.data('w'));
                    }
                }
            }
        });

The javascript part is being sourced from the example at your website.

Thanks!

use video in slides

Is it possible to use video tag in slides?

I just tried it, but it failed.

js error

I have a strange problem here:
http://jackyon.com.s146246.gridserver.com/thehappymonk/

I'm using the queryloader2 plugin and maximage2 plugin. it is works fine on all the modern browsers, but is showing the javascript error on IE8 or below. Even ie9 shows an error, but it still can normally run.

js error: 'a.Slide[...].content.length' is null or not an object.

when remove either plugin, the page run without errors.

plugin link for queryloader2: https://github.com/Gaya/QueryLoader2
plugin link for maximage2: https://github.com/akv2/MaxImage

this problem already drive me crazy few dayz. plz help me! thx!!

poster covers the video

Hello,

I am using your marvelous jquery plug-in, but I have one bug and I can't get rid of it.

So, I have a video element:

maximage only for a part of page

hi
any way it could be customized only to the front serving page with footers and headers and other such content not overlapping over it??

thanks
(something like this)
maximage

IE 8 throws error

I have the same Problem like #14, but just if i use jquery.maximage.min.js.
if i minify jquery.maximage.js and use that file, it works fine.

[enhancement] Add missing bower.json.

Hey, maintainer(s) of akv2/MaxImage!

We at VersionEye are working hard to keep up the quality of the bower's registry.

We just finished our initial analysis of the quality of the Bower.io registry:

7530 - registered packages, 224 of them doesnt exists anymore;

We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).

Sadly, your library akv2/MaxImage is one of them.

Can you spare 15 minutes to help us to make Bower better?

Just add a new file bower.json and change attributes.

{
  "name": "akv2/MaxImage",
  "version": "1.0.0",
  "main": "path/to/main.css",
  "description": "please add it",
  "license": "Eclipse",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "<dependency_name>": "<semantic_version>",
    "<dependency_name>": "<Local_folder>",
    "<dependency_name>": "<package>"
  },
  "devDependencies": {
    "<test-framework-name>": "<version>"
  }
}

Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.

NB! Please validate your bower.json with jsonlint before commiting your updates.

Thank you!

Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.