PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 20th, 2009, 09:57 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 78
reduce the number of thumbnail previews

Chuck,

I found the code in showphoto.php that allowed me to reduce the number of thumbnails from seven to five; but whenever the "more" link is clicked it returns to the original seven thumbnails per row.

I'm not sure where to look, assuming that it's in a javascript somewhere.
motowebmaster is offline   Reply With Quote
Old December 21st, 2009, 05:38 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
showframe.php thats the ajax script and there is similar code in that file
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 22nd, 2009, 10:58 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 78
Thanks Chuck!

I've found the code, but believe that I may have broken something. The "more" links don't seem to go back-and-forth correctly; but with my updates I can keep clicking "more" in one direction and my changed settings look good.

I'll fumble with it a bit and let you know. The reason for this is that I increased the thumbnail size on one of my sites and the default settings don't work well. Maybe these can be turned into options in a future version?

Thanks for your help,
motowebmaster is offline   Reply With Quote
Old January 30th, 2010, 06:43 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 316
Quote:
Originally Posted by motowebmaster View Post
Thanks Chuck!

I've found the code, but believe that I may have broken something. The "more" links don't seem to go back-and-forth correctly; but with my updates I can keep clicking "more" in one direction and my changed settings look good.

I'll fumble with it a bit and let you know. The reason for this is that I increased the thumbnail size on one of my sites and the default settings don't work well. Maybe these can be turned into options in a future version?

Thanks for your help,
Yes, I want this, too. How did you hack the code to get fewer than 7 in the film strip?
jdougher is offline   Reply With Quote
Old January 30th, 2010, 07:52 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 278
I'm curious about this as well. I've got 7 in the film strip, and 3 rows.

Looks GREAT on my huge widscreen monitor, but pity the poor guy who tries to browse my site with a screen at something like 1024 or even 800 wide...

I haven't tweaked anything, but I'm also wondering about the "more" function. How does it sort? Seems a bit random... (Maybe it is random?)

Last edited by BobHarbison; January 30th, 2010 at 08:01 PM.
BobHarbison is offline   Reply With Quote
Old January 30th, 2010, 09:54 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2010
Posts: 26
I'd like to know how to do this, too. Seven is way too many. It would be nice if this were a configurable option.

Thanks
cgdev1 is offline   Reply With Quote
Old January 30th, 2010, 09:58 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 278
Is anyone else getting 3 rows of seven per row? Can I change the number of rows someplace?
BobHarbison is offline   Reply With Quote
Old January 30th, 2010, 11:50 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2010
Posts: 26
Bob - Try this.. on the 'Show Photo Options' page, change 'Number of thumbnail preview columns?' to "1". I'm not clear why it says columns when it seems to control the rows.
cgdev1 is offline   Reply With Quote
Old January 31st, 2010, 08:43 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Well the column is the rowI guess one could say.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 1st, 2010, 09:32 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 278
Got your rank confused with your file?
BobHarbison is offline   Reply With Quote
Old February 1st, 2010, 10:17 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 278
Meanwhile, changing preview columns to 1 works, but it has introduced some strange behavior in the "more" links at the top of the page. (See my new thread on that topic...)

Changing it back to 3 seems to resolve the issue.
BobHarbison is offline   Reply With Quote
Old February 1st, 2010, 10:27 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
I will look at your other thread.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 4th, 2010, 10:24 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 278
It would really be nice if the number of thumbnail columns was made to be configurable.

At the moment, would it be possible to get some instructions on modifying the number of thumbs? I see a couple of variables, such as $highf = 21; $lowf = 20; $middlef = 11 and I'm not sure if i know how to change them correctly and don't want to break something.

Yes, I know you don't do mods/hacks, but this isn't really a hack so much as simply changing a display variable.
BobHarbison is offline   Reply With Quote
Old February 5th, 2010, 10:25 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Well yes it would always be a hack if your trying to code something different than the default coding.

Personally I have not tested this because quite frankly I dont have time to answer mod questions when I am working with an active beta of or doing product support as this takes all my time here. I also do product installs and upgrades as well.

You can try making this code

Code:
Content visible to verified customers only.
to maybe this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 5th, 2010, 06:54 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Aug 2002
Posts: 278
By going just a couple more lines in the code, and changing the numbers following the example you gave, I was able to get it to work.

However, it's doing the same thing that happens when I change from 3 lines to 1. The "more" link on the right side disappears after one click and you can only go left. Even after you click on the left "more" link a few times, there's still no "more" link to the right.

Since it's a hack, you're obviously not going to debug it.

So, I'll close with this: Please consider adding the option to vary both the number of rows and the number of columns of thumbnails in "showphoto" in a future version. Thanks!
BobHarbison is offline   Reply With Quote
Old February 5th, 2010, 07:44 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
I beleive that suggestion has been made in the suggestions forum already
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 18th, 2010, 12:55 AM   #17 (permalink)
Member
Verified Customer
 
Join Date: Jun 2002
Location: Great Lakes
Posts: 280
Bob, a bit late to reply so I'm sure you've long since already done this, but If you search a bit further down in the code of showframe.php you'll see the right more link is called with a hard coded 20. So if you change 7 per row to 5 per row and have 3 rows, you can change that 20 to a 14 the the right more >> link will now appear again.
boatdesign is offline   Reply With Quote
Old June 29th, 2010, 05:34 PM   #18 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2010
Posts: 24
I got it - thanks.
myphotospace is offline   Reply With Quote
Old June 30th, 2010, 01:51 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
yes several posts in this thread on how to change things code wise.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 11th, 2010, 07:20 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Mar 2008
Posts: 73
This is ridiculous... I have done all of the above and the more >> on the right *still* disappears... I cannot *wait* until vBulletin improves their albums to include galleries/categories... everytime we do an upgrade the same stuff that didn't work in previous versions *still* doesn't work in the upgrade. unbelievable.
scraporchard is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I reduce Admin emails ? gholsie Photopost Pro How Do I...? 3 October 14th, 2008 06:50 PM
Number of thumbnail columns in Member Profile digidivakathy Photopost Pro How Do I...? 7 August 4th, 2008 08:47 PM
photo previews Ricsca Photopost Pro How Do I...? 5 November 5th, 2007 03:39 PM
reduce number of previous and next preview images from 5 to 4 or 3 Silver_2000 Photopost Pro How Do I...? 0 December 30th, 2006 11:33 AM
Photo Previews and Number of thumbnails kisii Photopost Pro How Do I...? 2 April 18th, 2005 12:14 PM


All times are GMT -5. The time now is 01:42 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0