projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue27, on gallery export use links which will guide back the user into phpfspot...
[phpfspot.git]
/
phpfspot.class.php
diff --git
a/phpfspot.class.php
b/phpfspot.class.php
index dd634dbe70a8b8cc5cb974de880482dabf72030d..5e25f21b81d446d3c1097b630a44b40ba7ae978c 100644
(file)
--- a/
phpfspot.class.php
+++ b/
phpfspot.class.php
@@
-1155,6
+1155,7
@@
class PHPFSPOT {
public function getExport($mode)
{
$pictures = $this->getPhotoSelection();
public function getExport($mode)
{
$pictures = $this->getPhotoSelection();
+ $current_tags = $this->getCurrentTags();
if(!isset($_SERVER['HTTPS'])) $protocol = "http";
else $protocol = "https";
if(!isset($_SERVER['HTTPS'])) $protocol = "http";
else $protocol = "https";
@@
-1163,7
+1164,11
@@
class PHPFSPOT {
foreach($pictures as $picture) {
foreach($pictures as $picture) {
- $orig_url = $protocol ."://". $server_name . $this->cfg->web_path ."phpfspot_img.php?idx=". $picture ."&width=". $this->cfg->photo_width;
+ $orig_url = $protocol ."://". $server_name . $this->cfg->web_path ."index.php?mode=showp&id=". $picture;
+ if($current_tags != "") {
+ $orig_url.= "&tags=". $current_tags;
+ }
+
$thumb_url = $protocol ."://". $server_name . $this->cfg->web_path ."phpfspot_img.php?idx=". $picture ."&width=". $this->cfg->thumb_width;
switch($mode) {
$thumb_url = $protocol ."://". $server_name . $this->cfg->web_path ."phpfspot_img.php?idx=". $picture ."&width=". $this->cfg->thumb_width;
switch($mode) {