News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Responsive Curve

Started by SMF Customization Team, April 20, 2015, 06:33:49 AM

Previous topic - Next topic

landyvlad

"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

landyvlad

My users have noted that viewing the forum from a number of various devices (ipads, surface pros etc) that images don't size to fit the screen... but stay large and require 'scrolling sideways' to view - which is far from ideal.

This happens both with attachments and images from the gallery (in this case SMF Gallery pro).  Is there something I can do so that images resize to suit when being viewed from mobile devices?  Thank you !
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

br360

Your forum may now be responsive with this mod, but the gallery mod itself is not responsive so images posted in the gallery might not fit properly or make other aspects of your forum look a little out of whack.

Since you purchased the gallery pro, your best bet would be to ask for help on the smfhacks site. See if they are working on a responsive gallery or may be able to give you some advice on how to get the pics to fit on the page better

landyvlad

Thanks mate, I have done exactly that !  Cheers.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

landyvlad

OK so further to the above and separate to the gallery issue - the theme is NOT resizing attachments (photos) to fit on the screen (on non-PC devices).  Can anyone help? Maybe there's a setting I've missed somewhere?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Illori

is the issue with the previews in the topic or the full size attached image? if with the full sized attached image, that is something this mod cant really control.

landyvlad

Illori I'm not sure exactly what you mean by 'previews' in the topic?

The issue is that if someone does an attachment to a post, and its then viewed on a mobile device, it requires scrolling.  And makes it a but 'user unfriendly' from that point of view.

So in answer to your question I suppose it's the latter.

Any work around that anyone can think of ?

"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Illori

there is a thumbnail on each post when an image is attached, you are talking about the full size image that is shown when the attached image is clicked on. as far as i know there is not a workaround for this issue.

landyvlad

Sort of. I have the 'thumbnails' set to a larger size at member request.
Cheers anyway, I'm looking at another option at the moment involving thumbnails and seeking input from my members. Cheers.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Antes

Quote from: landyvlad on January 31, 2017, 08:00:34 AM
Sort of. I have the 'thumbnails' set to a larger size at member request.
Cheers anyway, I'm looking at another option at the moment involving thumbnails and seeking input from my members. Cheers.

Try this;

Code (Find) Select
.signature, .attachments
{
width: 100%;
margin: 1em 0 0;
padding: 1em 1em 3px;
box-sizing: border-box;
}

Code (Replace with) Select
.signature, .attachments
{
max-width: 100%;
max-height: 100%;
margin: 1em 0 0;
padding: 1em 1em 3px;
box-sizing: border-box;
}
.attachments a img {
max-width: 100%;
max-height: 100%;
}

landyvlad

"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

br360

Yes, that's the file to find that code.

landyvlad

OK I looked in that file and what is there is:


.signature, .attachments
{
width: 98%;
overflow: auto;
clear: right;
padding: 1em 0 3px 0;
border-top: 1px solid #aaa;
line-height: 1.4em;
font-size: 0.85em;
}


I haven't done any manual changes to this file, to date.

The only mods which I can imagine MIGHT be affecting this / have made those changes are:
SMF Gallery Pro
EZPortal
Automatic Attachment Rotation

but I don't even think they would....

In attachment settings I have:
QuoteDisplay image attachments as pictures under post (tick)
Resize images when showing under posts (tick)
Save thumbnails as PNG (tick)
Maximum width of thumbnails  800
Maximum height of thumbnails 600

Thoughts?


"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

GL700Wing

I've just installed this mod on a brand new SMF 2.0.14 installation (no other mods) and, as per the image below, the details in the 'Last Post' column are missing in the board view, the text for the 'Pages' count at the bottom of the board view is much larger than the 'Pages' count at the top, and the text for the 'Locked Topic', 'Sticky Topic' and 'Poll' indicators is much larger than the text for the 'Normal Topic', 'Hot Topic', etc.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

GL700Wing

Quote from: GL700Wing on May 26, 2017, 09:01:03 PM
I've just installed this mod on a brand new SMF 2.0.14 installation (no other mods) and, as per the image below, the details in the 'Last Post' column are missing in the board view, the text for the 'Pages' count at the bottom of the board view is much larger than the 'Pages' count at the top, and the text for the 'Locked Topic', 'Sticky Topic' and 'Poll' indicators is much larger than the text for the 'Normal Topic', 'Hot Topic', etc.
Forgot to mention this is only happening on mobile phones.
Life doesn't have to be perfect to be wonderful ...

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

BYUFanatic

Quote from: GL700Wing on May 26, 2017, 09:01:03 PM
I've just installed this mod on a brand new SMF 2.0.14 installation (no other mods) and, as per the image below, the details in the 'Last Post' column are missing in the board view, the text for the 'Pages' count at the bottom of the board view is much larger than the 'Pages' count at the top, and the text for the 'Locked Topic', 'Sticky Topic' and 'Poll' indicators is much larger than the text for the 'Normal Topic', 'Hot Topic', etc.

I have that issue too. When viewing the forum on my phone I see the categories and the boards, but no last posts.

Arantor

Of course you won't see the last post in a board, it's removed because there's a lack of room on the screen to display it. That's kind of what responsive means...
Holder of controversial views, all of which my own.


BYUFanatic

Quote from: Arantor on July 21, 2017, 02:27:38 AM
Of course you won't see the last post in a board, it's removed because there's a lack of room on the screen to display it. That's kind of what responsive means...

They can make room under the board titles. Without seeing those last posts the user has to click on each board title to see what new messages are posted. Very time consuming.

Arantor

They could, if it weren't for trying to be compatible with all the variations of Curve out there, plus the way CSS interacts with tables (as the board index is a table) and browsers don't particularly like making tables be not table, IE especially.
Holder of controversial views, all of which my own.


BYUFanatic

Quote from: Arantor on July 21, 2017, 03:23:14 AM
They could, if it weren't for trying to be compatible with all the variations of Curve out there, plus the way CSS interacts with tables (as the board index is a table) and browsers don't particularly like making tables be not table, IE especially.

So which is it? Lack of space (your first response) or incompatibility issues (your second response)?

In any case, I'm interested in hearing from the author of the mod as to whether they can put the last post in below each board. if the regular display can handle it I don't see why they can't incorporate it into the mod.

Advertisement: