Subject: MiniSlideshow problem

Posted on: October 23 2013 @ 05:15 AM
By: jungle

Content:

i had download MiniSlideshow v4.0.2
and put it on the root of my gallery2
and i use mediaRss mode
but it can't work
i try the URL
http://163.19.190.225/gallery2/mediaRss.php?g2_itemId=15
it show some mistake
can't show like this
http://www.flashyourweb.com/media/mediaRss.php?g2_itemId=32

what's wrong ?
can anyone help me ?

Thanks!



Replies:

Re: MiniSlideshow problem

Posted on: October 23 2013 @ 08:26 AM
By: suprsidr

Content:

I cannot see the error. You will have to review server error logs.
Seems to work on the root album http://163.19.190.225/gallery2/mediaRss.php


Re: MiniSlideshow problem

Posted on: October 23 2013 @ 09:51 AM
By: jungle

Content:

Quote by: suprsidr

I cannot see the error. You will have to review server error logs.
Seems to work on the root album http://163.19.190.225/gallery2/mediaRss.php



PHP Formatted Code

<div id="mini-json">
    <strong>Javascript required to view this content.</strong>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="js/jquery.minislideshow.4.0.min.js"></script>
<script>
$('#mini').minislideshow({
    url: '/gallery2/mediaRss.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640',
    width: 600,
    height: 400,
    fullsize: true,
    fontscale: 22,
    font: '"Lucida Grande", Tahoma, Verdana, Arial, sans-serif',
    radius: '20px'
});
</script>
 

http://163.19.190.225/gallery2/test.htm

is that right ?
can't work!


Re: MiniSlideshow problem

Posted on: October 23 2013 @ 11:01 AM
By: suprsidr

Content:

looks like your mediaRss.php is working now.
for mode=dynamic you need to enable the dynamic albums module in gallery admin -> plugins


Re: MiniSlideshow problem

Posted on: October 23 2013 @ 04:51 PM
By: suprsidr

Content:

looks like you're trying the rest.php, but the url is incorrect.
http://163.19.190.225/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640
should be
http://163.19.190.225/gallery2/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640

I would recommend this for cross domain compatibility.

-s


Re: MiniSlideshow problem

Posted on: October 23 2013 @ 06:22 PM
By: jungle

Content:

Quote by: suprsidr

looks like you're trying the rest.php, but the url is incorrect.
http://163.19.190.225/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640
should be
http://163.19.190.225/gallery2/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640

I would recommend this for cross domain compatibility.

-s



i had fix the url but still can't work ?


Re: MiniSlideshow problem

Posted on: October 23 2013 @ 07:41 PM
By: suprsidr

Content:

PHP Formatted Code
<div id="mini-json">
  <strong>Javascript required to view this content.</strong>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="js/jquery.minislideshow.4.0.min.js"></script>
<script>
  $('#mini-json').minislideshow({
    provider: 'rest',
    url: 'http://163.19.190.225/gallery2/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640',
    width: 600,
    height: 400,
    fullsize: true,
    fontscale: 22,
    font: '"Lucida Grande", Tahoma, Verdana, Arial, sans-serif',
    radius: '20px'
  });
</script>


This almost works.
I get 500 errors on the images. Seems the &amp; is interfering.
Can you enable the rewrite module to see if it resolves it?

-s


Re: MiniSlideshow problem

Posted on: October 23 2013 @ 08:06 PM
By: jungle

Content:

Quote by: suprsidr

PHP Formatted Code
<div id="mini-json">
  <strong>Javascript required to view this content.</strong>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="js/jquery.minislideshow.4.0.min.js"></script>
<script>
  $('#mini-json').minislideshow({
    provider: 'rest',
    url: 'http://163.19.190.225/gallery2/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640',
    width: 600,
    height: 400,
    fullsize: true,
    fontscale: 22,
    font: '"Lucida Grande", Tahoma, Verdana, Arial, sans-serif',
    radius: '20px'
  });
</script>


This almost works.
I get 500 errors on the images. Seems the &amp; is interfering.
Can you enable the rewrite module to see if it resolves it?

-s



i had enable rewrite module and stiil not work !


Re: MiniSlideshow problem

Posted on: October 24 2013 @ 04:43 PM
By: suprsidr

Content:

Please try the rest.php that is packaged with the g2_rest package and let me know if it works for you.

-s


Re: MiniSlideshow problem

Posted on: October 24 2013 @ 06:07 PM
By: jungle

Content:

Quote by: jungle

Quote by: suprsidr

PHP Formatted Code
<div id="mini-json">
  <strong>Javascript required to view this content.</strong>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="js/jquery.minislideshow.4.0.min.js"></script>
<script>
  $('#mini-json').minislideshow({
    provider: 'rest',
    url: 'http://163.19.190.225/gallery2/rest.php?mode=dynamic&g2_view=dynamicalbum.RandomAlbum&g2_albumId=15&maxSize=640',
    width: 600,
    height: 400,
    fullsize: true,
    fontscale: 22,
    font: '"Lucida Grande", Tahoma, Verdana, Arial, sans-serif',
    radius: '20px'
  });
</script>


This almost works.
I get 500 errors on the images. Seems the &amp; is interfering.
Can you enable the rewrite module to see if it resolves it?

-s



i had enable rewrite module and stiil not work !



i put it here
http://163.19.190.225/gallery2/g2rest/
it work!
but i copy rest.php to gallery2
it still can't work!


Re: MiniSlideshow problem

Posted on: October 24 2013 @ 06:49 PM
By: suprsidr

Content:

No, I only wanted you to use the rest.php from that package.


Re: MiniSlideshow problem

Posted on: October 24 2013 @ 08:37 PM
By: jungle

Content:

Quote by: suprsidr

No, I only wanted you to use the rest.php from that package.



i have copy the rest.php from that package to replace old.
but it still can't work!


Re: MiniSlideshow problem

Posted on: October 25 2013 @ 05:09 AM
By: suprsidr

Content:

Works for me http://www.flashyourweb.com/gallery2/embed_samples/jungle.php


Re: MiniSlideshow problem

Posted on: October 25 2013 @ 07:33 AM
By: jungle

Content:

Quote by: suprsidr

Works for me http://www.flashyourweb.com/gallery2/embed_samples/jungle.php


thanks!
It 's the program of my download 's jquery.minislideshow.4.0.min.js have some thing wrong!
i just get it in your side http://www.flashyourweb.com/gallery2/embed_samples/js/jquery.minislideshow.4.0.min.js
and it works !


Re: MiniSlideshow problem

Posted on: October 26 2013 @ 05:02 AM
By: suprsidr

Content:

It 's the program of my download 's jquery.minislideshow.4.0.min.js have some thing wrong!


Thanks, I updated the archive.


FlashYourWeb - Forum
http://www.flashyourweb.com/forum/viewtopic.php?showtopic=3089