|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
I haven't upgraded yet, hope to soon.
I had a couple questions I was wondering about...
With the new Responsive Design in 7.6 will I be able to set a Max Width without any problems?
Will existing images included in posts using [img] tags automatically be resized?
Bill
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
With the new Responsive Design in 7.6 will I be able to set a Max Width without any problems? For each style which you want to have a max-width set to, add this to the EXTRAS section at the bottom: #content{margin:0 auto;max-width:1050px;} Adjust the "1050px" to your preferred value. The "auto" part of the margin property will center the forum on the page. Will existing images included in posts using [img] tags automatically be resized? Images within the post will also automatically be resized to never display larger than the width of the post. Even hot-linked images should be resized for you forum.
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
Leme try another... How about linked images included in Custom Islands?
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
IIRC, stock islands in the side columns do not display post content, just post titles.
The portal page's "news" and "Topics" uses the same rules for displaying images as posts use. So any images within them, will also be reduced to fit correctly in their post containers.
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
When you configure a Gallery Island you'll have the option "Number of Thumbnails To Display", I believe the default value is 5 images.
Last edited by Gizmo; 03/10/2017 11:50 PM.
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
I meant the Custom Island Inserts that can be shown between 1st and 2nd post in a thread.
|
|
|
|
Joined: Jun 2006
Posts: 16,292 Likes: 116
|
Joined: Jun 2006
Posts: 16,292 Likes: 116 |
The custom island insert is basically just a custom island, there aren't any images in it, but you could put them in it I guess.
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
I meant the Custom Island Inserts that can be shown between 1st and 2nd post in a thread. If you are going to use images within these sections, you could add to the img tags within your custom inserts, the same tag that you might add to your header images. https://www.ubbcentral.com/forums/u.../re-image-resizing-for-mobile#Post259147
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
I put Banners in them. Not sure of proper terminology, but I just use html?
|
|
|
|
Joined: Apr 2004
Posts: 1,945 Likes: 145
|
Joined: Apr 2004
Posts: 1,945 Likes: 145 |
You could use this example img html for your custom image inserts. (its the same as what was previously linked to) EXAMPLE: <img src="image.jpg" alt="EXAMPLE.com Image" style="width:1050px; max-width:100%; height:auto;"> If they are ad banners served from a third-party such as Google Adsense, update your code to their responsive ad unit https://support.google.com/adsense/answer/3213689?hl=en
|
|
|
|
Joined: Mar 2007
Posts: 285 Likes: 1
Enthusiast
|
Enthusiast
Joined: Mar 2007
Posts: 285 Likes: 1 |
I'm showing my own Banners currently. Thanks for the info.
|
|
|
|
|