CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

5 Pages V  « < 2 3 4 5 >   Digg this topic Digg this topic   Add to my del.icio.us Add to my del.icio.us
Reply to this topicStart new topic
> Zenith Picture Gallery v0.7 released
Sebastian P
post May 19 2005, 12:42 AM
Post #46


New Member
*

Group: Members
Posts: 1
Joined: 18-May 05
Member No.: 2,619

United States




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!
Go to the top of the page
 
+Quote Post
usr.c
post May 19 2005, 09:40 AM
Post #47


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Guest_Jeannie_*
post 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.
Go to the top of the page
 
+Quote Post
usr.c
post May 23 2005, 05:47 AM
Post #49


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Hi Jeannie,

Are you including characters like ' or & in your searches?


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Guest_Guest_*
post May 23 2005, 02:15 PM
Post #50





Guests







QUOTE(Ali Almossawi @ May 23 2005, 05:47 AM)
Hi Jeannie,

Are you including characters like ' or & in your searches?
*


Nope, just a word that can be found in the title, description, keywords, or photo name. So what did I do?
Go to the top of the page
 
+Quote Post
Guest_Guest_*
post 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.
Go to the top of the page
 
+Quote Post
usr.c
post May 23 2005, 02:48 PM
Post #52


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Guest_Guest_*
post May 23 2005, 02:59 PM
Post #53





Guests







Wow! You are good (and fast)
yes, that did the trick
Thank You!
Go to the top of the page
 
+Quote Post
Guest_Deenasty_*
post 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 blushing.gif

Have a nice day !
Go to the top of the page
 
+Quote Post
usr.c
post May 28 2005, 01:32 PM
Post #55


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Hi Deenasty,

See this: http://cyberiapc.com/forums/index.php?showtopic=5578


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Guest_MrBackslash_*
post Jun 5 2005, 10:42 AM
Post #56





Guests







Hi! Wonderful Gallery you scripted there thumbsup.gif

I've got one question now, is it possible to remove or rename the Category "Other"?
Go to the top of the page
 
+Quote Post
usr.c
post Jun 5 2005, 12:46 PM
Post #57


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




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), Skydiving, Splitting atoms, Flying a space shuttle
"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
Go to the top of the page
 
+Quote Post
Guest_MrBackslash_*
post Jun 5 2005, 03:04 PM
Post #58





Guests







ahh wonderful! dance.gif
Go to the top of the page
 
+Quote Post
Guest_Guest_will_*_*
post 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?
Go to the top of the page
 
+Quote Post
balamm
post Jun 6 2005, 02:16 AM
Post #60


New Member
*

Group: Members
Posts: 3
Joined: 6-May 05
Member No.: 2,575

Canada




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?
Go to the top of the page
 
+Quote Post

5 Pages V  « < 2 3 4 5 >
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 06:30 AM