Welcome Guest Search | Active Topics | Log In | Register

2 Pages <12
PxCad Forum Options · View
Neven
#16 Posted : Thursday, August 28, 2008 4:00:03 PM

Rank: YAF MVP



Joined: 11/26/2004
Posts: 509
Location: Zagreb, Croatia
plozzman wrote:
Neven wrote:
plozzman wrote:
test2005 wrote:
plozzman wrote:
test2005 wrote:

What effect does an image width greater than 550 have?


If the image is wider than 550 pixels it gets shown as a link. The user can click this link to download or view it.


Now that is too cool! Wanna share the code you used to implement this??? Cheesy Grin Cheesy Grin

Razz



There's no code there as such test2005, the only thing I have change on the forum is the theme & it lives in an iframe.

The width of the iframe sets the width of the image.Smile

You can't do that with css only.
Let's recapitulate;
Test wanted to know what happens if someone tries to put inline image using [img] tag that is wider than IFRAME.
You said that in that case image is not shown, and instead you get only a link to the image.
Now, you don't need to share the if you don't want to, but to do what you described, you need an additional code outside the theme.


Neven, sorry but there is no additional code to be had.
Are you saying this can't be done will the standard version of YAF, you may have to rethink that.
I have not altered the source code of my installation in anyway. It is a bog stock copy of version 1.9.1.7 running from a web page in an iframe.


Plozzman, sorry, but your forum is not behaving as you tokd it would.
I opened a test topic (fell free to delete it at your will) with a large photo.
Nothing happened. The photo itself was displayed - not the contents of its src attribute
+ scrollbars appeared.
Neven attached the following image(s):
ss-2008-08-28.jpg
... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
test2005
#17 Posted : Thursday, August 28, 2008 7:54:09 PM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy
That's the default "YAF behaviour" displayed there. Neven is right, CSS only would not "hide" an over-sized photo. Gotta be some AJAX in there somewhere!

.....the man in black fled across the desert..........and the gunslinger followed.....

plozzman
#18 Posted : Friday, August 29, 2008 3:58:41 AM
Rank: Member




Joined: 3/12/2008
Posts: 29
Location: Australia
test2005 wrote:
That's the default "YAF behaviour" displayed there. Neven is right, CSS only would not "hide" an over-sized photo. Gotta be some AJAX in there somewhere!



There has been a bit of a misunderstanding here I have been talking about file attachments not the [img] tag.


Neven
#19 Posted : Friday, August 29, 2008 6:48:35 AM

Rank: YAF MVP



Joined: 11/26/2004
Posts: 509
Location: Zagreb, Croatia
plozzman wrote:
test2005 wrote:
That's the default "YAF behaviour" displayed there. Neven is right, CSS only would not "hide" an over-sized photo. Gotta be some AJAX in there somewhere!



There has been a bit of a misunderstanding here I have been talking about file attachments not the [img] tag.



Idea OK NP We're cool. It happens.

... But trust me on the sunscreen!

test2005 wrote:
There not bugs(in YAF)...it's either un-defined features or exceptions to expected behavior!!
test2005
#20 Posted : Saturday, August 30, 2008 1:11:40 AM

Rank: YAF MVP



Joined: 2/12/2005
Posts: 923
Location: Italy
Here I was all excited about a possible solution to this very irritating YAF "feature"!!!!

Sad

Bummed!
.....the man in black fled across the desert..........and the gunslinger followed.....

Users browsing this topic
Guest
2 Pages <12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.166 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET