Author Topic: Flash Slideshow  (Read 218864 times)

0 Members and 1 Guest are viewing this topic.

Offline daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Flash Slideshow
« Reply #30 on: April 22, 2005, 03:52:10 AM »
Hello,

where I can change the default options for the slide show ?

regards,
Daniel

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Flash Slideshow
« Reply #31 on: April 22, 2005, 03:55:56 AM »
flashshow.php half way down look for and change this

[code if ($result = $site_db->query($sql))
  {
    $xmlcontent ="<slideshow>\r\n  <settings>\r\n    <image_folder>".MEDIA_PATH."/</image_folder>\r\n    <time>3</time>\r\n    <fade>0.4</fade>\r\n    <pause>false</pause>\r\n    <playReverse>false</playReverse>\r\n    <repeat>true</repeat>\r\n    <captions>true</captions>\r\n  </settings>\r\n  <images>\r\n\r\n";
    while ($image_row = $site_db->fetch_array($result))
    {
      if (!is_remote($image_row['image_media_file']))
]
Code: [Select]

Offline daniel_74

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Flash Slideshow
« Reply #32 on: April 22, 2005, 03:59:44 AM »
Thanks,

great ! I got it to work.
The important thing was removing all the code from categories.php besides the few lines mentioned.

Best regards,
Daniel

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Flash Slideshow
« Reply #33 on: April 22, 2005, 07:26:22 AM »
@artpics

What is not working? i tryed on 5 different computer and the link works!
Code: [Select]
vincent your link does not work all okay on my server very quick hope this helps

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Flash Slideshow
« Reply #34 on: April 22, 2005, 09:58:56 PM »
V@no
if i set the "config" on Repeat OFF - i would be not possible at the end - to go back to the main page - or back to the normal picture?

thanks for your help

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Flash Slideshow
« Reply #35 on: April 28, 2005, 11:14:46 PM »
but we in switzerland / Europ have some special letters like a o u wiht two dots on the top
how to correct this?

vincent

still hoping for help - it looks funy to have this squares inplace of ü ö ä

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Flash Slideshow
« Reply #36 on: April 29, 2005, 12:30:04 AM »
if i set the "config" on Repeat OFF - i would be not possible at the end - to go back to the main page - or back to the normal picture?
mmm...I think this question should go to the author of this mod...My knowlege of Flash language is -1 (below zero)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Flash Slideshow
« Reply #37 on: April 29, 2005, 06:04:04 PM »
 :D Code-God  is not knowing something -
My knowlege of Flash language is -1 (below zero)
i did not belive this could happen  :P

but thanks for your feedback
sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Flash Slideshow
« Reply #38 on: May 06, 2005, 09:11:33 AM »
any chance of someone knows why this mod does not work with mozzilla firefox i get an error page  :|

Offline redhead_tn

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: Flash Slideshow
« Reply #39 on: May 17, 2005, 11:41:47 PM »
Excellent!  I've been wanting a decent slideshow option for my 4images installations -- and this works perfectly.  I thought I would post a quickie instructions for a successful installation (it works in both IE and Firefox). 

(1)   Download the files from VANO.  http://gallery.vano.org/file67dl

(2)   Extract the zip file.

(3)   Upload flashshow.php, slideshow4.fla, and slideshow4.swf to your root 4images folder.

(4)   Upload flash.html to your templates folder.

(5)   Open categories.php (found in your root 4images folder).   Find

Code: [Select]
$site_template->register_vars("thumbnails", $thumbnails);
unset($thumbnails);

Add the following code ABOVE that. 

Code: [Select]
//-----------------------------------------------------
//--- Slideshow Additiions BEGINS-------------------------------------
//-----------------------------------------------------

$flashshow_url = $site_sess->url(ROOT_PATH."flashshow.php?action=flashshow&amp;".URL_CAT_ID."=".$cat_id);
$flashshow_button = "<A HREF=\"#\" onClick=\"window.open('".$flashshow_url."','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=0, resizable=0, copyhistory=0, menuBar=0, width=640, height=480');return(false)\">View Slideshow of Images</a>";


$site_template->register_vars(array(
  "flashshow_url" => $flashshow_url,
  "flashshow_button" => $flashshow_button
  ));
 
  //-----------------------------------------------------
//--- Slideshow Additions END -------------------------------------
//-----------------------------------------------------

(6) Save the changes and upload your new categories.php.

(7) Open main.php (found in lang folder).  At the end, right before ?> add this:

Code: [Select]
//-----------------------------------------------------
//--- Slideshow -------------------------------------
//-----------------------------------------------------
$lang['slideshow'] = "Slideshow";

( 8 ) Save and upload your new main.php

(9)   Open categories.html (found in templates)

Where you want the Slideshow link to appear - add the following code:

Code: [Select]
{flashshow_button}

(10)  Save and upload your new categories.html

That's it!  It works perfectly -- no problems whatsover in any of the browsers I tested it in. 
« Last Edit: May 18, 2005, 01:00:24 AM by V@no »

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: Flash Slideshow
« Reply #40 on: May 18, 2005, 01:56:02 AM »
Hi,I had installed this MOD long time ago and it was working perfect, but yesterday I reinstalled the gallery in other serv and I get this error every time that enter in a category
Code: [Select]
Warning: fopen(slideshow_1.xml): failed to open stream: Permission denied in /home/bhfqyruw/public_html/categories.php on line 220 I have check the permision on data/media data/thumbnails but the error still there whatcan i do?

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: Flash Slideshow
« Reply #41 on: May 18, 2005, 12:00:42 PM »
ascanio
hi

don't no if this will help but when i changed servers i had to turn hot linking off
 otherwise it would not work maybe this will help or are your images progressive JPEG ??

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Flash Slideshow
« Reply #42 on: May 18, 2005, 10:35:06 PM »
Hello
thats funny i have a directory with 17 Picture but starting the Slideshow only 7 picture are shown!
http://www.foto-kocher.com/categories.php?cat_id=88

any idee whats wrong, as i think this is the only directory with this problem!

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Flash Slideshow
« Reply #43 on: May 23, 2005, 10:06:34 AM »
Hello
i have the following problem
the categorie has (today 23.05.2005) 54 Picture but the slideshow only show 49 picture

http://www.foto-kocher.com/categories.php?cat_id=164

why this happen?

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline ch€ri{Bi}²

  • Sr. Member
  • ****
  • Posts: 315
  • A PRoBLeM wIthOUt SoLuTioN Is NoT rEAllY a PRoBLeM
    • View Profile
    • Pat's Gallery
Re: Flash Slideshow
« Reply #44 on: May 24, 2005, 01:54:48 AM »
@Vincent
find this code in categories.php:
Code: [Select]
//-----------------------------------------------------
//--- flash Show changes 01 starts here          ---------
//-----------------------------------------------------
//-----------------------------------------------------
// Configrable variables ------------------------------
$max_height = "1024";  // any images with a greater height will not be included in slide show
$max_width   = "1024";  // any images with a greater width will not be included in slide show
check the height/width of the pics which do not display and try to modify the max values shown in this code.

For those who ask the question, I wrote the original version of this mod for 4images 1.7 and in this (actual!!!) mod I do not see the management of the researches, lightbox and paging...   :?
after a problem of hard disk  :roll: I get back my data (slowly but certainly). I'll publish the complete mod for version 1.7 when I'll find it with some missing line of codes.. 8)
ch€ri{Bi}²