Dynamic Flash Gallery PHP Support Product Page

This topic was archived

Image and thumbnail are in the same location

Reported 01 Jun 2009 18:14:28
1
has this problem
01 Jun 2009 18:14:28 Sylvain Buisson posted:
Everything goes well except for the thumbnail that should be uploaded in the thumb file. Why the thumbnail is in the same spot of the picture itself?

Look at the code here in the dmxFlashGallery2_action.php:


<?php
require_once("../ScriptLibrary/dmxFlashGallery2.php");

$gallery = new dmxFlashGallery();
$gallery->datapath = "../images_album2009/4_23mai2009";
$gallery->imageDimension = Array(700,700);
$gallery->thumbDimension = Array(150,150);
$gallery->admin = Array("Steve", "test"); // administration credentials
$gallery->init();

?>


Picture file name: 4_23mai2009
subfolder thumb: thumb

Can anyone have an idea?



Edited by - Sylvain Buisson on 01 Jun 2009  18:15:10

Edited by - Sylvain Buisson on 01 Jun 2009  18:15:45

Edited by - Sylvain Buisson on 01 Jun 2009  18:18:16

Replies

Replied 02 Jun 2009 12:47:04
02 Jun 2009 12:47:04 Miroslav Zografski replied:
Hello Sylvain,

Thumbs are not passed in same spot as the image. Flash Album Generator, which is the base of the Dynamic Flash Gallery states in its xml file that for thumbs path is "album/thumbs/" and for images path is "album". Depending on that Dynamic Flash Gallery sets thumbs in a thumb folder. "datapath" is just the path to the album's main directory.

Regards,

Reply to this topic