photo album software
  PHP Gallery     Android WwWatchdog     Support     How To     Contact  
ArabicBulgarianChineseCroatianCzechDanishDutchEnglishFinnishFrenchGermanGreekHindiItalianJapaneseKoreanNorwegianPolishPortugueseRomanianRussianSpanishSwedishTurkish
»Ask your question«
 

From: Guest   Date: May 12 2008, 20:34
Is there a way to make the search results page tell you what you searched for? In other words, can you echo what the user enters in the search box in the "Search results" line?
      
From: Encaps   Date: May 13 2008, 06:20
You may just put <?php echo $_GET["search"]?> anywhere you'd like to output the search string.

From: Guest   Date: May 12 2008, 18:31
Hi,
I installed the database onto a server to set things up and make all the necessary customization. Now I am trying to put it up onto a client's hosting, and I'm getting the following message:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I think it's already on the support pages, but I cannot find it.. sorry.

Thank you for your reply,

sasha
      
From: Encaps   Date: May 13 2008, 06:24
Hello Sasha,
there is a test script for check mysql connection in the admin/test/test-myslq-connect.php.
Could you please put mysql connection parameters there (line #2) and let me know?
            
From: Encaps   Date: May 13 2008, 06:29
Or you may ask your hosting provider to put valid mysql socket path to /etc/my.cnf:

[mysqld]
socket=/var/lib/mysql/mysql.sock
...
[client]
socket=/var/lib/mysql/mysql.sock

From: Guest   Date: May 12 2008, 17:20
I got the watermark working the way I want it but there is one problem. the properties of the image show the original path, so anyone can steal the image without the watermark by copy and pasting the address. Is there a way to secure the image folder that contains the images?
      
From: Encaps   Date: May 12 2008, 18:00
You are right, we will modify watermark for hide the image path.
            
From: Encaps   Date: May 13 2008, 06:19
Watermark is fixed, you may do the following:
1) download the latest package and update your core/watermark.php.
2) apply watermark with the line:
<IMG src="core/watermark.php?id=<?php echo $html["item"]["id"]?>">
                  
From: Guest   Date: May 13 2008, 13:36
Is the only change from 2.0.5 to 2.0.6 in the file "watermark.php"? I purchased the 2.0.5 core yesterday.
                        
From: Guest   Date: May 13 2008, 13:48
Sorry, I mean in place of:

IMG src="core/catalog_watermark.php?file=../rwx_gallery/<?php echo $html["item"]["filename_normal"]?>"
                        
From: Guest   Date: May 13 2008, 14:19
Sorry, I got it working. Please feel free to delete the two previous posts (and this one).
                  
From: Guest   Date: May 13 2008, 13:43
Also, I've tried inserting the line:

<IMG src="core/watermark.php?id=<?php echo $html["item"]["id"]?>">

into light/catalog_custom.html in place of:

<IMG src="core/watermark.php?id=<?php echo $html["item"]["id"]?>"

and it isn't working. Am I putting it in the right place?
                        
From: Encaps   Date: May 13 2008, 15:31
I've just tested the watermark for html/light/catalog_custom.html:
<IMG src="core/watermark.php?id=<?php echo $html["item"]["id"]?>">
It worked at my side :( Could you please zip & send me your gallery (except rwx_gallery contents), or let me connect your webserver with ftp?
                              
From: Guest   Date: May 13 2008, 23:11
The problem was on my side. See my post above. Sorry!

From: Guest   Date: May 12 2008, 16:29
Hi!

I allways got a message like this after trying to upload a picture (regardless if I upload one pic directly or if I use
the ftp upload):

"Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 12288 bytes) in /var/www/vhosts/*******.**/httpdocs/gal/core/misc.class.php on line 302"

The size of bytes are not always the same, but the main message. The picture is located on the webserver afterwards but the thumbnails are always missing for example...

Any idea how I could remove this error?

Thanks a lot in advance!

regards
Andreas

From: Guest   Date: May 10 2008, 21:12
Hi, thanks for the software - works great .

Is it possible for any users of the site to post comments?
      
From: Encaps   Date: May 11 2008, 12:01
No :(

From: Guest   Date: May 09 2008, 12:49
How do I tell what version of software I have installed? Also, I've tried to pay for the code twice and it will not go through. Can I pay directly through Paypal somehow?
      
From: Encaps   Date: May 09 2008, 17:51
You may check the version from the pachage you downloaded.
I'm sorry for the payment inconvenience, I will change the registrar.
            
From: Guest   Date: May 09 2008, 19:05
I don't have the original zip file I downloaded. Was Version 2 first available for download on April 30? If so then I have an older version. Since I've customized the gallery can I update only the changed files? I would hate to start all over again setting it up!
                  
From: Encaps   Date: May 11 2008, 14:51
EncapsGallery-2.0.5 was released on April 30. I can't guess what files you customized, so can't advice how to upgrade.
                        
From: Guest   Date: May 12 2008, 14:49
Is there a list of changed files from the previous version so I can manually update the software? I don't mind going from line to line but a list of which files have been changed would sve a lot of time searching!

I would also still like to buy the source code but the normal payment page just doesn't work for me. Ideas?
                              
From: Encaps   Date: May 12 2008, 16:09
Unfortunately no, there is no changed files list :(
Actually we already jumped to another registrar, so you may pay from paypal directly (you will be redirected to paypal)

From: Guest   Date: May 08 2008, 03:25
Cool stuff, saved me a ton of time...two questions

1. How do I turn on the watermark? I have a PNG file, do I copy it to code/img folder do I "enable" it somewhere or where do I tell it the path to the file?

2. I don't get how paypal will work if they can view the full-size images, do I take out the dynamic link for each file or if I leave the large files available (but put a nasty watermark on them) when they do the paypal transaction they'll be able to download that file without the watermark, right?

Thanks, cool stuff. Cheers. -Aaron
      
From: Encaps   Date: May 08 2008, 08:57
Hello Aaron, thank you.

1) Watermark - unfortunately png-watermark is not supported, only text string over images.

For apply watermark you can modify the file "gallery_custom.html" - replace the following
line:
<IMG src="./rwx_gallery/<?php echo $html["item"]["filename_normal"]?>"

with new one:
<IMG src="core/gallery_watermark.php?file=../rwx_gallery/<?php echo
$html["item"]["filename_normal"]?>"

This relates to templates "simple_sc", "acd", "expo", "light".

For apply watermark to "raym" template, you should modify file "html/raym/gallery.html",
line #68:
document.getElementById("photo_img_id").src =
'core/gallery_watermark.php?file=.'+_path_filename_normal;

2) Paypal shopcart - when visitors do paypal transaction, they will not download
anything, they will just receive a purchase notification by e-mail from paypal.

From: Guest   Date: May 08 2008, 01:17
how can i hide the image file suffix name, for example, 129.jpg file, all i want is to show the name 129 only
      
From: Encaps   Date: May 08 2008, 08:48
You may modify catalog.html - replace the line
<?php echo $item["title"]?>
with the new one:
<?php echo preg_replace('/..*$/i','',$item["title"])?>
            
From: Guest   Date: May 08 2008, 22:02
I change the code, nothing display now- -|||(no file name), <?php echo preg_replace('/..*$/i','',$item["title"])?> maybe it's wrong, and I also want change the catalog_custom.html, the code is <?php echo $html['item']["title"]?> how to change?
                  
From: Encaps   Date: May 09 2008, 17:42
Oh, really, sorry.
So, for the catalog.html:
<?php echo preg_replace('/\..*$/i','',$item["title"])?>

for the catalog_custom.html:
<?php echo preg_replace('/\..*$/i','',$html["item"]["title"])?>

From: Guest   Date: May 05 2008, 01:01
i have the error
"Missing a temporary folder (in php.ini)"
when trying to upload,
what should i do?
      
From: Encaps   Date: May 05 2008, 06:36
So you should ask your hosting provider to set up temporary folder in your php.ini

From: Guest   Date: May 02 2008, 21:18
how can you set the http://***.your-site.com/gallery/ folder to automatically open on a specific category, such as a "home" category.

I saw your "how to" question where this was asked, but the script version I have which I just bought doesnt show that script in your answer, to replace or make that change.
      
From: Guest   Date: May 02 2008, 22:56
ok, i got it to direct onto the home category by putting header("Location:catalog.php?cat=1") in the gallery/index.php file, but now when i select another category it always directs back to cateogry 1. no matter what category i select it goes to category 1. any ideas? thank.
            
From: Guest   Date: May 02 2008, 23:03
lol, sorry, i got it, i think.
I just changed the catalog_cats_select.html form to action="category.php" file instead of index.php.


Encaps © 2005-2012 PHP Gallery | Android WwWatchdog | Support | How To | Contact
?>