 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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.
|
| |
December 21st, 2009, 05:38 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
showframe.php  thats the ajax script and there is similar code in that file
|
| |
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,
|
| |
January 30th, 2010, 06:43 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Feb 2007
Posts: 316
| Quote:
Originally Posted by motowebmaster 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?
|
| |
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.
|
| |
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
|
| |
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?
|
| |
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.
|
| |
January 31st, 2010, 08:43 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Well the column is the rowI guess one could say.
|
| |
February 1st, 2010, 09:32 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Aug 2002
Posts: 278
|
Got your rank confused with your file? |
| |
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.
|
| |
February 1st, 2010, 10:27 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
I will look at your other thread.
|
| |
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.
|
| |
February 5th, 2010, 10:25 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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!
|
| |
February 5th, 2010, 07:44 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
I beleive that suggestion has been made in the suggestions forum already |
| |
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.
|
| |
June 29th, 2010, 05:34 PM
|
#18 (permalink)
| | Junior Member Verified Customer
Join Date: Jun 2010
Posts: 24
|
I got it - thanks.
|
| |
June 30th, 2010, 01:51 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
yes several posts in this thread on how to change things code wise.
|
| |
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:42 AM. | |