PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Modifying the index (http://www.photopost.com/forum/photopost-pro-how-do-i/119692-modifying-index.html)

shadowdancer36 November 22nd, 2005 10:52 AM

Modifying the index
 
1 Attachment(s)
I'm trying to find a way to modfiy the index of pp once integrated with vbull.
If you take a look at the example I pointed out exactly what I'm trying to do. Could someone tell me if this is possible. If so where do i modify this?

Garrynz November 22nd, 2005 11:35 AM

Just turn off "Show Last Comments column on Index" and "Show Last Photo column on Index" in admin Index Options to remove the colums. To make the thumb nail larger open pp-inc.php find

$imgh = round( $thumbh / $scaleFactor ) * .5;
$imgw = round( $thumbw / $scaleFactor ) * .5;

change to

$imgh = round( $thumbh / $scaleFactor );
$imgw = round( $thumbw / $scaleFactor );

to make the size you have thumbnails set at or change .5 to .75 to make 3/4's the size etc.

not sure about your other question sorry.

Chuck S November 22nd, 2005 11:37 AM

To show only the top level categories in admin index options set the catdepth to 0

shadowdancer36 November 22nd, 2005 01:13 PM

Thanks a lot guys, that did the trick :)

shadowdancer36 November 22nd, 2005 09:22 PM

1 Attachment(s)
I might have spoke too soon. I'm having an issue with it showing up clearly. The pixels for the picture I want to show is: 210 x 100 (96 dpi) if that helps.

mtha November 23rd, 2005 03:25 AM

You can set thumbnails created bigger in admincp/Upload Photo Option.

"Thumbnail image max width and height in pixels"

If your thumbnail is too small, when you enlarge the small picture, it wont show up as good.

Chuck S November 23rd, 2005 07:06 AM

EXACTLY

If your enlarging the ratio it wont look good. Largest you want to go is 1 on that line

Make your thumbs larger by changing the size in admin upload options and then scan database rebuild thumbs and then make sure your ratio is no bigger than 1 as noted above

shadowdancer36 November 23rd, 2005 09:55 AM

That worked! Ya'll the best. Can't wait to launch, to show everyone.B=0

shadowdancer36 November 23rd, 2005 11:24 AM

One more tidbit, is it any way to localize the size of the thumbs on that index page alone? With me changing the values under upload photo option, it changes everywhere else. Which brings me back to the issue with my page being larger than my header. :eek: If that's not possible then I might have to do without.

Chuck S November 23rd, 2005 11:56 AM

thumbnail size is a global setting. You can always change how many thumbnails show in the feature photos block by decreasing the number of rows to fit your width if your using a small width for your site

shadowdancer36 November 23rd, 2005 01:06 PM

Yea, I considered that, but it's already at 3. It would look very weird to have it 2 col 2 row. I might have to expand outside the 800px barrier huh?
I'm still having some visibility problems with the thumbs. I've been messing around tryin to tweak here and there.

When creating them, what are the factors behind it?

For instance, do I size it to what I need it to be in photoshop first? Or should I let PP control all that based off the upload options? In the pp-inc.php file, what sorta math goes behind the scale factor? Maybe the combination of things is whats throwing me off. I did set it at 1 like u said, but still got disfigured thumbs. Not as bad, but not good either.

Chuck S November 23rd, 2005 01:18 PM

depending on your thumbnail size yes

mtha November 23rd, 2005 01:23 PM

Chuck,
In this case, I see a folder called "mini" in data/category folder, but havent seen its functioning.

if people can create a second "mini" thumbnail, at a different size, then he might be able to do what he want.

Anyway, that'd be far more in the coding, which might not be useful for many other members right now.

Chuck S November 23rd, 2005 01:27 PM

mini is for the catavatar's which you can set in upload options the rotate variables and it will create a mini and use that versus the thumbs

Now I beleive his issue is with the feature thumbs.

He could set mini's up and see how that works ;) but I think he was trying to go the opposite way away from being small to large

If I am wrong here let me know but thats how I read this

mtha November 23rd, 2005 01:29 PM

Quote:

Yes but alot more coding though
I know, that's why i just give out the idea, but not recommend


Quote:

Originally Posted by shadowdancer36
One more tidbit, is it any way to localize the size of the thumbs on that index page alone? With me changing the values under upload photo option, it changes everywhere else. Which brings me back to the issue with my page being larger than my header. :eek: If that's not possible then I might have to do without.


:) well, or you can do the reverse thing


Photopost used to have thumbnail created, and then the icon in homepage is smaller (as Chuck mention above).

Now, you can create a bigger thumbnail (setting in admincp), display in index as you want (you may already know how to do this), and specify the displayed thumbnail size smaller (say x 0.5)

it should be done just as easily as the other one.

shadowdancer36 November 23rd, 2005 01:33 PM

1 Attachment(s)
Quote:

Originally Posted by Chuck S
depending on your thumbnail size yes

So the original file size has nothing to do with it? Just want to be clear on what I need to leave alone. Between the pp-inc.php and the upload option I need some balance.

Maybe if I send you guys the image itself, then you can see what i mean. I'll attach the pic i want there to this post. I hope I'm not confusing everyone :( If you want to see the original example, it's on the first post.

shadowdancer36 November 23rd, 2005 01:42 PM

Quote:

Originally Posted by mtha

Now, you can create a bigger thumbnail (setting in admincp), display in index as you want (you may already know how to do this), and specify the displayed thumbnail size smaller (say x 0.5)

it should be done just as easily as the other one.


Okay...(I'm so slow today) Whatever the size I set in photo options, I can can show a certain percentage of that photo in the index thumbnail by adjusting the scale factor? So if I say, I want my thumbs to be 170px. Then I set my scale to .75 then it'll show 3/4 of the 170px? (lol) Geewiz, when I finally get this, I owe u guys big time!

Chuck S November 23rd, 2005 01:42 PM

Well there are several was to do things.

I beleive you have upped your thumbnail size and I suggest as mtha suggested you can leave the default code in place with catavatar being .5 and edit nothing

You can leave your thumbs say at 100 and make the code change as GarryZ suggested to say .75 from .5

You can try setting up the mini setting in upload options and see how that works.

Anything outside the first and last is code editing. The second of course is a small edit any other ideas would involve more code changes.

I guess it is all in what specifically you are trying to achieve

Chuck S November 23rd, 2005 01:48 PM

Exactly we posted at the same time but yes your catavatar is normally in the coding .5 HALF of the thumbnail size. You can make the minor edit noted in post 2 to be whatever you want it to be.

shadowdancer36 November 23rd, 2005 02:59 PM

Quote:

Originally Posted by Chuck S
Exactly we posted at the same time but yes your catavatar is normally in the coding .5 HALF of the thumbnail size. You can make the minor edit noted in post 2 to be whatever you want it to be.

Okay gotcha! I had to put the scale factor at 1. That's the only way I was gonna get a clear picture unfortunately. It had to be the same size as the thumbnail itself, otherwise it distorted the text on the photo.

Thanks guys! :D


All times are GMT -5. The time now is 04:44 AM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97