![]() |
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? |
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. |
To show only the top level categories in admin index options set the catdepth to 0 |
Thanks a lot guys, that did the trick :) |
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. |
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. |
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 |
That worked! Ya'll the best. Can't wait to launch, to show everyone.B=0 |
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. |
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 |
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. |
depending on your thumbnail size yes |
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. |
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 |
Quote:
Quote:
:) 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. |
1 Attachment(s) Quote:
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. |
Quote:
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! |
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 |
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. |
Quote:
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