typo3 Resize image with image adjustment - typo3-6.2.x

When I change the Image adjustment width in the backend, the frontend image keeps the default width.
How to enable this option?
Using typo3 v6.2.4 - Bootstrap package

According to this article selecting Default img-tag in Rendering-type for responsive images constant should solve the issue.

TYPO3 by default max width is 600px, thing you need to do is overwrite in TypoScript: setup.ts
tt_content.image.20.maxW = 1920
tt_content.image.20.maxWInText = 1920
This may be useful for other people!
Cheers!

Related

React Native max value for font scaling

I'm aware that I can disable font scaling globally in my React Native app by putting Text.defaultProps.allowFontScaling = false in the constructor of the root component (i.e. in the root index.js or App.js file). However, is there a way to allow a max value for scaling, instead of disabling it completely?
I've tried adjustsFontSizeToFit = true thinking it would prevent text from scaling up to really large sizes (which it does), but now all the text becomes too small and it breaks the styling of the app.
I've tried using minimumFontScale in combination with adjustsFontSizeToFit above, since according to the docs, minimumFontScale "specifies smallest possible scale a font can reach when adjustsFontSizeToFit is enabled." I set this value to 1.0 but the text still scales up to a ridiculously unreadable size (for example, if the "Larger Accessibility Size" is enabled in iOS and set to max scale) and setting it to a lower value (for example 0.25) allows the text to fit reasonably in my app, but the spacing and relative sizing becomes broken.
It would be nice if the text would remain it's default size, and still be allowed to scale up with "Accessibility Size" enabled in iOS, but only to a certain point–is there a way to achieve this?
In react native 0.58+ you can use the new prop maxFontSizeMultiplier inside the Text Component https://facebook.github.io/react-native/docs/text#maxfontsizemultiplier
You can use
allowFontScaling={false}
along with
Math.min(PixelRatio.getFontScale() * yourFontSizeBase, yourFontSizeBase)
to limit the max font size.

Dynamic font size with iPhone app

I am doing a chat application. I have implement all views using frame. Now i need to implement dynamic font size i.e app should be resize its frame with respect to font in settings. If some one have any idea about that then please help me out ?
Thanks.
A proper use of Size classes and Auto Shrink property will get you through.
You'll get the best explanation here

Titanium: ImageViews with remote images not showing as Retina

Using SDK 3.5.1 currently
I have some remotely hosted images that I am loading into my ImageViews. I have hires:true already set.
Here is the code I'm using:
var hasattachesThumbIcon = Ti.UI.createImageView({
width:96,
height:'auto',
top:6,
bottom:6,
right:10,
image:hasattachesThumb,
defaultImage:'/icons/placeholder_big.png',
hires:true,
});
I think the issue is that I'm not explicitly setting the height of the image. The reason is that the images are of all different sizes and aspect ratios, my only requirement is that they should fit into a block measuring 96 pixels, so i've set it as such.
Any ideas?
Thanks!
Are you trying to test 2X or 3X images? If you are trying 3X images then hiRes will not work as the support is still not present. Also as suggested by Mark, change from auto to Titanium.UI.SIZE, as auto has been deprecated. Also can you confirm whether the default image is getting displayed till the remote image is being downloaded?

Are there specific settings I need to use when preparing images for use with custom UITabBarItem's?

I'm using free images off of iconfinder and they work fine. However I couldn't find a specific image so had to find the image elsewhere.
Anyway the image was an incorrect size so I resized it in photoshop.
I added the image to the images.xcassets folder and used the image for the uibarbuttonitem.
The image has come out as a grey square box.
Highlighting works but all I see is a box.
Am I missing something here?
Would appreciate some help thanks.
Make sure the image is a PNG. What is the size of the image you are using?
Apple's iOS HIG
I had to change a setting in photoshop. When saving the photo I had to make sure interlanced was chosen.

How to Resize (to bigger) an image using slimbox2

I would like to resize an image using image gallery with slimbox2.
My original images are 400 px of width but i would like to show them with 600 px of width at least.
I already tried to explore the css files or the js files but until now i haven't figured out how to do it so i would appreciate any help on this matter.
Thank you
Unfortunately it is not possible. I did not design Slimbox 2 to allow resizing images. It's a very simple implementation.