MyBB Hacks

Full Version: Article Gallery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
hmmmm, how is he adding the images? Are they attachments? You know, when you do insert to page? because I THINK this plugin is looking for IMG code. And there is no IMG code when you do the attachment thing.
No, this particular post is all IMG tags...

The new version of this plugin is supposed to look for uploaded attachments as well but this post is all IMG tags.
I've never use the plugin before.
Do you want to try with css?
Well, thats a bugger. Maybe the XThreads template script (or whatever magic it is) is just not picking up on the fit to page. We need Zinga...
I'll try anything!  I have to get these images resized...

Will CSS apply too IMG tags as well as uploaded attachments?  I'd also like to be able to apply resizing to my ProPortal.
Hmm, I did try a trick - try changing the post_body img in your css - set it to 1.4 em.

See what you get....

Code:
.post_body img {
	max-width: 1.42em;
}

Try this:

Edit your atcgal_showthread template.

Add this style before the </head> tag in the template:

HTML Code
<style type="text/css">
.atcgal_fp img{max-width: 400px;}
</style>


Find (around line #35 - #37):

HTML Code
<div>
	{$first_post}
</div>


Change it with:

HTML Code
<div class="atcgal_fp">
	{$first_post}
</div>


Clear your cache.

(12-15-2010 01:58 AM)leefish Wrote: [ -> ]Hmm, I did try a trick - try changing the post_body img in your css - set it to 1.4 em.

See what you get....

Code:
.post_body img {
	max-width: 1.42em;
}


Hmmm...not finding: post_body img

Where did you find it?
(12-15-2010 02:03 AM)RateU Wrote: [ -> ]Try this:

Edit your atcgal_showthread template.

Add this style before the </head> tag in the template:

HTML Code
<style type="text/css">
.atcgal_fp img{max-width: 400px;}
</style>


Find (around line #35 - #37):

HTML Code
<div>
	{$first_post}
</div>


Change it with:

HTML Code
<div class="atcgal_fp">
	{$first_post}
</div>


Clear your cache.

Should I take the fitonpage script out?
That worked, RATEU!  The only thing missing is the ability to click on the images to see full size versions.  is there any way to work that into this?  I know, I'm pushing my luck now!  LOL!  It's just that this is a technical forum and members need to see good quality, large images for the tutorials, but I don't want to sacrifice my margins to do so!
Yea, I made post body img....I have a lot of themes running on one template set, so I tend to NOT use inline styles. Have you tried the lightbox plugin? That adds a lightbox to your images...
I haven't tried lightbox...are you using it?  Where can I find it to download?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Reference URL's