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 November 1st, 2006, 03:06 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 44
Change the number of navigation thumbs

After the upgrade to pp5.5 the ajax technology provides a very nice row of thumbs with which you can navigate through the photo's in an album. But after the upgrade this row of thumbs (I placed it on the right side) consist of 7 thumbs. That is a little bit to much...I prefer to show only 5-6 photo's to prevent a lot of scrolling before you reach the comment fields. Can I somewhere change the amount of shown thumbs??
wfcmod is offline   Reply With Quote
Old November 1st, 2006, 04:53 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
where are you talking index or showphoto please provide an explicit link To my knowledge it is 6 photos max
__________________
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 November 2nd, 2006, 12:54 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 44
I'm talking about the showphoto, it shows 7 thumbs on the right side. Just have a look at my site at:
http://www.webfotoclub.nl//showphoto.php?photo=1523
wfcmod is offline   Reply With Quote
Old November 2nd, 2006, 10:26 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
http://www.reeftalk.com/gallery/showphoto.php?photo=839

I guess we need to know why you display more than 5. Did you alter your code at all?

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 November 2nd, 2006, 11:23 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 44
I changed some of the code in showphoto but only in those phrases were the user info under the photo is set (I removed usertitle etc, just to clean up the view)...
I think the code you are referring to is the same...this is a copy directly from my server:
Quote:
while ( $thisrec = mysql_fetch_row($rows) )
{
if ( is_image_private($thisrec[2]) == "no" )
{
if ( $thisrec[0] == $photo )
{
for( $x = count($stripimgs); $x < 3; $x++ )
{
array_unshift( $stripimgs, null );
}
$stripimgs[] = $thisrec;

// Grab two more (if there)
$exc = 0;
while ( $nextrec = mysql_fetch_row($rows) )
{
if ( is_image_private($nextrec[2]) == "no" )
{
$stripimgs[] = $nextrec;
$exc++;

if ( $exc == 3 )
{
break;
}
}
}
break;
}
else
{
$stripimgs[] = $thisrec;

if ( count($stripimgs) == 4 )
{
array_shift($stripimgs);
}
}
}
}
wfcmod is offline   Reply With Quote
Old November 2nd, 2006, 03:40 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
Well the reason I ask if you have hacked things is because we only pull 5 images as seen in the code.
__________________
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 November 3rd, 2006, 07:41 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2006
Posts: 44
I used beyond compare to check the server version of showphoto.php and showphoto.tmp: no differences. Which other files should I check for this issue?
wfcmod is offline   Reply With Quote
Old November 3rd, 2006, 09:04 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
well it only seems to be an issue with showframe and using the ajax and I will look into it although I will be darn if I see where the issue is since we count to 3 and grab 2 more if there are more which equals 5.
__________________
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 November 3rd, 2006, 12:58 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 67
Hi,

How exactly can I hack the code so that I only show 3 or 4 photos? I do not want to pull any extra photos but still want them to be able to use the arrows to view any other photos available.

Thanks

Rick
disciple1 is offline   Reply With Quote
Old November 3rd, 2006, 02:45 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,662
It is suppose to pull 5 and you can turn the next prev on or off in admin showphoto options.
__________________
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
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
RP311 - Change Number of Products per Page InterFX ReviewPost How do I...? 6 February 20th, 2010 01:15 PM
Changing Page Number Navigation color? starfish Classifieds How do I...? 1 October 11th, 2006 09:09 AM
how do i change thumbs? 420 Photopost Pro How Do I...? 7 April 1st, 2006 08:17 PM
Change number of thumbnails per page motors General Discussion 3 July 4th, 2004 09:27 PM


All times are GMT -5. The time now is 04:29 PM.

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