![]() ![]() |
May 19 2005, 12:42 AM
Post
#46
|
|
|
New Member ![]() Group: Members Posts: 1 Joined: 18-May 05 Member No.: 2,619 ![]() |
Hey, this is a great image gallery. I was just wondering how you get the thumbnails to show. I know you need GD2, but how do you install it? Thanks in advance for any comments!
|
|
|
|
May 19 2005, 09:40 AM
Post
#47
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Hi Sebastian,
If you're running PHP without GD2 then you've likely got a version older than 4.3.x and the best thing to do is to just upgrade it to the latest, which comes with GD2. Otherwise, download and install GD2 seperately and then recompile PHP with QUOTE --with-gd' '--with-png' '--with-jpeg-dir=/usr' '--with-png' '--with-png-dir=/usr' Change /usr to your own directories. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
| Guest_Jeannie_* |
May 23 2005, 04:53 AM
Post
#48
|
|
Guests |
This was by far the easiest picture gallery I have ever installed. Terrific job!
Other than having a title, description, and keywords, is there anything else I need to do to get the search function to work? Entering a word in the search box which is included in the photo title or listed as keywords returns 0 results. |
|
|
|
May 23 2005, 05:47 AM
Post
#49
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Hi Jeannie,
Are you including characters like ' or & in your searches? -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
| Guest_Guest_* |
May 23 2005, 02:15 PM
Post
#50
|
|
Guests |
|
|
|
|
| Guest_Guest_* |
May 23 2005, 02:25 PM
Post
#51
|
|
Guests |
Just figured out what it's doing......
When I batch upload the search doesn't work. When I use the 'add' to insert a photo one at a time, the search works fine. |
|
|
|
May 23 2005, 02:48 PM
Post
#52
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
That issue's been reported on some machines. I don't know why it occurs on some machines, but not on others.
It's been fixed in the upcoming release. Could you let me know if making the following changes solve your problem In search.php, look for CODE //get those matching search term $statement = "SELECT pid, file_name, ROUND(file_size/1024) AS fsize, file_type, title, keywords, date AS d, pic_width, pic_height, keywords, approved, category, counter, submitter FROM {$config['table_prefix']}pictures WHERE keywords LIKE '%$searchquery%' AND submitter LIKE '%$searchauthor%' AND approved='1' ORDER BY date DESC"; and replace it with CODE //get those matching search term (if submitter = null, ignore it) if($searchauthor == NULL) $statement = "SELECT pid, file_name, ROUND(file_size/1024) AS fsize, file_type, title, keywords, date AS d, pic_width, pic_height, keywords, approved, category, counter, submitter FROM {$config['table_prefix']}pictures WHERE keywords LIKE '%$searchquery%' AND approved='1' ORDER BY date DESC"; else $statement = "SELECT pid, file_name, ROUND(file_size/1024) AS fsize, file_type, title, keywords, date AS d, pic_width, pic_height, keywords, approved, category, counter, submitter FROM {$config['table_prefix']}pictures WHERE keywords LIKE '%$searchquery%' AND approved='1' AND submitter LIKE '%$searchauthor%' ORDER BY date DESC"; It occurs twice on lines 46-47 and 164-165. Thanks. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
| Guest_Guest_* |
May 23 2005, 02:59 PM
Post
#53
|
|
Guests |
Wow! You are good (and fast)
yes, that did the trick Thank You! |
|
|
|
| Guest_Deenasty_* |
May 28 2005, 09:15 AM
Post
#54
|
|
Guests |
Hi !
Will it be a French Version ? Cause this gallery is really good and i would like use it for my website but it' s a french website. Sorry for my language Have a nice day ! |
|
|
|
May 28 2005, 01:32 PM
Post
#55
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
-------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
| Guest_MrBackslash_* |
Jun 5 2005, 10:42 AM
Post
#56
|
|
Guests |
Hi! Wonderful Gallery you scripted there
I've got one question now, is it possible to remove or rename the Category "Other"? |
|
|
|
Jun 5 2005, 12:46 PM
Post
#57
|
|
![]() Boss, my code's compiling (xkcd) Group: Admins Posts: 10,440 Joined: 19-September 01 Member No.: 1 ![]() |
Hi,
Yes, it's possible to hide it in v0.8, which is due out in a few days. -------------------- ![]() ![]() Things that I don't suck at: Photography (flickr, JPG Mag), "Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com |
|
|
|
| Guest_MrBackslash_* |
Jun 5 2005, 03:04 PM
Post
#58
|
|
Guests |
ahh wonderful!
|
|
|
|
| Guest_Guest_will_*_* |
Jun 5 2005, 11:17 PM
Post
#59
|
|
Guests |
Hey i need one like this for videos / wmv and flash is there anyplace that makes them?
|
|
|
|
Jun 6 2005, 02:16 AM
Post
#60
|
|
|
New Member ![]() Group: Members Posts: 3 Joined: 6-May 05 Member No.: 2,575 ![]() |
A few problems with 0.7.02,
When adding through batch add, I get a blank page. Nothing else. No images added. I fixed that problem by scripting with foreach(); and glob(); to insert image info directly to the database. Then copied all images to the incoming folder. That displays all images but the thumbs still have to be created. "Rebuild thumbs" is way too slow and at anything above 50 per cycle, I get a blank page. I have 39,000 images to insert in one gallery site and 50,000 to insert in another. Is there an easy way to rebuild all thumbs with a foreach loop or batch file? Timeouts for php are no problem, And I have used ini_set() to change the max timeout to something like 2 hours. Resources aren't a problem because I own the servers. Any help for this? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 11:22 AM |