Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Article Gallery
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #71
RE: Article Gallery
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.


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 12-15-2010 01:47 AM by leefish.)
12-15-2010 01:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #72
RE: Article Gallery
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.

[Image: gallery_2_628_39582.jpg]
12-15-2010 01:49 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #73
RE: Article Gallery
I've never use the plugin before.
Do you want to try with css?

12-15-2010 01:54 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #74
RE: Article Gallery
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...


[Image: leelink.gif]
MYBB1.6 & XThreads
12-15-2010 01:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #75
RE: Article Gallery
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.

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-15-2010 02:00 AM by RocketFoot.)
12-15-2010 01:55 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #76
RE: Article Gallery
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;
}



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 12-15-2010 02:00 AM by leefish.)
12-15-2010 01:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #77
RE: Article Gallery
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 02:03 AM
Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #78
RE: Article Gallery
(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!

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-15-2010 02:15 AM by RocketFoot.)
12-15-2010 02:03 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #79
RE: Article Gallery
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...


[Image: leelink.gif]
MYBB1.6 & XThreads
12-15-2010 02:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
RocketFoot Offline
Senior Member
****
Posts: 338
Joined: Jul 2010
Post: #80
RE: Article Gallery
I haven't tried lightbox...are you using it?  Where can I find it to download?

[Image: gallery_2_628_39582.jpg]
(This post was last modified: 12-15-2010 02:29 AM by RocketFoot.)
12-15-2010 02:16 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: